4 ms·
The opening chapters of Crafting Interpreters (http://craftinginterpreters.com/ http://craftinginterpreters.com/) deal with building a parser for a programming
by strangecasts 6y ago
The opening chapters of Crafting Interpreters (http://craftinginterpreters.com/ http://craftinginterpreters.com/) deal with building a parser for a programming language, and goes into challenges similar to what you're dealing with (e.g. maintaining state in the parser to separate comments from code).
- Maha-pudma 6y agoThat's perfect, might take me a while to get through but I'll definitely get going with it. This sort of thing really interested me. I know I'm not amazing programmer but I do like to understand how something works rather than just using a library. Much appreciated.