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