Last update 2010/02/03
LAPIN is a dialect of lisp written in Java, which supports both interpreter and compiler. Some features (data types, functions, ...) given to LAPIN come from MACLISP, for one of the main goal of this project is to make the RABBIT compiler run under this lisp system.
ant distThis will create files for the binary distribution in the 'dist' directory.
bin/lapin.sh (for Unix) bin/lapin.bat (for Windows)in the 'dist' directory activates the REPL:
$ pwd /PATH/TO/LAPIN_PRJ/dist ('/PATH/TO/LAPIN_PRJ' denotes a path to the directory in which the source distribution is extracted.) $ bin/lapin.sh hello! ;;; Compiles (and loads) the .lisp file 'dist/examples/fib.lisp'. ;;; This will create a .fasl file 'fib.fasl' in the 'dist/examples' directory. USER> (load (compile-file "examples/fib")) T ;;; Calculates (fib 30). USER> (time (fib 30)) elapsed time: 271[msec] 832040 ;;; type Ctrl-D to exit USER> ^D bye! $