Timeline for Why don't we store the syntax tree instead of the source code?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 12, 2011 at 13:09 | comment | added | SK-logic | @Ira Baxter, of course it is easier with AST. But it is much harder to integrate into the existing infrastructure. | |
| Nov 12, 2011 at 4:35 | comment | added | Ira Baxter | People continually make this mistake. The AST makes it easier than if you have just raw text. But for anything interesting, you need a bunch of additonal information: control and data flow, symbol tables, range analysis, ... ASTs help but are only a small part of what is really needed. | |
| Nov 11, 2011 at 22:58 | comment | added | IAdapter | AST could be saved in human readable format and not in binary. can you now with linux tools for example replace every method in code that takes as parameter serializable object? it would be very hard to write, but AST make that very easy. | |
| Nov 11, 2011 at 17:24 | comment | added | Steven Jeuris | ... but you do get a lot of editor features out of the box. Consider expanding this answer a bit, it's a very interesting technology which deserves going a bit more into detail of the advantages of not storing source code as text. E.g. as I answered on this question on tabs vs. spaces. | |
| Nov 11, 2011 at 13:00 | history | answered | SK-logic | CC BY-SA 3.0 |