emilywoods / emerald

💎 A Ruby language with Lisp syntax

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiling and evaluating simple numeric programs

emilywoods opened this issue · comments

An input .lisp file:

(* 2 (+ 5 7 22 (- 4 3) ) )

Should compile to:

2 * (5 + 7 + 22 + (4 - 3))

Which should evaluate to:

=> 70