Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
massage-related test cases reordered
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@502 ab42f6e0-554d-0410-b580-99e487e6eeb2
- Loading branch information
1 parent
81cef6c
commit 64d2c27
Showing
39 changed files
with
550 additions
and
128 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
7 changes: 4 additions & 3 deletions
7
...ansformation/xbgf/tests/massage6.baseline → ...rmation/xbgf/tests/massage_ch_ep.baseline
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,12 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"> | ||
<bgf:production> | ||
<nonterminal>A</nonterminal> | ||
<nonterminal>foo</nonterminal> | ||
<bgf:expression> | ||
<star> | ||
<bgf:expression> | ||
<nonterminal>X</nonterminal> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</star> | ||
</bgf:expression> | ||
</bgf:production> | ||
</bgf:grammar> | ||
</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,20 @@ | ||
<?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> | ||
<plus> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</plus> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<epsilon/> | ||
</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
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,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"> | ||
<bgf:production> | ||
<nonterminal>foo</nonterminal> | ||
<bgf:expression> | ||
<optional> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</optional> | ||
</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,20 @@ | ||
<?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> | ||
<optional> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</optional> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<epsilon/> | ||
</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,28 @@ | ||
<?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> | ||
<choice> | ||
<bgf:expression> | ||
<epsilon/> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<optional> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</optional> | ||
</bgf:expression> | ||
</choice> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<optional> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</optional> | ||
</bgf:expression> | ||
</xbgf:massage> | ||
</xbgf:sequence> |
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,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"> | ||
<bgf:production> | ||
<nonterminal>foo</nonterminal> | ||
<bgf:expression> | ||
<star> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</star> | ||
</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,20 @@ | ||
<?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> | ||
<star> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</star> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<epsilon/> | ||
</bgf:expression> | ||
</choice> | ||
</bgf:expression> | ||
</bgf:production> | ||
</bgf:grammar> |
26 changes: 12 additions & 14 deletions
26
...s/transformation/xbgf/tests/massage2.xbgf → ...nsformation/xbgf/tests/massage_ch_es.xbgf
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,30 +1,28 @@ | ||
<?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> | ||
<star> | ||
<bgf:expression> | ||
<nonterminal>function</nonterminal> | ||
</bgf:expression> | ||
</star> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<choice> | ||
<bgf:expression> | ||
<epsilon/> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<plus> | ||
<star> | ||
<bgf:expression> | ||
<nonterminal>function</nonterminal> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</plus> | ||
</star> | ||
</bgf:expression> | ||
</choice> | ||
</bgf:expression> | ||
<in> | ||
<nonterminal>program</nonterminal> | ||
</in> | ||
<bgf:expression> | ||
<star> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</star> | ||
</bgf:expression> | ||
</xbgf:massage> | ||
</xbgf:sequence> | ||
</xbgf:sequence> |
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,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"> | ||
<bgf:production> | ||
<nonterminal>foo</nonterminal> | ||
<bgf:expression> | ||
<optional> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</optional> | ||
</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,16 @@ | ||
<?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> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<epsilon/> | ||
</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,24 @@ | ||
<?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> | ||
<choice> | ||
<bgf:expression> | ||
<epsilon/> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</choice> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<optional> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</optional> | ||
</bgf:expression> | ||
</xbgf:massage> | ||
</xbgf:sequence> |
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,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"> | ||
<bgf:production> | ||
<nonterminal>foo</nonterminal> | ||
<bgf:expression> | ||
<star> | ||
<bgf:expression> | ||
<nonterminal>bar</nonterminal> | ||
</bgf:expression> | ||
</star> | ||
</bgf:expression> | ||
</bgf:production> | ||
</bgf:grammar> |
Oops, something went wrong.