JetBrains MPS

From Wikipedia, the free encyclopedia
Meta Programming System
Developer(s) JetBrains
Stable release 2.0.3 / December 21, 2011 (2011-12-21)
Operating system Cross-platform
License Open source Apache License 2.0
Website www.jetbrains.com/mps

JetBrains MPS is a metaprogramming system which is being developed by JetBrains. It implements language-oriented programming. MPS is an environment for language definition, a Language Workbench, and integrated development environment (IDE) for such languages.[1][2]

Composable languages

Developers from different domains can benefit from domain specific language extensions in general purpose programming languages. For example, Java developers working with financial applications might benefit from built-in support of monetary values. Unfortunately, traditional text based languages are subject to text ambiguity problems which makes such extensions problematic.

MPS supports composable language definitions. This means that languages can be extended, and embedded, and these extensions can be used, and will work, in the same program in MPS. For example, if Java is extended with a better syntax for collection and then again extended with a better syntax for dates, these extensions will work well together.

MPS solves grammar ambiguity issues by working with the abstract syntax tree directly. In order to edit such a tree, a text-like projectional editor is used.[3][4][5]

Reusable language infrastructure

MPS provides a reusable language infrastructure which is configured with language definition languages. Also MPS provides many IDE services automatically: editor, code completion, find usages etc.

Existing languages

  • Base Language - 99% Java reimplemented with MPS. There are a lot of extensions of this language
    • collections language
    • dates language
    • closures language
    • regular expressions language
  • Language definition languages - these language are implemented with themselves, i.e. bootstrapped
    • structure language
    • editor language
    • constraints language
    • typesystem language
    • generator language

MPS applications

Mbeddr

mbeddr is an embedded development system based on MPS. It has languages tailored to embedded development and formal methods:[6]

  • Core C language
  • Components
  • Physical Units
  • State machines

YouTrack

In October 2009, JetBrains released the YouTrack bug tracking system - the first commercial software product developed with MPS.[7]

Realaxy Editor

In April 2010, the Realaxy ActionScript Editor beta was released being the first commercial IDE based on the MPS platform.

Licensing

The MPS source code is released under the Apache License.

Similar products

References

External links

This article is issued from Wikipedia. The text is available under the Creative Commons Attribution/Share Alike; additional terms may apply for the media files.