Hacker News new | past | comments | ask | show | jobs | submit login

MPS seems to be a DSL authoring tool. How would this be used to make an AST diff tool?

https://www.jetbrains.com/mps/

https://en.wikipedia.org/wiki/Abstract_syntax_tree




Well, the comment I was responding to was about storing the AST, not diffing it. If that's what you meant the one follows naturally from the other. Once the file format is the AST instead of its visual representation, it makes sense to implement lots of operations as DSL extensions instead of library features, because the language is the library in a sense. MPS is marketed as a DSL tool but what really is is a projectional language tool.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: