3 ms·
Do you have any books/online courses recommendations for learning what you just described?
by noob_eng 4y ago
Do you have any books/online courses recommendations for learning what you just described?
- tetha 4y agoA lot, if not all of this, was based on the Dragon Book[1] https://en.wikipedia.org/wiki/Compilers:_Principles,_Techniques,_and_Tools https://en.wikipedia.org/wiki/Compilers:_Principles,_Techniq...
- bb88 4y agoA lot of people build toy languages too -- to the point that some become self hosting. But there are also just an absolute ton of parsers out there to define a grammar and parse the language into an AST (Abstract Syntax Tree). Once you have an AST then you can build an interpreter that runs the code directly in a JVM, or you can build a compiler that translates AST into LLVM, say.
- cellularmitosis 4y agohttps://news.ycombinator.com/item?id=25388091 https://news.ycombinator.com/item?id=25388091