From 18965e0edae325f2e8cee153f1db4231a3203157 Mon Sep 17 00:00:00 2001 From: Jakob Herrmann Date: Thu, 13 Apr 2017 15:00:13 +0200 Subject: [PATCH] Simple bash script to compile packages needed for parser. --- src/build_compiler.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 src/build_compiler.sh diff --git a/src/build_compiler.sh b/src/build_compiler.sh new file mode 100755 index 00000000..6ccc2dc4 --- /dev/null +++ b/src/build_compiler.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# A basic script to compile the necessary packages and their subpackages to work with the parser. +# Messages are logged to stderr. +>&2 echo "Building de.dhbwstuttgart.typecheck..." +javac -d ../bin ./de/dhbwstuttgart/typecheck/*.java +>&2 echo "Building de.dhbwstuttgart.syntaxtree..." +javac -d ../bin ./de/dhbwstuttgart/syntaxtree/*.java +>&2 echo "Building de.dhbwstuttgart.syntaxtree.factory..." +javac -d ../bin ./de/dhbwstuttgart/syntaxtree/factory/*.java +>&2 echo "Building de.dhbwstuttgart.syntaxtree.operator..." +javac -d ../bin ./de/dhbwstuttgart/syntaxtree/operator/*.java +>&2 echo "Building de.dhbwstuttgart.syntaxtree.statement..." +javac -d ../bin ./de/dhbwstuttgart/syntaxtree/statement/*.java +>&2 echo "Building de.dhbwstuttgart.syntaxtree.statement.literal..." +javac -d ../bin ./de/dhbwstuttgart/syntaxtree/statement/literal/*.java +>&2 echo "Building de.dhbwstuttgart.syntaxtree.type..." +javac -d ../bin ./de/dhbwstuttgart/syntaxtree/type/*.java +>&2 echo "Building de.dhbwstuttgart.parser..." +javac -d ../bin ./de/dhbwstuttgart/parser/*.java +>&2 echo "Building de.dhbwstuttgart.parser.SyntaxTreeGenerator..." +javac -d ../bin ./de/dhbwstuttgart/parser/SyntaxTreeGenerator/*.java +>&2 echo "Building de.dhbwstuttgart.parser.antlr..." +javac -d ../bin ./de/dhbwstuttgart/parser/antlr/*.java +echo "Done. Now its your turn to debug:)."