Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
another failing test case for factor
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@303 ab42f6e0-554d-0410-b580-99e487e6eeb2
- Loading branch information
1 parent
be086bb
commit d828589
Showing
4 changed files
with
178 additions
and
0 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,44 @@ | ||
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"> | ||
<bgf:production> | ||
<nonterminal>a</nonterminal> | ||
<bgf:expression> | ||
<sequence> | ||
<bgf:expression> | ||
<nonterminal>b</nonterminal> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>arest</nonterminal> | ||
</bgf:expression> | ||
</sequence> | ||
</bgf:expression> | ||
</bgf:production> | ||
|
||
<bgf:production> | ||
<nonterminal>arest</nonterminal> | ||
<bgf:expression> | ||
<choice> | ||
<bgf:expression> | ||
<sequence> | ||
<bgf:expression> | ||
<nonterminal>c</nonterminal> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>d</nonterminal> | ||
</bgf:expression> | ||
</sequence> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<sequence> | ||
<bgf:expression> | ||
<nonterminal>e</nonterminal> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>f</nonterminal> | ||
</bgf:expression> | ||
</sequence> | ||
</bgf:expression> | ||
</choice> | ||
</bgf:expression> | ||
</bgf:production> | ||
|
||
</bgf: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,35 @@ | ||
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"> | ||
<bgf:production> | ||
<nonterminal>a</nonterminal> | ||
<bgf:expression> | ||
<choice> | ||
<bgf:expression> | ||
<sequence> | ||
<bgf:expression> | ||
<nonterminal>b</nonterminal> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>c</nonterminal> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>d</nonterminal> | ||
</bgf:expression> | ||
</sequence> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<sequence> | ||
<bgf:expression> | ||
<nonterminal>b</nonterminal> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>e</nonterminal> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>f</nonterminal> | ||
</bgf:expression> | ||
</sequence> | ||
</bgf:expression> | ||
</choice> | ||
</bgf:expression> | ||
</bgf:production> | ||
</bgf: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,98 @@ | ||
<xbgf:sequence | ||
xmlns:bgf="http://planet-sl.org/bgf" | ||
xmlns:xbgf="http://planet-sl.org/xbgf"> | ||
<xbgf:factor> | ||
<bgf:expression> | ||
<choice> | ||
<bgf:expression> | ||
<sequence> | ||
<bgf:expression> | ||
<nonterminal>b</nonterminal> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>c</nonterminal> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>d</nonterminal> | ||
</bgf:expression> | ||
</sequence> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<sequence> | ||
<bgf:expression> | ||
<nonterminal>b</nonterminal> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>e</nonterminal> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>f</nonterminal> | ||
</bgf:expression> | ||
</sequence> | ||
</bgf:expression> | ||
</choice> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<sequence> | ||
<bgf:expression> | ||
<nonterminal>b</nonterminal> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<choice> | ||
<bgf:expression> | ||
<sequence> | ||
<bgf:expression> | ||
<nonterminal>c</nonterminal> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>d</nonterminal> | ||
</bgf:expression> | ||
</sequence> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<sequence> | ||
<bgf:expression> | ||
<nonterminal>e</nonterminal> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>f</nonterminal> | ||
</bgf:expression> | ||
</sequence> | ||
</bgf:expression> | ||
</choice> | ||
</bgf:expression> | ||
</sequence> | ||
</bgf:expression> | ||
</xbgf:factor> | ||
|
||
<xbgf:extract> | ||
<bgf:production> | ||
<nonterminal>arest</nonterminal> | ||
<bgf:expression> | ||
<choice> | ||
<bgf:expression> | ||
<sequence> | ||
<bgf:expression> | ||
<nonterminal>c</nonterminal> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>d</nonterminal> | ||
</bgf:expression> | ||
</sequence> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<sequence> | ||
<bgf:expression> | ||
<nonterminal>e</nonterminal> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>f</nonterminal> | ||
</bgf:expression> | ||
</sequence> | ||
</bgf:expression> | ||
</choice> | ||
</bgf:expression> | ||
</bgf:production> | ||
</xbgf:extract> | ||
|
||
</xbgf:sequence> |