An experimental, unstable lisp (mal) dialect written in ReScript. WARNING: The code is a mess right now, but it works!
- Install the npm dependencies using
yarn
- Build the ReScript code using
yarn res:build
You can run a file using node run.mjs file.relisp
.
(def! a (atom 1))
(def! my-fun
(fn* [a]
(print @a)
(reset! a (+ @a 1))
(print @a)))
(my-fun a)