Now it supports comments, file I/O, string-primitives, regular expression support and similar things:
https://github.com/skx/monkey/
Updating the lexer/parser/evaluator was nice and simple once you understand how the various parts hook together. The downside is that if you want to create a standard-library for your language you need to spend a lot of time on it.
Now it supports comments, file I/O, string-primitives, regular expression support and similar things:
https://github.com/skx/monkey/
Updating the lexer/parser/evaluator was nice and simple once you understand how the various parts hook together. The downside is that if you want to create a standard-library for your language you need to spend a lot of time on it.