ventuspilot@alien.topBtoLisp@communick.news•Readline setup for lisps (hyphenated completion, in particular)?English
1·
1 year agoI started with the infos from https://github.com/elahtrebor/RLWRAP-SBCL-LISP-COMPLETIONS and ended up with
alias jm='rlwrap -C jm -i -q'\''"'\'' -b '\''\(\)'\'' -f /mnt/c/robert/jmurmel/murmel.completions -f /mnt/c/robert/jmurmel/mlib.completions java -ea -jar /mnt/c/robert/jmurmel/lambda/target/jmurmel.jar --libdir /mnt/c/robert/jmurmel/samples.mlib'
for running my own Lisp on debian (actually Windows10/wsl/debian). If I enter (remove
and hit TAB
three times then rlwrap
will show me remove
and remove-if
so maybe that’ll help you.
I think the “Tools for going from the basic special forms into a full Lisp” are usually called “standard library”. Most if not all Lisps have them, and usually the standard libraries are written in Lisp, i.e. in the (simpler) Lisp that is implemented by the core.
I don’t think there are any “bring your own bootstrap” Lisp implementations that you will be able to use 100% unchanged. Since different Lisps will have different sets of basic special forms/ promitives the various standard libraries are not drop-in interchangeable, but there’s a lot of overlap. E.g. the function
list-length
of my own Lisp is almost identical to the code from CLtL2.I’d say write your own standard library for your Lisp, taking inspiration from others such as Lisp500 or maybe even my own Lisp’s default library.
Or skip the “write your own Lisp” part and integrate one of the embeddable Lisps into your platform.