4 ms·
Also, the 'T' in "AST" stands for tree. Not all intermediate-represenatations are trees: some are linear, like stack and register operations, others are graphs,
by mahmud 14y ago
Also, the 'T' in "AST" stands for tree. Not all intermediate-represenatations are trees: some are linear, like stack and register operations, others are graphs, etc.
But you were right, that description is .. PHPish.
- DanWaterworth 14y agoThe AST is typically the first generated intermediate representation and by definition it relates to the textual form of the language. All textual forms can be viewed as trees.
- napillo 14y agoIs a tree without branches still a tree?