-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
smarter extractor ⇒ easier convergence
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@1159 ab42f6e0-554d-0410-b580-99e487e6eeb2
- Loading branch information
1 parent
f0b8fd4
commit 5ca8708
Showing
3 changed files
with
155 additions
and
142 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,101 +1,99 @@ | ||
<xbgf:sequence | ||
xmlns:bgf="http://planet-sl.org/bgf" | ||
xmlns:xbgf="http://planet-sl.org/xbgf"> | ||
|
||
<xbgf:narrow> | ||
<bgf:expression> | ||
<any/> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>function</nonterminal> | ||
</bgf:expression> | ||
<in> | ||
<nonterminal>program</nonterminal> | ||
</in> | ||
</xbgf:narrow> | ||
|
||
<xbgf:narrow> | ||
<bgf:expression> | ||
<star> | ||
<bgf:expression> | ||
<nonterminal>function</nonterminal> | ||
</bgf:expression> | ||
</star> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<plus> | ||
<bgf:expression> | ||
<nonterminal>function</nonterminal> | ||
</bgf:expression> | ||
</plus> | ||
</bgf:expression> | ||
<in> | ||
<nonterminal>program</nonterminal> | ||
</in> | ||
</xbgf:narrow> | ||
|
||
<xbgf:narrow> | ||
<bgf:expression> | ||
<any/> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<value>string</value> | ||
</bgf:expression> | ||
<in> | ||
<nonterminal>function</nonterminal> | ||
</in> | ||
</xbgf:narrow> | ||
|
||
<xbgf:narrow> | ||
<bgf:expression> | ||
<star> | ||
<bgf:expression> | ||
<value>string</value> | ||
</bgf:expression> | ||
</star> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<plus> | ||
<bgf:expression> | ||
<value>string</value> | ||
</bgf:expression> | ||
</plus> | ||
</bgf:expression> | ||
<in> | ||
<nonterminal>function</nonterminal> | ||
</in> | ||
</xbgf:narrow> | ||
|
||
<xbgf:narrow> | ||
<bgf:expression> | ||
<any/> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>expr</nonterminal> | ||
</bgf:expression> | ||
<in> | ||
<nonterminal>apply</nonterminal> | ||
</in> | ||
</xbgf:narrow> | ||
|
||
<xbgf:narrow> | ||
<bgf:expression> | ||
<star> | ||
<bgf:expression> | ||
<nonterminal>expr</nonterminal> | ||
</bgf:expression> | ||
</star> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<plus> | ||
<bgf:expression> | ||
<nonterminal>expr</nonterminal> | ||
</bgf:expression> | ||
</plus> | ||
</bgf:expression> | ||
<in> | ||
<nonterminal>apply</nonterminal> | ||
</in> | ||
</xbgf:narrow> | ||
|
||
<?xml version="1.0"?> | ||
<xbgf:sequence xmlns:bgf="http://planet-sl.org/bgf" xmlns:xbgf="http://planet-sl.org/xbgf"> | ||
<!-- legacy of the old and stupid java2bgf extractor | ||
<xbgf:narrow> | ||
<bgf:expression> | ||
<any/> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>function</nonterminal> | ||
</bgf:expression> | ||
<in> | ||
<nonterminal>program</nonterminal> | ||
</in> | ||
</xbgf:narrow> | ||
--> | ||
<xbgf:narrow> | ||
<bgf:expression> | ||
<star> | ||
<bgf:expression> | ||
<nonterminal>function</nonterminal> | ||
</bgf:expression> | ||
</star> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<plus> | ||
<bgf:expression> | ||
<nonterminal>function</nonterminal> | ||
</bgf:expression> | ||
</plus> | ||
</bgf:expression> | ||
<in> | ||
<nonterminal>program</nonterminal> | ||
</in> | ||
</xbgf:narrow> | ||
<!-- legacy of the old and stupid java2bgf extractor | ||
<xbgf:narrow> | ||
<bgf:expression> | ||
<any/> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<value>string</value> | ||
</bgf:expression> | ||
<in> | ||
<nonterminal>function</nonterminal> | ||
</in> | ||
</xbgf:narrow> | ||
--> | ||
<xbgf:narrow> | ||
<bgf:expression> | ||
<star> | ||
<bgf:expression> | ||
<value>string</value> | ||
</bgf:expression> | ||
</star> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<plus> | ||
<bgf:expression> | ||
<value>string</value> | ||
</bgf:expression> | ||
</plus> | ||
</bgf:expression> | ||
<in> | ||
<nonterminal>function</nonterminal> | ||
</in> | ||
</xbgf:narrow> | ||
<!-- legacy of the old and stupid java2bgf extractor | ||
<xbgf:narrow> | ||
<bgf:expression> | ||
<any/> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<nonterminal>expr</nonterminal> | ||
</bgf:expression> | ||
<in> | ||
<nonterminal>apply</nonterminal> | ||
</in> | ||
</xbgf:narrow> | ||
--> | ||
<xbgf:narrow> | ||
<bgf:expression> | ||
<star> | ||
<bgf:expression> | ||
<nonterminal>expr</nonterminal> | ||
</bgf:expression> | ||
</star> | ||
</bgf:expression> | ||
<bgf:expression> | ||
<plus> | ||
<bgf:expression> | ||
<nonterminal>expr</nonterminal> | ||
</bgf:expression> | ||
</plus> | ||
</bgf:expression> | ||
<in> | ||
<nonterminal>apply</nonterminal> | ||
</in> | ||
</xbgf:narrow> | ||
</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
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