Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
done with EBNF ISO; 3 grammars recovered
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@1061 ab42f6e0-554d-0410-b580-99e487e6eeb2
- Loading branch information
1 parent
92aca6e
commit e79b185
Showing
12 changed files
with
412 additions
and
959 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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
include ../../Makefile.include | ||
|
||
extract: | ||
${tooldir}/xbgf generalize.xbgf ebnf.iso.informal.bgf ebnf-iso-1.bgf | ||
cp src.8.1.txt src.prepared.txt | ||
perl -pi -w -e 's/˜/~/g;' src.prepared.txt | ||
perl -pi -w -e 's/ˆ/^/g;' src.prepared.txt | ||
../../hunter.py src.prepared.txt config.edd ebnf-iso-1.raw.bgf | ||
${tooldir}/xbgf post-extract.xbgf ebnf-iso-1.raw.bgf ebnf-iso-1.ext.bgf | ||
${tooldir}/xbgf refactor.xbgf ebnf-iso-1.ext.bgf ebnf-iso-1.bgf | ||
|
||
clean: | ||
rm -f *.bnf *.html intermediate.lll tmp.xml *prepared* | ||
include ../../Makefile.include |
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 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<edd:config xmlns:edd="http://planet-sl.org/edd"> | ||
<defining-symbol>=</defining-symbol> | ||
<definition-separator-symbol>|</definition-separator-symbol> | ||
<concatenate-symbol>,</concatenate-symbol> | ||
<nonterminals-may-contain-spaces/> | ||
<terminator-symbol>;</terminator-symbol> | ||
<start-comment-symbol>(*</start-comment-symbol> | ||
<end-comment-symbol>*)</end-comment-symbol> | ||
<start-terminal-symbol>’</start-terminal-symbol> | ||
<end-terminal-symbol>’</end-terminal-symbol> | ||
<start-option-symbol>[</start-option-symbol> | ||
<end-option-symbol>]</end-option-symbol> | ||
<start-star-symbol>{</start-star-symbol> | ||
<end-star-symbol>}</end-star-symbol> | ||
<ignore-extra-newlines/> | ||
<mask> | ||
<token>"’"</token> | ||
<terminal>’</terminal> | ||
</mask> | ||
</edd:config> |
Oops, something went wrong.