What are the main differences between Jetbrains' MPS and Eclipse Xtext?

前端 未结 3 1486
-上瘾入骨i
-上瘾入骨i 2020-12-23 09:36

I have used Eclipse Xtext in several projects. I loved the ease of defining a grammar over an Ecore (meta)model and letting everything generated for you including awesome Ec

3条回答
  •  执笔经年
    2020-12-23 10:00

    The main idea of MPS isn't using a projectional editor instead of a text based one. It's the language compasability. For example, you can extend Java with tuples, and another person could extend Java with async method calls. In text based tools (like XText), it's impossible to guarantee that two extensions work well together, since the resulting grammar might be ambiguous. MPS makes this possible. You just add language to your project like you add libraries.

提交回复
热议问题