~henesy/smolisp

A toy lisp-like language <wip>
run go(fmt vet)
add short circuit case for NIL in ingest() ;; clean up comments
improve errors ;; add tree illustration

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~henesy/smolisp
read/write
git@git.sr.ht:~henesy/smolisp

You can also use your local clone with git send-email.

#Smolisp

A toy lisp-like language implementation.

#Build

go build

#Usage

EOF exits the repl.

#Examples

$ ./smolisp 
» (+ 2 3)
5
» (+ (+ 3 (+ 2 3)) (+ 4 5))
17
»

#Specification

The syntax is as per S-expression where the form is:

(procedureName argA argB ...)

The implemented procedures:

+
-

The implemented keywords:

π
billion