Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
fixed associativity issues
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@764 ab42f6e0-554d-0410-b580-99e487e6eeb2
- Loading branch information
1 parent
d580ad2
commit d2be3a0
Showing
4 changed files
with
188 additions
and
20 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,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"> | ||
<bgf:production> | ||
<nonterminal>foo</nonterminal> | ||
<bgf:expression> | ||
<choice> | ||
<bgf:expression> | ||
<selectable> | ||
<selector>one</selector> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</selectable> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<selectable> | ||
<selector>two</selector> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</selectable> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<selectable> | ||
<selector>three</selector> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</selectable> | ||
</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,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"> | ||
<bgf:production> | ||
<nonterminal>foo</nonterminal> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</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,36 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<xbgf:sequence xmlns:bgf="http://planet-sl.org/bgf" xmlns:xbgf="http://planet-sl.org/xbgf"> | ||
<xbgf:massage> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<choice> | ||
<bgf:expression> | ||
<selectable> | ||
<selector>one</selector> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</selectable> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<selectable> | ||
<selector>two</selector> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</selectable> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<selectable> | ||
<selector>three</selector> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</selectable> | ||
</bgf:expression> | ||
</choice> | ||
</bgf:expression> | ||
</xbgf:massage> | ||
</xbgf:sequence> |