Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 488 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 488 Bytes

ReLisp

An experimental, unstable lisp (mal) dialect written in ReScript. WARNING: The code is a mess right now, but it works!

Building

  • Install the npm dependencies using yarn
  • Build the ReScript code using yarn res:build

Running files

You can run a file using node run.mjs file.relisp.

Examples

(def! a (atom 1))

(def! my-fun
  (fn* [a]
    (print @a)
    (reset! a (+ @a 1))
    (print @a)))

(my-fun a)