mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-29 14:32:51 -06:00
moved lib/next-resource to next-lib/src, to enable linking with next-lib as value of GF_LIB_PATH
This commit is contained in:
12
next-lib/src/demo/Add.gf
Normal file
12
next-lib/src/demo/Add.gf
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
PredVS : NP -> VS -> S -> Cl ;
|
||||
PredVVV2A : NP -> VV -> V2A -> NP -> AP -> Cl ;
|
||||
RelCNAdvPrep : CN -> NP -> V -> Adv -> Prep -> CN ;
|
||||
|
||||
PredVS np vs s = PredVP np (ComplVS vs s) ;
|
||||
|
||||
PredVVV2A np vv v2 np2 ap = PredVP np (ComplVV vv (ComplSlash (SlashV2A v2 ap) np2)) ;
|
||||
|
||||
RelCNAdvPrep cn np v adv prep = RelCN cn (UseRCl TPast ASimul PPos
|
||||
(RelSlash IdRP (SlashPrep (PredVP np (AdvVP (UseV v) adv)) prep))) ;
|
||||
|
||||
Reference in New Issue
Block a user