4 ms·
Unquoting took me several implementations to wrap my head around and consistently get good enough. As did register allocation, which is more of a VM issue.
by codr7 2y ago
Unquoting took me several implementations to wrap my head around and consistently get good enough. As did register allocation, which is more of a VM issue.
- KineticLensman 2y agoInteresting. I'm about to start doing a MAL-like again, but this time (I used C# before) using Rust and building a VM as in Crafting Interpreters rather than following the MAL guide. Macros are one of the things that I anticipate being a challenge.
- dualogy 2y agoAFAICT, their expansion still happens during an interpretation cycle — but when you "interpret" AST into your byte-code.
- codr7 2y agoOr compile, since it's usually a transformation. I like to call that the emit phase, as in emitting byte code. The interesting thing is that it only happens once, before the code is evaluated.