Build your own Lisp.
This is just a small pet project following the fantastic tutorial @ Build your own Lisp
Now with a docker automated build. See the registry for details.
- change directory into
./docker - run:
build(need superuser) - run:
run(need superuser)
- run:
make - run:
make install(needs superuser) - run:
./bin/lispyorlispy
- ctrl-a: Go to start of line.
- ctrl-e: Go to end of line.
- ctrl-w: Delete previous word.
- ctrl-u: Delete whole line
- ctrl-b: Move cursor left
- ctrl-f: Move cursor right
- ctrl-p: Previous history entry in-line
- ctrl-n: Next history entry in-line
The standard library is loaded by default. The other libraries have to be loaded manually, or through the environmental settings file.
Settings should be stored in LISPY_DEFAULT environment for automatic load on startup.
cp defaults.lspy.example ~/.defaults.lispy
export LISPY_DEFAULT=~/.defaults.lispy- Daniel Holden for making this fantastic tutorial. Code here
- Salvatore Sanfilippo for making his snappy readline alternative
