Program 2. A meta-language pseudo-compiler written in Xtend.
Setting up Eclipse IDE with Xtend and getting the project up and running is more cumbersome, but the general steps are outlined below:
- Install Eclipse IDE and install the Xtend plugin.
- Clone this repository and open it as a general project.
- Add the
JavaandXtendnatures to the project. - Set up a run configuration to execute
src/main/App.xtendas a Java application.
The provided Dockerfile will retrieve the following archives from the latest release or pre-release on this repository:
izebot-pseudo-compiler.zip(contains the binary Java class files from Xtend compilation)runtime.zip(contains the Xtend runtime dependencies)
To run the program as a Docker container, use the following commands from the root directory of the repository:
docker build -t izebot-pseudo-compiler .
docker run -it --rm izebot-pseudo-compiler