Permalink
Browse files

BGF test set

git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@814 ab42f6e0-554d-0410-b580-99e487e6eeb2
  • Loading branch information...
grammarware committed Jul 11, 2010
1 parent 7b1117f commit 3d55c0b1dcc60d4811996ab7ab33bfb4f640d985
View
@@ -2,6 +2,10 @@ all:
install: install-antlr install-fop install-msv install-et install-pp install-generateDS install-gdk
+install-xig:
+ #curl -k http://labsewiki.isti.cnr.it/data/media/projects/taxi/taxi.exe
+ curl -k http://downloads.sourceforge.net/project/xml-xig/xml-xig/xml-xig%200.1/xml-xig-0.1.1.jar?use_mirror=citylan&ts=1278861268 >xml-xig-0.1.1.jar
+
install-gdk:
curl -k http://gdk.sourceforge.net/gdk-1.4.4.tar.gz > gdk-1.4.4.tar.gz
gzip -d gdk-1.4.4.tar.gz
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf">
+ <bgf:production>
+ <nonterminal>foo</nonterminal>
+ <bgf:expression>
+ <empty/>
+ </bgf:expression>
+ </bgf:production>
+</bgf:grammar>
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf">
+ <bgf:production>
+ <nonterminal>foo</nonterminal>
+ <bgf:expression>
+ <epsilon/>
+ </bgf:expression>
+ </bgf:production>
+</bgf:grammar>
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf">
+ <root>foo</root>
+ <bgf:production>
+ <nonterminal>foo</nonterminal>
+ <bgf:expression>
+ <nonterminal>bar</nonterminal>
+ </bgf:expression>
+ </bgf:production>
+</bgf:grammar>
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf">
+ <root>foo</root>
+ <root>bar</root>
+ <bgf:production>
+ <nonterminal>foo</nonterminal>
+ <bgf:expression>
+ <terminal>x</terminal>
+ </bgf:expression>
+ </bgf:production>
+ <bgf:production>
+ <nonterminal>bar</nonterminal>
+ <bgf:expression>
+ <terminal>x</terminal>
+ </bgf:expression>
+ </bgf:production>
+</bgf:grammar>
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf">
+ <bgf:production>
+ <nonterminal>foo</nonterminal>
+ <bgf:expression>
+ <value>int</value>
+ </bgf:expression>
+ </bgf:production>
+</bgf:grammar>
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf">
+ <bgf:production>
+ <nonterminal>foo</nonterminal>
+ <bgf:expression>
+ <value>string</value>
+ </bgf:expression>
+ </bgf:production>
+</bgf:grammar>
Binary file not shown.

0 comments on commit 3d55c0b

Please sign in to comment.