Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@1080 ab42f6e0-554d-0410-b580-99e487e6eeb2
- Loading branch information
1 parent
eeee422
commit 9750088
Showing
137 changed files
with
228 additions
and
263 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1 @@ | ||
extract: | ||
cd iso-9899-1999 && make extract | ||
cd iso-9899-tc2 && make extract | ||
cd iso-9899-tc3 && make extract | ||
|
||
clean: | ||
rm -f */*.bgf */*.html */*.bnf */intermediate.lll */tmp.xml | ||
|
||
test: | ||
ls -1 */*.bgf | xargs -n1 ../../../shared/tools/validate bgf | ||
include ../Makefile.language |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
extract: | ||
${tooldir}/pdf2bgf src.language.syntax.summary.txt c.raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf c.raw.bgf c.ext.bgf | ||
${tooldir}/subgrammar c.ext.bgf translation-unit c.bgf | ||
${tooldir}/pdf2bgf src.language.syntax.summary.txt raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf raw.bgf ext.bgf | ||
${tooldir}/subgrammar ext.bgf translation-unit grammar.bgf | ||
|
||
include ../../Makefile.include | ||
include ../../Makefile.grammar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
extract: | ||
${tooldir}/pdf2bgf src.language.syntax.summary.txt c.raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf c.raw.bgf c.ext.bgf | ||
${tooldir}/xbgf correct.xbgf c.ext.bgf c.ext.2.bgf | ||
${tooldir}/subgrammar c.ext.2.bgf translation-unit c.bgf | ||
${tooldir}/pdf2bgf src.language.syntax.summary.txt raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf raw.bgf ext.bgf | ||
${tooldir}/xbgf correct.xbgf ext.bgf ext.2.bgf | ||
${tooldir}/subgrammar ext.2.bgf translation-unit grammar.bgf | ||
|
||
include ../../Makefile.include | ||
include ../../Makefile.grammar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
extract: | ||
${tooldir}/pdf2bgf src.language.syntax.summary.txt c.raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf c.raw.bgf c.ext.bgf | ||
${tooldir}/xbgf correct.xbgf c.ext.bgf c.ext.2.bgf | ||
${tooldir}/subgrammar c.ext.2.bgf translation-unit c.bgf | ||
${tooldir}/pdf2bgf src.language.syntax.summary.txt raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf raw.bgf ext.bgf | ||
${tooldir}/xbgf correct.xbgf ext.bgf ext.2.bgf | ||
${tooldir}/subgrammar ext.2.bgf translation-unit grammar.bgf | ||
|
||
include ../../Makefile.include | ||
include ../../Makefile.grammar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
iso-9899-1999 | ||
iso-9899-tc2 | ||
iso-9899-tc3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1 @@ | ||
extract: | ||
cd iso-14882-1998 && make extract | ||
cd iso-n2723 && make extract | ||
|
||
clean: | ||
rm -f */*.bgf */*.html */*.bnf */intermediate.lll */tmp.xml | ||
|
||
test: | ||
ls -1 */*.bgf | xargs -n1 ../../../shared/tools/validate bgf | ||
include ../Makefile.language |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
iso-14882-1998 | ||
iso-n2723 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1 @@ | ||
extract: | ||
cd ecma-334-1 && make extract | ||
cd ecma-334-2 && make extract | ||
cd ecma-334-3 && make extract | ||
cd ecma-334-4 && make extract | ||
cd iso-23270-2003 && make extract | ||
cd iso-23270-2006 && make extract | ||
cd msft-ls-1.0 && make extract | ||
cd msft-ls-1.2 && make extract | ||
cd msft-ls-3.0 && make extract | ||
cd msft-ls-4.0 && make extract | ||
|
||
clean: | ||
rm -f */*.bgf */*.html */*.bnf */intermediate.lll */tmp.xml | ||
|
||
test: | ||
ls -1 */*.bgf | xargs -n1 ../../../shared/tools/validate bgf | ||
include ../Makefile.language |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
extract: | ||
${tooldir}/pdf2bgf src.grammar.txt csharp.raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf csharp.raw.bgf csharp.bgf | ||
${tooldir}/pdf2bgf src.grammar.txt raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf raw.bgf grammar.bgf | ||
|
||
include ../../Makefile.include | ||
include ../../Makefile.grammar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
extract: | ||
${tooldir}/pdf2bgf src.grammar.txt csharp.raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf csharp.raw.bgf csharp.bgf | ||
${tooldir}/pdf2bgf src.grammar.txt raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf raw.bgf grammar.bgf | ||
|
||
include ../../Makefile.include | ||
include ../../Makefile.grammar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
extract: | ||
${tooldir}/pdf2bgf src.grammar.txt csharp.raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/checkxml bgf csharp.raw.bgf | ||
${tooldir}/normbgf csharp.raw.bgf csharp.bgf | ||
${tooldir}/bgf2bnf csharp.bgf csharp.bnf | ||
${tooldir}/pdf2bgf src.grammar.txt raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf raw.bgf grammar.bgf | ||
|
||
include ../../Makefile.include | ||
include ../../Makefile.grammar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
extract: | ||
${tooldir}/pdf2bgf src.grammar.txt csharp.raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf csharp.raw.bgf csharp.ext.bgf | ||
${tooldir}/xbgf correct.xbgf csharp.ext.bgf csharp.ext.2.bgf | ||
${tooldir}/subgrammar csharp.ext.2.bgf compilation-unit csharp.bgf | ||
${tooldir}/pdf2bgf src.grammar.txt raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf raw.bgf ext.bgf | ||
${tooldir}/xbgf correct.xbgf ext.bgf rec.bgf | ||
${tooldir}/subgrammar rec.bgf compilation-unit grammar.bgf | ||
|
||
include ../../Makefile.include | ||
include ../../Makefile.grammar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
extract: | ||
${tooldir}/lll2bgf ../../../recovery/csharp/CSHARP1.0.LLL csharp.raw.bgf | ||
${tooldir}/normbgf csharp.raw.bgf csharp.ext.bgf | ||
${tooldir}/lll2bgf ../../../recovery/csharp/grammars/Final.lll csharp.raw.2.bgf | ||
${tooldir}/normbgf csharp.raw.2.bgf csharp.bgf | ||
${tooldir}/lll2bgf ../../../recovery/csharp/CSHARP1.0.LLL raw.bgf | ||
${tooldir}/normbgf raw.bgf grammar.bgf | ||
|
||
include ../../Makefile.include | ||
include ../../Makefile.grammar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
extract: | ||
${tooldir}/pdf2bgf src.grammar.txt csharp.raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf csharp.raw.bgf csharp.bgf | ||
${tooldir}/pdf2bgf src.grammar.txt raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf raw.bgf grammar.bgf | ||
|
||
include ../../Makefile.include | ||
include ../../Makefile.grammar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
extract: | ||
${tooldir}/pdf2bgf src.grammar.txt csharp.raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf csharp.raw.bgf csharp.ext.bgf | ||
${tooldir}/subgrammar csharp.ext.bgf compilation-unit csharp.bgf | ||
${tooldir}/pdf2bgf src.grammar.txt raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf raw.bgf ext.bgf | ||
${tooldir}/subgrammar ext.bgf compilation-unit grammar.bgf | ||
|
||
include ../../Makefile.include | ||
include ../../Makefile.grammar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
extract: | ||
${tooldir}/pdf2bgf src.grammar.txt csharp.raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf csharp.raw.bgf csharp.ext.bgf | ||
${tooldir}/subgrammar csharp.ext.bgf compilation-unit csharp.bgf | ||
${tooldir}/pdf2bgf src.grammar.txt raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf raw.bgf ext.bgf | ||
${tooldir}/subgrammar ext.bgf compilation-unit grammar.bgf | ||
|
||
include ../../Makefile.include | ||
include ../../Makefile.grammar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
extract: | ||
${tooldir}/pdf2bgf src.grammar.txt csharp.raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf csharp.raw.bgf csharp.ext.bgf | ||
${tooldir}/xbgf correct.xbgf csharp.ext.bgf csharp.ext.2.bgf | ||
${tooldir}/subgrammar csharp.ext.2.bgf compilation-unit csharp.bgf | ||
${tooldir}/pdf2bgf src.grammar.txt raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf raw.bgf ext.bgf | ||
${tooldir}/xbgf correct.xbgf ext.bgf ext.2.bgf | ||
${tooldir}/subgrammar ext.2.bgf compilation-unit grammar.bgf | ||
|
||
include ../../Makefile.include | ||
include ../../Makefile.grammar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
extract: | ||
${tooldir}/pdf2bgf src.grammar.txt csharp.raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf csharp.raw.bgf csharp.ext.bgf | ||
${tooldir}/xbgf correct.xbgf csharp.ext.bgf csharp.ext.2.bgf | ||
${tooldir}/subgrammar csharp.ext.2.bgf compilation-unit csharp.bgf | ||
${tooldir}/pdf2bgf src.grammar.txt raw.bgf banned-lines.lst keywords.lst | ||
${tooldir}/normbgf raw.bgf ext.bgf | ||
${tooldir}/xbgf correct.xbgf ext.bgf ext.2.bgf | ||
${tooldir}/subgrammar ext.2.bgf compilation-unit grammar.bgf | ||
|
||
include ../../Makefile.include | ||
include ../../Makefile.grammar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
extract: | ||
${tooldir}/lll2bgf ../../../recovery/csharp/grammars/Final.lll raw.bgf | ||
${tooldir}/normbgf raw.bgf grammar.bgf | ||
|
||
include ../../Makefile.grammar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
http://www.cs.vu.nl/grammarware/browsable/CSharp/ | ||
http://grammarware.net/text/2005/toosharp.pdf | ||
http://grammarware.net/slides/2005/gttse.pdf | ||
|
||
@inproceedings{TooSharp2005, | ||
author = "Vadim Zaytsev", | ||
title = "{Correct C\# Grammar too Sharp for ISO}", | ||
booktitle = "{Pre-proceedings of the International Summer School on Generative and Transformational Techniques in Software Engineering (GTTSE 2005), Part II, Participants Workshop}", | ||
year = 2005, | ||
pages = "154--155", | ||
address = "Braga, Portugal", | ||
month = "July", | ||
publisher = "Technical Report, TR-CCTC/DI-36, Universidade do Minho", | ||
note = "Extended abstract", | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
extract: | ||
cd derricks && make extract | ||
|
||
clean: | ||
cd derricks && make clean | ||
|
||
test: | ||
cd derricks && make test | ||
include ../Makefile.language |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
extract: | ||
${tooldir}/sdf2bgf ${sdflibdir}/fortran/syntax/*.sdf fortran.sdf.ext.bgf | ||
${tooldir}/subgrammar fortran.sdf.ext.bgf ExecutableProgram fortran.tmp.bgf | ||
${tooldir}/xbgf refactor.xbgf fortran.tmp.bgf fortran.sdf.rec.bgf | ||
cp fortran.sdf.rec.bgf fortran.bgf | ||
${tooldir}/sdf2bgf ${sdflibdir}/fortran/syntax/*.sdf raw.bgf | ||
${tooldir}/subgrammar raw.bgf ExecutableProgram ext.bgf | ||
${tooldir}/xbgf refactor.xbgf ext.bgf grammar.bgf | ||
|
||
include ../../Makefile.include | ||
include ../../Makefile.grammar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
derricks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../Makefile.language |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
jls1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../Makefile.language |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
jls2 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../Makefile.language |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
extract: | ||
${tooldir}/sdf2bgf ${sdflibdir}/java/syntax/*.sdf ext.bgf | ||
${tooldir}/subgrammar ext.bgf Top-sort grammar.bgf | ||
|
||
include ../../Makefile.grammar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
build: | ||
cd ../../extraction/antlr && make build | ||
make extract | ||
|
||
include ../Makefile.language |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
all: | ||
make build | ||
make run | ||
|
||
extract: | ||
../../../extraction/antlr/antlrpp.py Java.rsc.g Java.pp.g | ||
java -cp ${CLASSPATH}:../../../../download/antlrworks-1.1.7.jar:../../../extraction/antlr slps.antlr2bgf.Tool Java.pp.g habelitz.ext.bgf | ||
../../../../shared/tools/xbgf post-extraction.xbgf habelitz.ext.bgf habelitz.fix.bgf | ||
../../../../shared/tools/subgrammar habelitz.fix.bgf javaSource grammar.bgf | ||
|
||
build: | ||
java -cp ../../../../download/antlr-3.2.jar org.antlr.Tool Java.g JavaTreeParser.g | ||
mv Java*.java com/habelitz/jsobjectizer/unmarshaller/antlrbridge/generated | ||
javac -cp ../../../../download/antlr-3.2.jar *.java com/habelitz/jsobjectizer/unmarshaller/antlrbridge/generated/*.java | ||
jar cf habelitz.jar *.class com/habelitz/jsobjectizer/unmarshaller/antlrbridge/generated/*.class | ||
|
||
run: | ||
java -cp $$CLASSPATH:../../../../download/antlr-3.2.jar:habelitz.jar -ea TestIO TestIO.java | ||
|
||
clean: | ||
rm -f *.tokens Java*.java *.class com/habelitz/jsobjectizer/unmarshaller/antlrbridge/generated/* *.jar Java.pp.g *.bgf |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
all: | ||
make build | ||
make run | ||
|
||
extract: | ||
../../../extraction/antlr/antlrpp.py Java.rsc.g Java.pp.g | ||
java -cp ${CLASSPATH}:../../../../download/antlrworks-1.1.7.jar:../../../extraction/antlr slps.antlr2bgf.Tool Java.pp.g parr.ext.bgf | ||
../../../../shared/tools/xbgf post-extraction.xbgf parr.ext.bgf parr.fix.bgf | ||
../../../../shared/tools/subgrammar parr.fix.bgf compilationUnit grammar.bgf | ||
|
||
build: | ||
java -Xmx100M -cp ../../../../download/antlr-3.2.jar org.antlr.Tool Java.g | ||
javac -cp ../../../../download/antlr-3.2.jar *.java | ||
jar cf parr.jar *.class | ||
|
||
run: | ||
java -cp $$CLASSPATH:../../../../download/antlr-3.2.jar:parr.jar -ea TestIO TestIO.java | ||
|
||
clean: | ||
rm Java.tokens Java*.java *.class *.jar |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
habelitz | ||
parr | ||
stahl | ||
studman |
Oops, something went wrong.