summaryrefslogtreecommitdiff
path: root/examples/model/MathI.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2007-02-28 15:49:13 +0000
committeraarne <aarne@cs.chalmers.se>2007-02-28 15:49:13 +0000
commit6248b4a1c79015f2fee994d61240b22fc2ed151e (patch)
tree9fd03e014fd6b219e53fbaa6a0494f64554f3d13 /examples/model/MathI.gf
parentb7890313963071961bdf4ac45f69a42da8977d95 (diff)
model for resource
Diffstat (limited to 'examples/model/MathI.gf')
-rw-r--r--examples/model/MathI.gf16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/model/MathI.gf b/examples/model/MathI.gf
new file mode 100644
index 000000000..7acf0f895
--- /dev/null
+++ b/examples/model/MathI.gf
@@ -0,0 +1,16 @@
+incomplete concrete MathI of Math =
+ open Grammar, Combinators, Predication, Lex in {
+
+ flags startcat = Prop ;
+
+ lincat
+ Prop = S ;
+ Elem = NP ;
+
+ lin
+ And x y = coord and_Conj x y ;
+ Even x = PosCl (pred even_A x) ;
+ Odd x = PosCl (pred odd_A x) ;
+ Zero = UsePN zero_PN ;
+
+}