Added rule to evaluate the source code

This commit is contained in:
Marvin Kaiser
2019-12-17 15:53:15 +01:00
parent b4b2bceae5
commit 3710c1f903

View File

@@ -6,6 +6,9 @@ run: code.k target/klang-1.0-jar-with-dependencies.jar
pretty: code.k target/klang-1.0-jar-with-dependencies.jar
java -cp target/klang-1.0-jar-with-dependencies.jar de.hsrm.compiler.Klang.Klang --pretty --no-compile < code.k > pretty.k
eval: code.k target/klang-1.0-jar-with-dependencies.jar
java -cp target/klang-1.0-jar-with-dependencies.jar de.hsrm.compiler.Klang.Klang --evaluate --no-compile < code.k
build: clean target/klang-1.0-jar-with-dependencies.jar
target/klang-1.0-jar-with-dependencies.jar: