Permalink
Browse files

normalized test data set

git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@840 ab42f6e0-554d-0410-b580-99e487e6eeb2
  • Loading branch information...
grammarware committed Oct 13, 2010
1 parent 8818210 commit e76284a9a8f7e0be7a1c8afa5e46611eda2e3219
Showing 4,091 changed files with 79,146 additions and 4,092 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
@@ -1,8 +1,17 @@
generate:
@echo 'Generating the big test set...'
@python ../../../shared/python/generateBGF.py tests
@rm -f tests/*
@rm -f tests.draft/*
@rm -f tests.small/*
@python ../../../shared/python/generateBGF.py tests.draft
@echo 'Normalizing the big test set...'
@ls -1 tests.draft | xargs -n1 -I _ xbgf ../../transformation/normalization/empty.xbgf tests.draft/_ tests/_
@rm -f tests.draft/*
@echo 'Generating the small test set...'
@python ../../../shared/python/generateBGF.py tests.small etn qpk --nolabel
@python ../../../shared/python/generateBGF.py tests.draft etn qpk --nolabel
@echo 'Normalizing the small test set...'
@ls -1 tests.draft | xargs -n1 -I _ xbgf ../../transformation/normalization/empty.xbgf tests.draft/_ tests.small/_
@rm -f tests.draft/*
@echo 'Both test cases generated.'
test:
@@ -1 +1,10 @@
<?xml version="1.0"?><bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><bgf:production><nonterminal>bar</nonterminal><bgf:expression><choice><bgf:expression><choice><bgf:expression><epsilon/></bgf:expression><bgf:expression><epsilon/></bgf:expression></choice></bgf:expression><bgf:expression><epsilon/></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<xns1:production>
<nonterminal>bar</nonterminal>
<xns1:expression>
<epsilon/>
</xns1:expression>
</xns1:production>
</xns1:grammar>
@@ -1 +1,17 @@
<?xml version="1.0"?><bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><bgf:production><nonterminal>bar</nonterminal><bgf:expression><choice><bgf:expression><choice><bgf:expression><epsilon/></bgf:expression><bgf:expression><epsilon/></bgf:expression></choice></bgf:expression><bgf:expression><nonterminal>x</nonterminal></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<xns1:production>
<nonterminal>bar</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<epsilon/>
</xns1:expression>
<xns1:expression>
<nonterminal>x</nonterminal>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
</xns1:grammar>
@@ -1 +1,17 @@
<?xml version="1.0"?><bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><bgf:production><nonterminal>bar</nonterminal><bgf:expression><choice><bgf:expression><choice><bgf:expression><epsilon/></bgf:expression><bgf:expression><epsilon/></bgf:expression></choice></bgf:expression><bgf:expression><terminal>x</terminal></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<xns1:production>
<nonterminal>bar</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<epsilon/>
</xns1:expression>
<xns1:expression>
<terminal>x</terminal>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
</xns1:grammar>
@@ -1 +1,17 @@
<?xml version="1.0"?><bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><bgf:production><nonterminal>bar</nonterminal><bgf:expression><choice><bgf:expression><choice><bgf:expression><epsilon/></bgf:expression><bgf:expression><nonterminal>x</nonterminal></bgf:expression></choice></bgf:expression><bgf:expression><epsilon/></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<xns1:production>
<nonterminal>bar</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<nonterminal>x</nonterminal>
</xns1:expression>
<xns1:expression>
<epsilon/>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
</xns1:grammar>
@@ -1 +1,17 @@
<?xml version="1.0"?><bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><bgf:production><nonterminal>bar</nonterminal><bgf:expression><choice><bgf:expression><choice><bgf:expression><epsilon/></bgf:expression><bgf:expression><nonterminal>x</nonterminal></bgf:expression></choice></bgf:expression><bgf:expression><nonterminal>x</nonterminal></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<xns1:production>
<nonterminal>bar</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<epsilon/>
</xns1:expression>
<xns1:expression>
<nonterminal>x</nonterminal>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
</xns1:grammar>
@@ -1 +1,20 @@
<?xml version="1.0"?><bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><bgf:production><nonterminal>bar</nonterminal><bgf:expression><choice><bgf:expression><choice><bgf:expression><epsilon/></bgf:expression><bgf:expression><nonterminal>x</nonterminal></bgf:expression></choice></bgf:expression><bgf:expression><terminal>x</terminal></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<xns1:production>
<nonterminal>bar</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<epsilon/>
</xns1:expression>
<xns1:expression>
<nonterminal>x</nonterminal>
</xns1:expression>
<xns1:expression>
<terminal>x</terminal>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
</xns1:grammar>
@@ -1 +1,17 @@
<?xml version="1.0"?><bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><bgf:production><nonterminal>bar</nonterminal><bgf:expression><choice><bgf:expression><choice><bgf:expression><epsilon/></bgf:expression><bgf:expression><terminal>x</terminal></bgf:expression></choice></bgf:expression><bgf:expression><epsilon/></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<xns1:production>
<nonterminal>bar</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<terminal>x</terminal>
</xns1:expression>
<xns1:expression>
<epsilon/>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
</xns1:grammar>
@@ -1 +1,20 @@
<?xml version="1.0"?><bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><bgf:production><nonterminal>bar</nonterminal><bgf:expression><choice><bgf:expression><choice><bgf:expression><epsilon/></bgf:expression><bgf:expression><terminal>x</terminal></bgf:expression></choice></bgf:expression><bgf:expression><nonterminal>x</nonterminal></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<xns1:production>
<nonterminal>bar</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<epsilon/>
</xns1:expression>
<xns1:expression>
<terminal>x</terminal>
</xns1:expression>
<xns1:expression>
<nonterminal>x</nonterminal>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
</xns1:grammar>
@@ -1 +1,17 @@
<?xml version="1.0"?><bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><bgf:production><nonterminal>bar</nonterminal><bgf:expression><choice><bgf:expression><choice><bgf:expression><epsilon/></bgf:expression><bgf:expression><terminal>x</terminal></bgf:expression></choice></bgf:expression><bgf:expression><terminal>x</terminal></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<xns1:production>
<nonterminal>bar</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<epsilon/>
</xns1:expression>
<xns1:expression>
<terminal>x</terminal>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
</xns1:grammar>
@@ -1 +1,17 @@
<?xml version="1.0"?><bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><bgf:production><nonterminal>bar</nonterminal><bgf:expression><choice><bgf:expression><choice><bgf:expression><nonterminal>x</nonterminal></bgf:expression><bgf:expression><epsilon/></bgf:expression></choice></bgf:expression><bgf:expression><epsilon/></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<xns1:production>
<nonterminal>bar</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<nonterminal>x</nonterminal>
</xns1:expression>
<xns1:expression>
<epsilon/>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
</xns1:grammar>
@@ -1 +1,17 @@
<?xml version="1.0"?><bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><bgf:production><nonterminal>bar</nonterminal><bgf:expression><choice><bgf:expression><choice><bgf:expression><nonterminal>x</nonterminal></bgf:expression><bgf:expression><epsilon/></bgf:expression></choice></bgf:expression><bgf:expression><nonterminal>x</nonterminal></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<xns1:production>
<nonterminal>bar</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<epsilon/>
</xns1:expression>
<xns1:expression>
<nonterminal>x</nonterminal>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
</xns1:grammar>
@@ -1 +1,20 @@
<?xml version="1.0"?><bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><bgf:production><nonterminal>bar</nonterminal><bgf:expression><choice><bgf:expression><choice><bgf:expression><nonterminal>x</nonterminal></bgf:expression><bgf:expression><epsilon/></bgf:expression></choice></bgf:expression><bgf:expression><terminal>x</terminal></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<xns1:production>
<nonterminal>bar</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<nonterminal>x</nonterminal>
</xns1:expression>
<xns1:expression>
<epsilon/>
</xns1:expression>
<xns1:expression>
<terminal>x</terminal>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
</xns1:grammar>
@@ -1 +1,17 @@
<?xml version="1.0"?><bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><bgf:production><nonterminal>bar</nonterminal><bgf:expression><choice><bgf:expression><choice><bgf:expression><nonterminal>x</nonterminal></bgf:expression><bgf:expression><nonterminal>x</nonterminal></bgf:expression></choice></bgf:expression><bgf:expression><epsilon/></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<xns1:production>
<nonterminal>bar</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<nonterminal>x</nonterminal>
</xns1:expression>
<xns1:expression>
<epsilon/>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
</xns1:grammar>
@@ -1 +1,10 @@
<?xml version="1.0"?><bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><bgf:production><nonterminal>bar</nonterminal><bgf:expression><choice><bgf:expression><choice><bgf:expression><nonterminal>x</nonterminal></bgf:expression><bgf:expression><nonterminal>x</nonterminal></bgf:expression></choice></bgf:expression><bgf:expression><nonterminal>x</nonterminal></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<xns1:production>
<nonterminal>bar</nonterminal>
<xns1:expression>
<nonterminal>x</nonterminal>
</xns1:expression>
</xns1:production>
</xns1:grammar>
@@ -1 +1,17 @@
<?xml version="1.0"?><bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><bgf:production><nonterminal>bar</nonterminal><bgf:expression><choice><bgf:expression><choice><bgf:expression><nonterminal>x</nonterminal></bgf:expression><bgf:expression><nonterminal>x</nonterminal></bgf:expression></choice></bgf:expression><bgf:expression><terminal>x</terminal></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<xns1:production>
<nonterminal>bar</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<nonterminal>x</nonterminal>
</xns1:expression>
<xns1:expression>
<terminal>x</terminal>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
</xns1:grammar>
@@ -1 +1,20 @@
<?xml version="1.0"?><bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><bgf:production><nonterminal>bar</nonterminal><bgf:expression><choice><bgf:expression><choice><bgf:expression><nonterminal>x</nonterminal></bgf:expression><bgf:expression><terminal>x</terminal></bgf:expression></choice></bgf:expression><bgf:expression><epsilon/></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<xns1:production>
<nonterminal>bar</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<nonterminal>x</nonterminal>
</xns1:expression>
<xns1:expression>
<terminal>x</terminal>
</xns1:expression>
<xns1:expression>
<epsilon/>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
</xns1:grammar>
@@ -1 +1,17 @@
<?xml version="1.0"?><bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><bgf:production><nonterminal>bar</nonterminal><bgf:expression><choice><bgf:expression><choice><bgf:expression><nonterminal>x</nonterminal></bgf:expression><bgf:expression><terminal>x</terminal></bgf:expression></choice></bgf:expression><bgf:expression><nonterminal>x</nonterminal></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<xns1:production>
<nonterminal>bar</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<terminal>x</terminal>
</xns1:expression>
<xns1:expression>
<nonterminal>x</nonterminal>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
</xns1:grammar>
@@ -1 +1,17 @@
<?xml version="1.0"?><bgf:grammar xmlns:bgf="http://planet-sl.org/bgf"><bgf:production><nonterminal>bar</nonterminal><bgf:expression><choice><bgf:expression><choice><bgf:expression><nonterminal>x</nonterminal></bgf:expression><bgf:expression><terminal>x</terminal></bgf:expression></choice></bgf:expression><bgf:expression><terminal>x</terminal></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<xns1:production>
<nonterminal>bar</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<nonterminal>x</nonterminal>
</xns1:expression>
<xns1:expression>
<terminal>x</terminal>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
</xns1:grammar>
Oops, something went wrong.

0 comments on commit e76284a

Please sign in to comment.