mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 11:42:49 -06:00
gf-book web page index and toc
This commit is contained in:
11
gf-book/examples/chapter8/GeometryEngb.gf
Normal file
11
gf-book/examples/chapter8/GeometryEngb.gf
Normal file
@@ -0,0 +1,11 @@
|
||||
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")) ;
|
||||
}
|
||||
Reference in New Issue
Block a user