Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proudly presenting The SLPS Grammar Zoo!
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@800 ab42f6e0-554d-0410-b580-99e487e6eeb2
- Loading branch information
1 parent
badd58c
commit f0b546b
Showing
10 changed files
with
1,079 additions
and
2 deletions.
There are no files selected for viewing
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,12 @@ | ||
all: | ||
make iso-9899-1999 -f Makefile.c.zoo | ||
make iso-9899-tc2 -f Makefile.c.zoo | ||
make iso-9899-tc3 -f Makefile.c.zoo | ||
|
||
%: | ||
cp ../topics/grammars/c/$*/extracted-grammar.bgf zoo/c/$*.bgf | ||
cp ../topics/grammars/c/$*/intermediate.lll zoo/c/$*.lll | ||
../shared/tools/bgf2html zoo/c/$*.bgf zoo/c/$*.html | ||
../shared/tools/bgf2bnf zoo/c/$*.bgf zoo/c/$*.bnf | ||
../shared/tools/bgf2dms zoo/c/$*.bgf zoo/c/$*.dms | ||
../shared/tools/bgf2sdf zoo/c/$*.bgf zoo/c/$*.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,10 @@ | ||
all: | ||
make iso-14882-1998 -f Makefile.cpp.zoo | ||
|
||
%: | ||
cp ../topics/grammars/cpp/$*/extracted-grammar.bgf zoo/cpp/$*.bgf | ||
cp ../topics/grammars/cpp/$*/intermediate.lll zoo/cpp/$*.lll | ||
../shared/tools/bgf2html zoo/cpp/$*.bgf zoo/cpp/$*.html | ||
../shared/tools/bgf2bnf zoo/cpp/$*.bgf zoo/cpp/$*.bnf | ||
../shared/tools/bgf2dms zoo/cpp/$*.bgf zoo/cpp/$*.dms | ||
../shared/tools/bgf2sdf zoo/cpp/$*.bgf zoo/cpp/$*.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,34 @@ | ||
all: | ||
make ecma-334-1 -f Makefile.csharp.zoo | ||
make ecma-334-2 -f Makefile.csharp.zoo | ||
make ecma-334-3 -f Makefile.csharp.zoo | ||
make ecma-334-4 -f Makefile.csharp.zoo | ||
make iso-23270-2003-extracted -f Makefile.csharp.zoo | ||
make iso-23270-2003-recovered -f Makefile.csharp.zoo | ||
make iso-23270-2006 -f Makefile.csharp.zoo | ||
make msft-ls-1.0 -f Makefile.csharp.zoo | ||
make msft-ls-1.2 -f Makefile.csharp.zoo | ||
make msft-ls-3.0 -f Makefile.csharp.zoo | ||
make msft-ls-4.0 -f Makefile.csharp.zoo | ||
|
||
%: | ||
cp ../topics/grammars/csharp/$*/extracted-grammar.bgf zoo/csharp/$*.bgf | ||
cp ../topics/grammars/csharp/$*/intermediate.lll zoo/csharp/$*.lll | ||
../shared/tools/bgf2html zoo/csharp/$*.bgf zoo/csharp/$*.html | ||
../shared/tools/bgf2bnf zoo/csharp/$*.bgf zoo/csharp/$*.bnf | ||
../shared/tools/bgf2dms zoo/csharp/$*.bgf zoo/csharp/$*.dms | ||
../shared/tools/bgf2sdf zoo/csharp/$*.bgf zoo/csharp/$*.sdf | ||
|
||
iso-23270-2003-extracted: | ||
cp ../topics/grammars/csharp/iso-23270-2003/extracted-grammar.bgf zoo/csharp/iso-23270-2003.bgf | ||
../shared/tools/bgf2html zoo/csharp/iso-23270-2003.bgf zoo/csharp/iso-23270-2003.html | ||
../shared/tools/bgf2bnf zoo/csharp/iso-23270-2003.bgf zoo/csharp/iso-23270-2003.bnf | ||
../shared/tools/bgf2dms zoo/csharp/iso-23270-2003.bgf zoo/csharp/iso-23270-2003.dms | ||
../shared/tools/bgf2sdf zoo/csharp/iso-23270-2003.bgf zoo/csharp/iso-23270-2003.sdf | ||
|
||
iso-23270-2003-recovered: | ||
cp ../topics/grammars/csharp/iso-23270-2003/recovered-grammar.bgf zoo/csharp/iso-23270-2003-recovered.bgf | ||
../shared/tools/bgf2html zoo/csharp/iso-23270-2003-recovered.bgf zoo/csharp/iso-23270-2003-recovered.html | ||
../shared/tools/bgf2bnf zoo/csharp/iso-23270-2003-recovered.bgf zoo/csharp/iso-23270-2003-recovered.bnf | ||
../shared/tools/bgf2dms zoo/csharp/iso-23270-2003-recovered.bgf zoo/csharp/iso-23270-2003-recovered.dms | ||
../shared/tools/bgf2sdf zoo/csharp/iso-23270-2003-recovered.bgf zoo/csharp/iso-23270-2003-recovered.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,16 @@ | ||
all: | ||
make 1.jls -f Makefile.java.zoo | ||
make 2.jls -f Makefile.java.zoo | ||
make 3.jls -f Makefile.java.zoo | ||
|
||
%.jls: | ||
cp ../topics/grammars/java/jls$*/extracted-implementable-grammar.bgf zoo/java/jls$*-impl.bgf | ||
make jls$*-impl.formats -f Makefile.java.zoo | ||
cp ../topics/grammars/java/jls$*/extracted-readable-grammar.bgf zoo/java/jls$*-read.bgf | ||
make jls$*-read.formats -f Makefile.java.zoo | ||
|
||
%.formats: | ||
../shared/tools/bgf2html zoo/java/$*.bgf zoo/java/$*.html | ||
../shared/tools/bgf2bnf zoo/java/$*.bgf zoo/java/$*.bnf | ||
../shared/tools/bgf2dms zoo/java/$*.bgf zoo/java/$*.dms | ||
../shared/tools/bgf2sdf zoo/java/$*.bgf zoo/java/$*.sdf |
Oops, something went wrong.