forked from grammarware/grammarware.github.io
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
separation between Grammar Zoo and Grammar Tank
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@1027 ab42f6e0-554d-0410-b580-99e487e6eeb2
- Loading branch information
1 parent
3c4ad06
commit e0cfa05
Showing
7 changed files
with
483 additions
and
478 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,38 @@ | ||
all: | ||
make bgf -f _dev/Makefile.ebnf.tank | ||
make bnf-bgf -f _dev/Makefile.ebnf.tank | ||
make bnf-sdf -f _dev/Makefile.ebnf.tank | ||
make ebnf-iso -f _dev/Makefile.ebnf.tank | ||
make ebnf-sdf -f _dev/Makefile.ebnf.tank | ||
make rascal -f _dev/Makefile.ebnf.tank | ||
make yacc -f _dev/Makefile.ebnf.tank | ||
chmod 644 tank/ebnf/*.bgf | ||
ls -1 tank/ebnf/*.bgf | xargs -n1 -I _ basename _ .bgf | xargs -n1 -I ZZZ make ZZZ.formats -f _dev/Makefile.ebnf.tank | ||
|
||
%.formats: | ||
../shared/tools/bgf2html tank/ebnf/$*.bgf tank/ebnf/$*.html | ||
../shared/tools/bgf2bnf tank/ebnf/$*.bgf tank/ebnf/$*.bnf | ||
../shared/tools/bgf2dms tank/ebnf/$*.bgf tank/ebnf/$*.dms | ||
../shared/tools/bgf2sdf tank/ebnf/$*.bgf tank/ebnf/$*.sdf | ||
../shared/tools/bgf2rsc tank/ebnf/$*.bgf tank/ebnf/$*.rsc | ||
|
||
bgf: | ||
../shared/tools/xsd2bgf ../shared/xsd/bgf.xsd tank/ebnf/bgf.bgf | ||
|
||
bnf-bgf: | ||
cp ../topics/grammars/bnf/bnf-bgf.bgf tank/ebnf/bnf-bgf.bgf | ||
|
||
bnf-sdf: | ||
cp ../topics/grammars/bnf/bnf.sdf.fix.bgf tank/ebnf/bnf-sdf.bgf | ||
|
||
ebnf-iso: | ||
cp ../topics/grammars/bnf/ebnf.iso.informal.fix.bgf tank/ebnf/ebnf-iso.bgf | ||
|
||
ebnf-sdf: | ||
cp ../topics/grammars/bnf/ebnf.sdf.fix.bgf tank/ebnf/ebnf-sdf.bgf | ||
|
||
rascal: | ||
cp ../topics/grammars/rascal/rascal.true.bgf tank/ebnf/rascal.bgf | ||
|
||
yacc: | ||
cp ../topics/grammars/bnf/yacc.sdf.fix.bgf tank/ebnf/yacc.bgf |
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,19 @@ | ||
all: | ||
make antlr -f _dev/Makefile.fl.tank | ||
make dcg -f _dev/Makefile.fl.tank | ||
make ecore -f _dev/Makefile.fl.tank | ||
make ecore2 -f _dev/Makefile.fl.tank | ||
make jaxb -f _dev/Makefile.fl.tank | ||
make om -f _dev/Makefile.fl.tank | ||
make sdf -f _dev/Makefile.fl.tank | ||
make txl -f _dev/Makefile.fl.tank | ||
make xsd -f _dev/Makefile.fl.tank | ||
chmod 644 tank/fl/*.bgf | ||
|
||
%: | ||
cp ../topics/convergence/fl/snapshot/$*.bgf tank/fl/$*.bgf | ||
../shared/tools/bgf2html tank/fl/$*.bgf tank/fl/$*.html | ||
../shared/tools/bgf2bnf tank/fl/$*.bgf tank/fl/$*.bnf | ||
../shared/tools/bgf2dms tank/fl/$*.bgf tank/fl/$*.dms | ||
../shared/tools/bgf2sdf tank/fl/$*.bgf tank/fl/$*.sdf | ||
../shared/tools/bgf2rsc tank/fl/$*.bgf tank/fl/$*.rsc |
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
Oops, something went wrong.