Skip to content

Commit

Permalink
TESCOL → Grammar Tank
Browse files Browse the repository at this point in the history
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@1029 ab42f6e0-554d-0410-b580-99e487e6eeb2
  • Loading branch information
grammarware committed Apr 21, 2011
1 parent e0cfa05 commit ae07ddf
Show file tree
Hide file tree
Showing 7 changed files with 1,109 additions and 7 deletions.
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -17,10 +17,13 @@ zooprj:
make -f _dev/Makefile.c.zoo
make -f _dev/Makefile.cpp.zoo
make -f _dev/Makefile.csharp.zoo
make -f _dev/Makefile.for.zoo
make -f _dev/Makefile.java.zoo
make -f _dev/Makefile.mod.zoo
make -f _dev/Makefile.xpath.zoo
make -f _dev/Makefile.fl.tank
make -f _dev/Makefile.ebnf.tank
make -f _dev/Makefile.tescol.tank
make zoolists

zoolists:
Expand Down
14 changes: 14 additions & 0 deletions _dev/Makefile.for.zoo
@@ -0,0 +1,14 @@
all:
make for90 -f _dev/Makefile.for.zoo
chmod 644 zoo/fortran/*.bgf
ls -1 zoo/fortran/*.bgf | xargs -n1 -I _ basename _ .bgf | xargs -n1 -I ZZZ make ZZZ.formats -f _dev/Makefile.for.zoo

%.formats:
../shared/tools/bgf2html zoo/fortran/$*.bgf zoo/fortran/$*.html
../shared/tools/bgf2bnf zoo/fortran/$*.bgf zoo/fortran/$*.bnf
../shared/tools/bgf2dms zoo/fortran/$*.bgf zoo/fortran/$*.dms
../shared/tools/bgf2sdf zoo/fortran/$*.bgf zoo/fortran/$*.sdf
../shared/tools/bgf2rsc zoo/fortran/$*.bgf zoo/fortran/$*.rsc

for90:
cp ../topics/grammars/fortran/fortran.sdf.rec.bgf zoo/fortran/fortran90.bgf
14 changes: 14 additions & 0 deletions _dev/Makefile.mod.zoo
@@ -0,0 +1,14 @@
all:
make mod3 -f _dev/Makefile.mod.zoo
chmod 644 zoo/modula/*.bgf
ls -1 zoo/modula/*.bgf | xargs -n1 -I _ basename _ .bgf | xargs -n1 -I ZZZ make ZZZ.formats -f _dev/Makefile.mod.zoo

%.formats:
../shared/tools/bgf2html zoo/modula/$*.bgf zoo/modula/$*.html
../shared/tools/bgf2bnf zoo/modula/$*.bgf zoo/modula/$*.bnf
../shared/tools/bgf2dms zoo/modula/$*.bgf zoo/modula/$*.dms
../shared/tools/bgf2sdf zoo/modula/$*.bgf zoo/modula/$*.sdf
../shared/tools/bgf2rsc zoo/modula/$*.bgf zoo/modula/$*.rsc

mod3:
cp ../topics/grammars/modula/modula.3.sdf.rec.bgf zoo/modula/modula3.bgf

0 comments on commit ae07ddf

Please sign in to comment.