-
Notifications
You must be signed in to change notification settings - Fork 8
A very simple Lisp (well, Scheme... ish) interpreter in Pascal
License
bobappleyard/pascal-lisp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a very very simple Lisp (well, OK, more like Scheme) interpreter, written in the Delphi dialect of Pascal. TO COMPILE: If you actually have Delphi, then I suppose you load up lispi.pas and compile that beasty. Otherwise, grab Freepascal (http://www.freepascal.org) and run fpc -Mdelphi lispi.pas Then under *nix run ./lispi I have rlwrap (http://utopia.knoware.nl/~hlub/uck/rlwrap/) because I'm too lazy to interface with readline myself, so I run rlwrap ./lispi Under Windows it would probably involve double clicking whatever came out of the compilation. NOTES: Iteration is achieved with tail recursion. There exists a means of adding syntax, in the form of define-macro. The actual syntactic forms there are pretty thin on the ground, but never mind.
About
A very simple Lisp (well, Scheme... ish) interpreter in Pascal
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published