3 ms·
Except you can express the higher order structure in s-expressions too, and using an AST usually means expressing it as a different syntax than the other parts
by ijk 3mo ago
Except you can express the higher order structure in s-expressions too, and using an AST usually means expressing it as a different syntax than the other parts of your program.
Or maybe I've just been sleeping on the power of Javascript AST.
- gf000 3mo agoSo can you in binary! And that's more of a library ergonomics question how nice it is. There are plenty of other languages with nice ASTs and `eval`, and that's the only ingredient you need.