summaryrefslogtreecommitdiff
path: root/examples/model/MathI.gf
diff options
context:
space:
mode:
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 ;
+
+}