Child pages
  • What's new in MPS 1.5

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Another useful generator feature is inline template with context - you can specify template context for inline template fragment just like in standalone template declaration.

Integration with existing languages

In previous versions of MPS, we used so-called "stub" models to reference code written in Java and there was no possibility to do the same thing for a new language. In MPS 1.5 the stubs aspect was added to a language - using it, one can describe how to "load" an external code of a language into MPS to be able to reference existing non-MPS code from MPS.

Editor features

Similar to ordinary java IDE, new MPS version is tracking extends/implements references in Base Language classes and provides user with "implementing" and "overriden" left editor margin markers next to class/interface/method declaration base on this information. Of course you can navigate to corresponding method by clicking these icons, pop-up menu with possible choices will be displayed if there are couple of them.

...

  • Generate in parallel (available in String mode only)
  • Save generation dependencies (experimental) in this mode next code generation session will not include those model roots which were not changed
  • Model generation performance report

Integration with existing languages

In previous versions of MPS, we used so-called "stub" models to reference code written in Java and there was no possibility to do the same thing for a new language. In MPS 1.5 the stubs aspect was added to a language - using it, one can describe how to "load" an external code of a language into MPS to be able to reference existing non-MPS code from MPS.

Other improvements

In addition to all the features above MPS 1.5 contains a number of other improvements listed below:

...