astmaker — A DSL in Rust for programming language designers
4 min readMay 17, 2023
While working on Letlang, I’ve had to design its AST with the Rust type system, which is a damn good fit for that use case!
Then, I started writing tree-walking algorithms to walk through that AST during the different phases of compilation (scope analysis, code…