4 ms·
Maybe try Nim. It's a statically typed compiled language and sports a macro system that allows for direct manipulation of the AST. If you don't need to write fu
by michaelsbradley 4y ago
Maybe try Nim. It's a statically typed compiled language and sports a macro system that allows for direct manipulation of the AST. If you don't need to write full blown macros, Nim also offers templates, which are a simpler form of Nim's macros: simpler to write, but not quite as expressive.
https://nim-lang.org/docs/manual.html#macros https://nim-lang.org/docs/manual.html#macros
https://nim-lang.org/docs/manual.html#templates https://nim-lang.org/docs/manual.html#templates