/flowg

Compiler that compiles our language flowg to g-code (4th semester project)

Primary LanguageJavaGNU Affero General Public License v3.0AGPL-3.0

flowg

FlowG is a language that greatly simplifies manual g-code programming. It is a high-level language that supports functions, for loops, if statements etc.

Building

We use maven to build this project. To build this project run

mvn package

This creates an executable jar file named flowg-1.0-SNAPSHOT-jar-with-dependencies.jar in the target/ directory.

Usage

To run the compiler use the following commandline:

java -jar target/flowg-1.0-SNAPSHOT-jar-with-dependencies.jar <input file> <output file>

The input file should contain the flowg source code you want to compile. The output file will contain the gcode that the flowg source compiles to, if no errors occured.