Is it possible to build JetBrans MPS editor into my program?

375 views Asked by At

They have a tool to design DSLs: https://www.jetbrains.com/mps/

Is it possible to embed editor from there into my program? Or the only purpose is to use it during development only (to compile from DSL)?

1

There are 1 answers

1
Vaclav Pech On BEST ANSWER

In principal, since the MPS editor is a Java Swing application, it could be embedded, however, the current wiring makes it not a trivial process. It is definitely off the beaten path.

The preferred way to create single-purpose IDEs around your DSLs is to build a standalone IDE, which leverages the IntelliJ platform and bundles the desired DSLs - https://confluence.jetbrains.com/display/MPSD34/Building+standalone+IDEs+for+your+languages