forked from GitHub/gf-core
resource examples in tutorial
This commit is contained in:
20
doc/tutorial/arithm/ArithmI.gf
Normal file
20
doc/tutorial/arithm/ArithmI.gf
Normal file
@@ -0,0 +1,20 @@
|
||||
--# -path=.:alltenses:prelude
|
||||
|
||||
incomplete concrete ArithmI of Arithm = open Lang, Lex in {
|
||||
|
||||
lincat
|
||||
Prop = S ;
|
||||
Nat = NP ;
|
||||
|
||||
lin
|
||||
Zero =
|
||||
UsePN zero_PN ;
|
||||
Succ n =
|
||||
DetCN (DetSg (SgQuant DefArt) NoOrd) (ComplN2 successor_N2 n) ;
|
||||
Even n =
|
||||
UseCl TPres ASimul PPos
|
||||
(PredVP n (UseComp (CompAP (PositA even_A)))) ;
|
||||
And x y =
|
||||
ConjS and_Conj (BaseS x y) ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user