3 ms·
Parsing and symbol resolution on simple languages is kinda trivial in my opinion, but I'll probably write some articles about that stuff later Control flow and
by sebastianmestre 3y ago
Parsing and symbol resolution on simple languages is kinda trivial in my opinion, but I'll probably write some articles about that stuff later
Control flow and pointers are coming in the next part, and it's still surprisingly easy
- phtrivier 3y agoIs memory / register allocation in your roadmap too ? (honest question, I'm not sure it's in the scope of your articles)
- sebastianmestre 3y agoRegister allocation is not on the roadmap, I think it's too hard for this series... But maybe I just haven't figured out an easy enough way to do it yet :^) Memory allocation? You mean making a heap allocator? In the spirit of lowering the bar for creating new languages, I lean more towards calling into libc's malloc instead of building a custom solution haha