On Thu, 2002-04-18 at 09:43, Raymond Toy wrote:
> How about if I create a directory src/slatec that holds all of the
> slatec routines, Fortran and Lisp? Then I can put in a readme or
> scripts that convert the Fortran to Lisp appropriately, without
> cluttering everything up.
Sounds good to me.
> Alternatively, defsystem can be told to
> automatically convert the Fortran code to lisp and compile up the
> result.
The only reason I don't like that is that it would add f2cl as a
dependency for the build. I think we are better off sticking to the
first approach.
> This is convenient for me because I've been pulling over just the
> needed routines one at a time, but they sometimes contain duplicated
> code. So I run fsplit on them, and save all of the individual files,
> and duplicates are ignored. Plus, some of the routines I think needed
> to be compiled slightly differently from the others due to the
> assumptions f2cl makes.
>
> This is all working for me right now with a suitably modified
> maxima.system for erf, j0, j1. jn needs a bit more work because the
> Fortran code uses an EQUIVALENCE statement that isn't really
> necessary.
Great. Keep up the good work.
--Jim