femtolisp
femtolisp copied to clipboard
a lightweight, robust, scheme-like lisp implementation
These now compile without producing any warnings on a 64-bit system: ``` clang -Wall -Wextra -pedantic -std=c99 -o lisp lisp.c clang -Wall -Wextra -pedantic -std=c99 -o lisp-nontail lisp-nontail.c clang -Wall...
I started a maintenance fork of Femtolisp at [lambdaconservatory/femtolisp](https://github.com/lambdaconservatory/femtolisp). PRs merged so far: * #31 by @larsbrinkhoff * #57 by @krytarowski * #59 by me Anyone interested in maintaining Femtolisp,...
When running `julia --lisp` (so using Julia's version of Femtolisp) with this Scheme file: ``` scheme (define (longer-and-longer x) (let ((my-car (car x))) (set-car! x (cons my-car #f)) (longer-and-longer x)))...
``` gcc -O3 -DNDEBUG -Wall -Wno-strict-aliasing -c ios.c -o ios.o gcc -O3 -DNDEBUG -Wall -Wno-strict-aliasing -c dirpath.c -o dirpath.o gcc -O3 -DNDEBUG -Wall -Wno-strict-aliasing -c htable.c -o htable.o gcc -O3...
Hello, GitHub currently thinks some of the `.lsp` files are Common Lisp or NewLisp. This adds a `.gitattributes` file to change that to Scheme. This is also done for the...
$ make test cd tests && ../flisp unittest.lsp all tests pass
The following code leaks a as a global: ``` (define (func) (if #t (define a 5) )) ``` I could fix this by duplicating get-defined-vars from compiler.lsp (was used by...
Will it not build on OSX? ``` ~/Pork/femtolisp on master $ make gcc -O2 -DNDEBUG -falign-functions -Wall -Wno-strict-aliasing -Illt -DUSE_COMPUTED_GOTO -DLINUX -DARCH_X86_64 -DBITS64 -D__CPU__=686 -c flisp.c -o flisp.o gcc -O2...
I am running on Windows 7 64 bit using Cygwin. I receive the following error: ``` gcc -O2 -DNDEBUG -falign-functions -Wall -Wno-strict-aliasing -Illt -DUSE_COMPUTED_GOTO -c flisp.c -o flisp.o In file...
Running flisp segfaults on current master (71a1cb6f091796b398430a05850ae2b14d52ea05). OS is Ubuntu 12.10, 64 bit. Stacktrace: (gdb) run Starting program: /home/kamstrup/Projects/femtolisp/flisp fatal error: ( Program received signal SIGSEGV, Segmentation fault. 0x000000000040930b in...