john-science / slowloris

A DIY-LISP.
5 stars 3 forks source link

Do multistep programs work? #11

Closed john-science closed 9 years ago

john-science commented 10 years ago

Will this work, or are you blocking it for more complicated programs?

(+ 1 2)
(- 3 9)
(something 3 4)

I am worried that my evaluator will truncate the above program and only return 3 from the first line.

john-science commented 10 years ago

The real problem I'm having is putting a lambda expression inside another lambda. I think this could be a problem with the eval_define function inside evaluator.py.