3 ms·
Lisp has the property that the 'AST' is effectively 1:1 with the program code. In Algol-descended languages like C, Java etc, the expression tree can look quit
by cmrdporcupine 5y ago
Lisp has the property that the 'AST' is effectively 1:1 with the program code.
In Algol-descended languages like C, Java etc, the expression tree can look quite structurally different from the program due to precedence rules etc.
I think a tree-style editor for a more conventional PL would have to apply some transformations on the AST for display purposes, for programmer comfort.
- jhgb 5y agoThere's not really a lot of difference between Algol descendants and Lisp in this case if you look at problem as one of building a projectional editor.