|
|
|
|
|
by ijk
20 days 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. |
|
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.