summaryrefslogtreecommitdiff
path: root/examples/mathtext/GeometryEng.gf
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mathtext/GeometryEng.gf')
-rw-r--r--examples/mathtext/GeometryEng.gf18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/mathtext/GeometryEng.gf b/examples/mathtext/GeometryEng.gf
new file mode 100644
index 000000000..bb8243527
--- /dev/null
+++ b/examples/mathtext/GeometryEng.gf
@@ -0,0 +1,18 @@
+--# -path=alltenses
+
+concrete GeometryEng of Geometry = LogicEng **
+ open SyntaxEng, ParadigmsEng in {
+lin
+ Line = mkN "line" ;
+ Point = mkN "point" ;
+ Circle = mkN "circle" ;
+ Intersect = pred (mkV2 "intersect") ;
+ Parallel = pred (mkA2 (mkA "parallel") (mkPrep "to")) ;
+ Vertical = pred (mkA "vertical") ;
+ Centre = app (mkN2 (mkN "centre") (mkPrep "of")) ;
+
+ Horizontal = mkVP (mkA "horizontal") ;
+ Diverge = mkVP (mkV "diverge") ;
+
+ Contain = mkVPSlash (mkV2 "contain") ;
+}