2018.1 / April 5, 2018
|License||Open source Apache License 2.0|
JetBrains MPS is a metaprogramming system which is being developed by JetBrains. MPS is a tool to design Domain-specific languages (DSL). It uses projectional editing which allows users to overcome the limits of language parsers, and build DSL editors, such as ones with tables and diagrams.
It implements language-oriented programming. MPS is an environment for language definition, a language workbench, and integrated development environment (IDE) for such 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 collections and then again extended with a better syntax for dates, these extensions will work well together.
Reusable language infrastructure
MPS provides a reusable language infrastructure which is configured with language definition languages. MPS also provides many IDE services automatically: editor, code completion, find usages, etc.
- 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
- Core C language
- Physical Units
- State machines
In April 2010, the Realaxy ActionScript Editor beta was released, the first commercial IDE based on the MPS platform.
PEoPL is a tool for software product line engineering realised in MPS.
The MPS source code is released under the Apache License.
- "Latest version".
- "What is MPS?".
Design your own DSLs
- Martin Fowler. "Language Workbenches: The Killer-App for Domain Specific Languages?".
- Martin Fowler. "IntentionalSoftware".
- Fabien Campagne (2014). "The MPS Language Workbench: Volume I".
- Srini Penchikala. "JetBrains Meta Programming System Supports Language Oriented Programming and DSLs".
- Sergey Dmitriev. "Language Oriented Programming: The Next Programming Paradigm".
- "mbeddr official site".
- Charles Humble (2009-10-15). "Evolving Java Without Changing the Language".
- "PEoPL | Projectional Editing of Product Lines". peopl.de. Retrieved 2017-06-19.