Child pages
  • MPS Languages Repository

Versions Compared

Key

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

...

Although MPS comes with a rich set of languages so you can be and language extensions to make you a productive programmer or and language designer from day one, the modular nature of MPS allows languages to be shared and combined freely. This page holds a list of additional languages that you may find useful for your applications.

Table of Contents

Bundled languages

Standard base languages

MPS without any extra add-ons supports these languages:

  • Java (MPS BaseLanguage)
  • XML (jetbrains.mps.core.xml)
  • Ant (generated from the BuildLanguage)

Bundled extensions

MPS bundles numerous extensions to BaseLanguage, such as closures, collections API, regular expressions and a few more. You can check them all out in the User Guide.

Samples included in the distribution

MPS comes with a set of sample languages, both standalone and Java (BaseLanguage) extensions. They are typically located in your home folder in a folder named MPSSamples.version. MPS offers you a quick way to open them through the welcome screen:. Image Removed

Additional Language Installation

  1. Download MPS and install it.
  2. Download the desired additional language and unpack them to folder xxx
  3. Execute MPS and go to Settings->MPS Library Manager
  4. Press add, enter a new library name, press ok and select the path to folder xxx. MPS should scan the folder and load all language packages found in it.

After these steps you can start creating new solution with models in them and use the newly installed language.

Languages

Note: The languages below are out-dated and cannot be used with the recent versions of MPS. Please, stay tuned for an update and feel free to experiment with the samples included in the MPS distribution in the meantime.

...

MPS Extensions

These are a must for any serious development with MPS. The MPS extensions project bundles numerous handy utility languages as well as advanced notations that are freely available at the MPS Extensions site. You can expect, among other:

  • tabular notations
  • diagrams
  • plain text language
  • grammar cells to ease editor implementation
  • shadow models
  • and a lot of others

Additional base languages

In order to benefit from MPS on platforms other than Java, our partners as well as the community members have been building support for existing general-purpose languages in MPS. With these plugins installed, MPS can integrate with other technologies and the DSLs can participate in wider range of projects.

The public language repository

Languages defined in MPS are typically distributed as packaged zip files that can be imported as plugins either into MPS or IntelliJ IDEA. Some language authors have published their languages into the JetBrains plugin repository, from where it is extremely easy to pick them up and start using.

New and featured languages

  • LangDoc - language to document arbitrary nodes and parts of language definition
  • CodeReviews - language to set and manage code review status to arbitrary nodes