EMFText is an Eclipse plug-in that allows you to define text syntax for languages described by an Ecore metamodel. EMFText enables developers to define textual Domain Specific Languages quickly and without the need to learn new technologies and concepts. Give it a shot and you'll find EMFText indispensible for your model-driven development processes
Features
- Generation of independent code
- Generated code does not contain dependencies to EMFText
- All code is fully customizable
- Generated language tooling is deployable in environments where EMFText is not available
- Future compatibility issues are completely avoided
- UI code is generated to a separate plug-in enabling the usage of DSLs in headless environments (e.g., on web servers)
- Specification features
- Automatic generation of default syntaxes (HUTN and Java-like)
- Simple and precise syntax specification
- Modular specification (Support for abstract syntaxes and syntax imports)
- Default reference resolving mechanisms
- Comprehensive syntax analysis to warn about potential syntax problems
- Partial token definitions
- Support for expression hierarchies
- Editor features
- Outline View
- Customizable Syntax Highlighting
- Occurence Highlighting
- Code Completion
- Advanced bracket handling
- Hyperlinks
- Texthovers
- Instant error reporting
- Quick fixes
- Other features
- ANT support to generate text syntax plug-ins in build scripts
- Generation of builder and interpreter stubs
- Generation of complete debugging infrastructure
Getting started
The EMFText feature is available from Update-Site. To see more, watch the EMFText Installation Screencast.
The EMFText Getting Started Screencast demonstrates how to create a small example language with EMFText.
Documentation