Lisir is a simple lisp interpreter based on Peter Norvig's Lispy.
It currently supports the following forms: quote
, define
, set!
, if
, lambda
and begin
.
Some basic arithmetic and comparison operators are also available: +
, -
, *
, /
, <
, <=
,
>
, >=
and =
.
Lisir does very little to detect and report errors.
Install elixir, you can find how here.
$ git clone https://github.com/mrshankly/lisir
$ cd lisir
$ iex -S mix
iex(1)> Lisir.start
All files under this repository fall under the MIT License (see the file LICENSE).