JetBrains MPS
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
|
Developer(s) | JetBrains |
---|---|
Stable release | 2022.2[1] (November 1, 2022)
|
Repository | |
Operating system | Cross-platform |
License | Apache Software License 2.0[2] |
Website | www |
JetBrains MPS (Meta Programming System) is a language workbench 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.[3]
It supports language-oriented programming[citation needed]. MPS is an environment for language definition, a language workbench, and integrated development environment (IDE) for such languages.[4][5][6]
Composable languages
[edit]While domain-specific language extensions can often be useful in general-purpose programming languages, their text-based nature means that adding domain-specific language extensions can lead to ambiguity in text-based syntax. MPS avoids this grammatical ambiguity by working with the abstract syntax tree directly. In order to edit this tree, a text-like projectional editor is used.
Because MPS directly uses the abstract syntax tree, MPS supports composable language definitions. This means that languages can be extended, and embedded, and these extensions can be used in the same program in MPS and will not conflict.[7][8]
Reusable language infrastructure
[edit]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.
Existing languages
[edit]- Base Language - 99% Java reimplemented with MPS. There are many 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
- type system language
- generator language
MPS applications
[edit]Mbeddr
[edit]mbeddr is an embedded development system based on MPS. It has languages tailored to embedded development and formal methods:[9]
- Core C language
- Components
- Physical units
- State machines
YouTrack
[edit]In October 2009, JetBrains released the YouTrack bug tracking system - the first commercial software product developed with MPS.[10]
Realaxy editor
[edit]In April 2010, the Realaxy ActionScript Editor beta was released, the first commercial IDE based on the MPS platform.
PEoPL
[edit]PEoPL is a tool for software product line engineering realised in MPS.[11]
GDF (Gamification Design Framework)
[edit]GDF is a framework for designing and deploying gameful applications. GDF consists of domain-specific languages allowing for stepwise refinement of application definitions, from higher levels of abstraction towards implementation code to be run on a gamification engine.[12]
According to GDF's case study from Jetbrains,[13] MPS was chosen for three main reasons: the need to provide text-based DSLs, the availability of language extension mechanisms conveying consistency management between abstraction layers, and the provision of generators to automatically derive implementation code.
Licensing
[edit]The MPS source code is released under the Apache License.
See also
[edit]References
[edit]- ^ reference URL: https://blog.jetbrains.com/mps/2022/11/mps-2022-2-is-now-available/
- ^ reference URL: https://confluence.jetbrains.com/display/MPSD20183/FAQ#FAQ-HowisMPSlicensed, retrieved: February 19, 2019
- ^ "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".
- ^ "Language Oriented Programming: The Next Programming Paradigm". Archived from the original on 2010-01-30.
- ^ "mbeddr official site". 9 June 2010.
- ^ Charles Humble (2009-10-15). "Evolving Java Without Changing the Language".
- ^ "PEoPL | Projectional Editing of Product Lines". peopl.de. Retrieved 2017-06-19.
- ^ Bucchiarone, Antonio; Cicchetti, Antonio; Marconi, Annapaola (September 2019). "Exploiting Multi-level Modelling for Designing and Deploying Gameful Systems". 2019 ACM/IEEE 22nd International Conference on Model Driven Engineering Languages and Systems (MODELS). pp. 34–44. doi:10.1109/MODELS.2019.00-17. ISBN 978-1-7281-2536-7. S2CID 208206029.
- ^ "MPS and GDF Case Study" (PDF).
External links
[edit]- Official website
- MPS blog
- MPS User's Guide Archived 2013-01-15 at the Wayback Machine