https://github.com/christopherosthues/mgpl-xtext
XText-project realizing a compiler for the MGPL
https://github.com/christopherosthues/mgpl-xtext
eclipse-plugin mgpl mgpl-xtext mini-game-programming-language vuc vuc-project xtend xtext xtext-project
Last synced: about 1 year ago
JSON representation
XText-project realizing a compiler for the MGPL
- Host: GitHub
- URL: https://github.com/christopherosthues/mgpl-xtext
- Owner: christopherosthues
- License: apache-2.0
- Created: 2018-04-18T16:49:40.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-24T15:39:12.000Z (almost 8 years ago)
- Last Synced: 2025-01-25T14:22:59.020Z (over 1 year ago)
- Topics: eclipse-plugin, mgpl, mgpl-xtext, mini-game-programming-language, vuc, vuc-project, xtend, xtext, xtext-project
- Language: Xtend
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MGPL-XText
This project specifies the grammar of the Mini-Game-Programming-Language (MGPL) using XText to generate a compiler, validator and code generator for the MGPL. It can be used to create a new Eclipse instance to create, edit and validate MGPL-projects and generates Java code if the MGPL-project is a valid MGPL.
## Editor
The XText framework generates a simple editor which validates your MGPL code immediately during editing. If your code is valid it is compiled to Java. The main method(s) are written to the *program-name*UI class. It uses the JavaFX framework for the GUI.
## Importing into Eclipse
To import this project into Eclipse just check this git repository out, import it via the option *Existing Projects into Workspace* and run after the successful import the *Generate XText artifacts* command on the MGPL.xtext file in the *org.xtext.vuc.mgpl* package of the source folder of the *org.xtext.vuc.mgpl* project to generate all neccessary files and settings.
## License
This project is published under the terms of the [Apache-2.0](LICENSE) license.