|
|
|
|
|
by henrikschroder
3849 days ago
|
|
> I think AST and semantic-analyzer are going to play an increasing role in a variety of software development activities It would be fantastic if source control systems would work on the AST instead of the plain text files, so many annoying problems could be solved there. |
|
What you're suggesting raises a bunch of new (non-trivial) issues:
- What would you do with code comments? Things like "f(/+old_value+/new_value)".
- How to store code before preprocessing (C and C++) ?
- How to store files mixing several languages (PHP, HTML, Javascript) ?
- How do you store code for a DSL?