deepakjois / hs-logo

Logo turtle graphics interpreter in Haskell
http://deepakjois.github.io/hs-logo
BSD 3-Clause "New" or "Revised" License
19 stars 3 forks source link

Evaluation logic is awkward #40

Closed deepakjois closed 12 years ago

deepakjois commented 12 years ago

Currently the evaluation logic in Evaluator.hs is pretty awkward. This makes implementing control primitives like for a bit cumbersome. Here are some of the problems:

Here are some initial ideas to fix this: