DSL Forge is a framework for the development of domain-specific language (DSL) editors for web applications and cloud IDEs. It allows to get web-based textual editors automatically from ANTLR grammars. From the language grammar specification, JavaScript parser and lexer are automatically generated and embedded into Cloud9’s ACE editor.
The framework is composed of two features:
The Tooling has two code generators which take language grammars expressed with Xtext or ANTLR and generate two variants of editors.
The Runtime is required if you develop against the Eclipse Remote Application Platform (RAP). It is a set of plugins providing services such as typed content assist, workspace management, persistency, etc. The plugins are built on top of the Basic Equinox RAP Target you can already download from the Eclipse RAP update sites.
Below the complete list of features bound by default in the generated editors:
Install Eclipse The current DSL Forge version is based on Eclipse Neon packages. The packages are available under http://www.eclipse.org/downloads/packages/ To know which package is the most appropriate for you, select one of the following alternatives.
Install the Xtext SDK Install Xtext Complete SDK from Neon update site http://download.eclipse.org/releases/neon (Help>Install New Software).
Install DSL Forge Tools Use the update site http://dslforge.org/downloads/tooling/repository/
Two use cases are documented on the official websie:
See tutorial on http://dslforge.org/getting-started-generate-ace-editor/
Additional usage informationn can be found on http://dslforge.org/documentation-2/.
Also check out the live demo app http://beeone.dslforge.org/texteditor
If you still need help, feel free to drop a mail to development@dslforge.org
We actively encourage and support contributions! DSL Forge is open source, feel free to fork the repository and enhance the tool the way you want. If you think the community can benefit from your changes, please open a pull request.
DSL Forge program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which is available at http://www.eclipse.org/legal/epl-v10.html