Dims
Dims

Reputation: 50989

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

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)?

Upvotes: 6

Views: 406

Answers (1)

Vaclav Pech
Vaclav Pech

Reputation: 1441

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

Upvotes: 6

Related Questions