mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-16 06:32:51 -06:00
model for resource
This commit is contained in:
16
examples/model/MathI.gf
Normal file
16
examples/model/MathI.gf
Normal file
@@ -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 ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user