From bd14acb55a25834e093995df74adfc4ff807668b Mon Sep 17 00:00:00 2001 From: Sven Robertz <sven@cs.lth.se> Date: Wed, 14 Dec 2011 16:17:39 +0100 Subject: [PATCH] moved compiler to its own directory --- .../ArrayTypeRewrite.jrag | 0 CS_CodeGen.jrag => compiler/CS_CodeGen.jrag | 0 C_CodeGen.jrag => compiler/C_CodeGen.jrag | 0 ErrorCheck.jrag => compiler/ErrorCheck.jrag | 0 Java_CodeGen.jrag => compiler/Java_CodeGen.jrag | 0 LabComm.ast => compiler/LabComm.ast | 0 LabComm.java => compiler/LabComm.java | 0 .../LabCommParser.parser | 0 LabCommScanner.flex => compiler/LabCommScanner.flex | 0 LabCommmTokens.jrag => compiler/LabCommmTokens.jrag | 0 NameAnalysis.jrag => compiler/NameAnalysis.jrag | 0 PrettyPrint.jrag => compiler/PrettyPrint.jrag | 0 Python_CodeGen.jrag => compiler/Python_CodeGen.jrag | 0 Signature.jrag => compiler/Signature.jrag | 0 build.xml => compiler/build.xml | 0 {tools => compiler/tools}/JFlex.jar | Bin {tools => compiler/tools}/beaver-rt.jar | Bin {tools => compiler/tools}/beaver.jar | Bin {tools => compiler/tools}/jastadd2.jar | Bin {tools => compiler/tools}/proj.jar | Bin examples/simple/compile.sh | 4 ++-- examples/wiki_example/run | 2 +- 22 files changed, 3 insertions(+), 3 deletions(-) rename ArrayTypeRewrite.jrag => compiler/ArrayTypeRewrite.jrag (100%) rename CS_CodeGen.jrag => compiler/CS_CodeGen.jrag (100%) rename C_CodeGen.jrag => compiler/C_CodeGen.jrag (100%) rename ErrorCheck.jrag => compiler/ErrorCheck.jrag (100%) rename Java_CodeGen.jrag => compiler/Java_CodeGen.jrag (100%) rename LabComm.ast => compiler/LabComm.ast (100%) rename LabComm.java => compiler/LabComm.java (100%) rename LabCommParser.parser => compiler/LabCommParser.parser (100%) rename LabCommScanner.flex => compiler/LabCommScanner.flex (100%) rename LabCommmTokens.jrag => compiler/LabCommmTokens.jrag (100%) rename NameAnalysis.jrag => compiler/NameAnalysis.jrag (100%) rename PrettyPrint.jrag => compiler/PrettyPrint.jrag (100%) rename Python_CodeGen.jrag => compiler/Python_CodeGen.jrag (100%) rename Signature.jrag => compiler/Signature.jrag (100%) rename build.xml => compiler/build.xml (100%) rename {tools => compiler/tools}/JFlex.jar (100%) rename {tools => compiler/tools}/beaver-rt.jar (100%) rename {tools => compiler/tools}/beaver.jar (100%) rename {tools => compiler/tools}/jastadd2.jar (100%) rename {tools => compiler/tools}/proj.jar (100%) diff --git a/ArrayTypeRewrite.jrag b/compiler/ArrayTypeRewrite.jrag similarity index 100% rename from ArrayTypeRewrite.jrag rename to compiler/ArrayTypeRewrite.jrag diff --git a/CS_CodeGen.jrag b/compiler/CS_CodeGen.jrag similarity index 100% rename from CS_CodeGen.jrag rename to compiler/CS_CodeGen.jrag diff --git a/C_CodeGen.jrag b/compiler/C_CodeGen.jrag similarity index 100% rename from C_CodeGen.jrag rename to compiler/C_CodeGen.jrag diff --git a/ErrorCheck.jrag b/compiler/ErrorCheck.jrag similarity index 100% rename from ErrorCheck.jrag rename to compiler/ErrorCheck.jrag diff --git a/Java_CodeGen.jrag b/compiler/Java_CodeGen.jrag similarity index 100% rename from Java_CodeGen.jrag rename to compiler/Java_CodeGen.jrag diff --git a/LabComm.ast b/compiler/LabComm.ast similarity index 100% rename from LabComm.ast rename to compiler/LabComm.ast diff --git a/LabComm.java b/compiler/LabComm.java similarity index 100% rename from LabComm.java rename to compiler/LabComm.java diff --git a/LabCommParser.parser b/compiler/LabCommParser.parser similarity index 100% rename from LabCommParser.parser rename to compiler/LabCommParser.parser diff --git a/LabCommScanner.flex b/compiler/LabCommScanner.flex similarity index 100% rename from LabCommScanner.flex rename to compiler/LabCommScanner.flex diff --git a/LabCommmTokens.jrag b/compiler/LabCommmTokens.jrag similarity index 100% rename from LabCommmTokens.jrag rename to compiler/LabCommmTokens.jrag diff --git a/NameAnalysis.jrag b/compiler/NameAnalysis.jrag similarity index 100% rename from NameAnalysis.jrag rename to compiler/NameAnalysis.jrag diff --git a/PrettyPrint.jrag b/compiler/PrettyPrint.jrag similarity index 100% rename from PrettyPrint.jrag rename to compiler/PrettyPrint.jrag diff --git a/Python_CodeGen.jrag b/compiler/Python_CodeGen.jrag similarity index 100% rename from Python_CodeGen.jrag rename to compiler/Python_CodeGen.jrag diff --git a/Signature.jrag b/compiler/Signature.jrag similarity index 100% rename from Signature.jrag rename to compiler/Signature.jrag diff --git a/build.xml b/compiler/build.xml similarity index 100% rename from build.xml rename to compiler/build.xml diff --git a/tools/JFlex.jar b/compiler/tools/JFlex.jar similarity index 100% rename from tools/JFlex.jar rename to compiler/tools/JFlex.jar diff --git a/tools/beaver-rt.jar b/compiler/tools/beaver-rt.jar similarity index 100% rename from tools/beaver-rt.jar rename to compiler/tools/beaver-rt.jar diff --git a/tools/beaver.jar b/compiler/tools/beaver.jar similarity index 100% rename from tools/beaver.jar rename to compiler/tools/beaver.jar diff --git a/tools/jastadd2.jar b/compiler/tools/jastadd2.jar similarity index 100% rename from tools/jastadd2.jar rename to compiler/tools/jastadd2.jar diff --git a/tools/proj.jar b/compiler/tools/proj.jar similarity index 100% rename from tools/proj.jar rename to compiler/tools/proj.jar diff --git a/examples/simple/compile.sh b/examples/simple/compile.sh index dc88832..8b8d9de 100644 --- a/examples/simple/compile.sh +++ b/examples/simple/compile.sh @@ -1,7 +1,7 @@ (cd ../../lib/c; make) -(cd ../../ ; ant jar) +(cd ../../compiler ; ant jar) -java -jar ../../labComm.jar --java=gen --c=gen/simple.c --h=gen/simple.h simple.lc +java -jar ../../compiler/labComm.jar --java=gen --c=gen/simple.c --h=gen/simple.h simple.lc javac -cp ../../lib/java:. gen/*.java Encoder.java Decoder.java diff --git a/examples/wiki_example/run b/examples/wiki_example/run index 5e0719b..9d92539 100755 --- a/examples/wiki_example/run +++ b/examples/wiki_example/run @@ -1,7 +1,7 @@ #!/bin/sh # Auto generate code from .lc file -java -jar ../../labComm.jar \ +java -jar ../../compiler/labComm.jar \ --c=example.c --h=example.h \ --java=. \ --cs=example.cs \ -- GitLab