This PR has quite a few changes, the most notable being paren -> curly (because it just makes sense), syntax guards (ensuring semicolons/etc), strings implementation, conditional statements and the evaluator. The builtin functions len and rev have also been added (following from #169 - nice). The REPL has also been updated to reflect these changes and uses the evaluator instead of the parser. I've tried to keep things as clean as possible, here's what it looks like:
This PR has quite a few changes, the most notable being
paren
->curly
(because it just makes sense), syntax guards (ensuring semicolons/etc), strings implementation, conditional statements and the evaluator. The builtin functionslen
andrev
have also been added (following from #169 - nice). The REPL has also been updated to reflect these changes and uses the evaluator instead of the parser. I've tried to keep things as clean as possible, here's what it looks like: