hs-logo icon indicating copy to clipboard operation
hs-logo copied to clipboard

Logo turtle graphics interpreter in Haskell

Results 15 hs-logo issues
Sort by recently updated
recently updated
newest added

`repeat 5100 [fd 10 rt arctan (remainder repcount 100) / 100]` Produces some bizarre output, which does not match the one at the Logo 15-word challenge page at all.

Currently use an evaluator which sits on top of ParsecT to do the heavy liftting of reading input. This task is to change the evaluator to avoid that.

- Enumerate all common errors - Find a way to robustly handle each of those error cases - Keep track of all line numbers, and make error messages indicate the...

parser
evaluator

Currently there are only types corresponding to Logo tokens. We also need a result type that will represent the outcome of evaluating an expression or result.

evaluator