3 ms·
A while back I was interested in learning more about programming compilers, so I checked this project out. I actually added array map, filter, reduce, and sort
by creatornator 8y ago
A while back I was interested in learning more about programming compilers, so I checked this project out. I actually added array map, filter, reduce, and sort methods to the language, which was fun and a learning process.
- evincarofautumn 8y agoThat’s great! You’re the kind of person the hobbyist programming language development community needs. I’d encourage anyone who’s interested in learning more about compilers to see how they can contribute to a new language—it’s a great learning experience, one less thing for the primary author to do (a programming language can be an enormous undertaking), and who knows, you may be helping to build the next big thing.
- stevekemp 8y agoI did the same thing recently, extending the "monkey" language which is introduced in "Writing An Interpreter In Go". Now it supports comments, file I/O, string-primitives, regular expression support and similar things: https://github.com/skx/monkey/ 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.