3 ms·
Yes, there's a reason compiler books start with parsing and building an AST. But I think studying Lua [1] or the Wren codebase [2] is still worthwhile, provide
by skybrian 9y ago
Yes, there's a reason compiler books start with parsing and building an AST.
But I think studying Lua [1] or the Wren codebase [2] is still worthwhile, provided you keep in mind that they're relatively simple languages that are designed to be both fast and embedded.
[1] https://www.lua.org/doc/jucs05.pdf https://www.lua.org/doc/jucs05.pdf
[2] https://github.com/munificent/wren https://github.com/munificent/wren