4 ms·
This exact project is called JetBrains MPS.
by pie_flavor 5y ago
This exact project is called JetBrains MPS.
- adolph 5y agoMPS seems to be a DSL authoring tool. How would this be used to make an AST diff tool? https://www.jetbrains.com/mps/ https://www.jetbrains.com/mps/ https://en.wikipedia.org/wiki/Abstract_syntax_tree https://en.wikipedia.org/wiki/Abstract_syntax_tree
- pie_flavor 5y agoWell, 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.