A generator of domain-specific language (DSL) editors for web applications and cloud IDEs.
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 comes with two code generators which take the grammars expressed with Xtext or ANTLR and generate two variants of editors.
Below the complete list of features bound by default in the generated editors.
Below some examples of use cases showing how the generated editors can be integrated with Web IDEs, forms, HTML5 canvas, guiders, and many other popular JavaScript frameworks.
Eclipse IDE for Java EE Developers You want a static web project with a full integration of ANTLR v3 (v4 is following) and ACE that you can easily debug in the browser. The recommended package in this case is Eclipse IDE for Java EE Developers as it comes with a simple HTTP Preview server easy to debug. The generator outputs the language mode and worker, and does the integration with the lexer/parser generated by ANTLR in the worker script. Once you update the grammar specification file, the parser/lexer are regenerated automatically on save, the language mode/worker are regenerated from contextual menu.
Eclipse for RCP and RAP Developers You want a closer integration with Eclipse Modeling tools such as Xtext and EMF, trigger code generation, do live compilation and execute some generated artefacts, you’d better install Eclipse for RCP and RAP Developers. The tooling comes with a set of runtime plugins that will make the integration of your tool chains (e.g. transformations written in Xtend, Xpand, and Java) very easy. The editor is generated together with a target platform and a build script. The target platform is a super set of the Basic Equinox Target, it contains runtime plugins providing services such as workspace management, persistency, etc. The build script outputs a war bundle that you can deploy either in OSGI environments (Jetty) or JEE environments (Tomcat).
The two usage scenarios are documented on the website.
See tutorial
Additional usage informationn and technical details can be found below:
If you still need help, please open an issue we'll try to help as much as possible in a reasonable time.
If you need professional support, drop an email to [email protected].
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.
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