buzz-language / buzz

👨‍🚀 buzz, A small/lightweight statically typed scripting language
https://buzz-lang.dev
MIT License
1.15k stars 31 forks source link

Split up analysis AST from codegen AST #161

Closed giann closed 5 months ago

giann commented 10 months ago

Right now, AST nodes carry info for codegen and info for LSP. Split those so we generate leaner structs when actually compiling.

giann commented 5 months ago

Fixed by https://github.com/buzz-language/buzz/pull/247 Adding metadata to ast nodes should be relatively free thanks to MultiArrayList