On Wednesday 14 Apr 2010 09:57:28 Dotan Cohen wrote:
> On 14 April 2010 09:25, Nadav Har'El <n...@math.technion.ac.il> wrote:
> > On Wed, Apr 14, 2010, Dotan Cohen wrote about "Re: Hebrew calendar 
software creators: can you notify this list when updating the calendar?":
> >> I meant in terms of actually generating that file. It looks like itwould
> >> need to be hand edited, which I can do once a year, but not for 200
> >> years
> > 
> > Why would it need to be hand-edited? Calculating the Gregorian dates of
> > the Jewish years can be completely automatic. First try to simply use
> > existing free software out there (e.g., hcal, luach) you can try looking
> > at its code, and at worst I can try to dig up the Jewish calendar code
> > that I once wrote but never published. But you shouldn't need to do
> > anything manually!
> 
> I agree with your assessment about hand-editing, but I wanted to be
> sure before I get in too deep. Send to me the code, I will try to get
> something useful out of it. Unless it's Perl. Don't send me Perl!
> 

I have some 16-bit Turbo C++ C source code to convert the Gregorian Calendar 
to the Jewish calendar here:

http://www.shlomifish.org/open-source/nostalgia/

It's MIT/X11, but will take some effort to adapt and I've found much more 
elegant code in C in the past on the Net (which during my work for Cortext Web 
Design, I translated into Perl 5, back in 1996ish. It was since lost.).  I 
think it was GPLed.

I also have versions of this code in COBOL.NET, Intercal, PDP-10 Assembly, J, 
APL, Windows NT 4.0 Batch script and Autocad Lisp - I'm sure you can handle 
all of them because none of them is Perl. ;-).

Perlfully and Painfully yours,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Freecell Solver - http://fc-solve.berlios.de/

Deletionists delete Wikipedia articles that they consider lame.
Chuck Norris deletes deletionists whom he considers lame.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to