Worsp is a minimal LISP interpreter written in C.
You can install the VSCode extension for syntax highlighting.
Please check https://marketplace.visualstudio.com/items?itemName=sosukesuzuki.worsp-vscode .
Run clang-format for all *.c
and *.h
files.
Build and run main program. It execute worsp program from a file.
make run-main WORSP_FILE="./tmp/fact.wsp"
Build and run main program via lldb.
make lldb-main WORSP_FILE="./tmp/fact.wsp"
Build test.c
and run it.
Build repl.c
and run it.
Run ./snapshot/fixtreus/*.wsp
files and checks and updates whether its standard output is equal to the one in ./snapshot/snapshot.json
.