D
David
Hi People,
I've just uploaded my updated version of the Lisp2Perl
translator/compiler - a generaly purpose program for 'compiling' lisp
programs (which look quite a bit like scheme programs) into efficient
perl code.
I've removed the 'include' system which tried to compile included files
if required and link everything up in the end (it didn't work very
well). Everything is much simpler and cleaner now. If you want
everything linked at the end (all the separate compiled lisp files) you
can do so easily enough ('cat' will do). This also gets rid of the
messiness of stripping macros since they are not needed at runtime -
nothing is stripped any more. It also now tracks lexical scopes so that
it can warn you of references to undefined variables (with
'(globals-check)'. It still needs work in this area.
I've been considering implementing a lisp2 version of it too - I started
(see misc/lisp2.scm in the tarball). It would probably make more sense.
http://www.hhdave.pwp.blueyonder.co.uk
I've just uploaded my updated version of the Lisp2Perl
translator/compiler - a generaly purpose program for 'compiling' lisp
programs (which look quite a bit like scheme programs) into efficient
perl code.
I've removed the 'include' system which tried to compile included files
if required and link everything up in the end (it didn't work very
well). Everything is much simpler and cleaner now. If you want
everything linked at the end (all the separate compiled lisp files) you
can do so easily enough ('cat' will do). This also gets rid of the
messiness of stripping macros since they are not needed at runtime -
nothing is stripped any more. It also now tracks lexical scopes so that
it can warn you of references to undefined variables (with
'(globals-check)'. It still needs work in this area.
I've been considering implementing a lisp2 version of it too - I started
(see misc/lisp2.scm in the tarball). It would probably make more sense.
http://www.hhdave.pwp.blueyonder.co.uk