summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/gfcc.pdfbin0 -> 145566 bytes
-rw-r--r--examples/gfcc/compiler/makefile5
-rw-r--r--grammars/mkDistr.sh3
3 files changed, 5 insertions, 3 deletions
diff --git a/doc/gfcc.pdf b/doc/gfcc.pdf
new file mode 100644
index 000000000..9d7b2193f
--- /dev/null
+++ b/doc/gfcc.pdf
Binary files differ
diff --git a/examples/gfcc/compiler/makefile b/examples/gfcc/compiler/makefile
index f578e5d47..c23fcc48d 100644
--- a/examples/gfcc/compiler/makefile
+++ b/examples/gfcc/compiler/makefile
@@ -1,7 +1,7 @@
GF=gf
SRC=../
-all: parser gfcm
+all: parser gfcm runtime
compiler:
echo "pm | wf Imper.gfcm ;; pg -lang=ImperC -printer=plbnf | wf ImperC.tmp" | $(GF) $(SRC)ImperC.gf $(SRC)ImperJVM.gf
@@ -17,3 +17,6 @@ parser:
gfcm:
echo "pm | wf Imper.gfcm" | $(GF) $(SRC)ImperC.gf $(SRC)ImperJVM.gf
+
+runtime:
+ jasmin runtime.j
diff --git a/grammars/mkDistr.sh b/grammars/mkDistr.sh
index d1e078e1f..73a00cc3b 100644
--- a/grammars/mkDistr.sh
+++ b/grammars/mkDistr.sh
@@ -63,5 +63,4 @@ cp -pv imperative/compiler/*.gfs grammars/imperative/compiler/
cp -pv imperative/compiler/runtime.j grammars/imperative/compiler/
-tar cvfz gf-grammars.tgz grammars
-
+tar cvfz gf-grammars-2.1.tgz grammars