Start here: I build languages¶
Audience: people who define concepts, how they look, how they are checked and what they generate ยท ~2 min read
A language is a set of concepts plus the rules around them. You can build one in the app without writing a plugin, or ship it as a plugin. Read these in order.
- Define a mini-language in 15 minutes: start from the Calculator card, change a rule, see it work.
- The Language Editor: create a language, add concepts, and use the aspect tabs. Every tab is always listed; an empty one is dimmed and asks before it is created.
- Bundled languages tour: see how existing languages are put together before you copy one.
- Constraints and placement rules and Type checking.
- Generators and Open Preview to turn models into text.
- Importing and exporting languages to share a language.
Going further¶
- Coming from MPS or Xtext: Coming from MPS or Xtext.
- Shipping a language as a plugin: Start here: I write a plugin in the Developer guide.
- Give a language one-click tasks such as "verify, then generate": Tasks and the project terminal.
- Project code that runs in the IDE needs your trust: Trusting project code.