diff options
Diffstat (limited to 'examples/tutorial/syntax/Grammar.gf')
| -rw-r--r-- | examples/tutorial/syntax/Grammar.gf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/tutorial/syntax/Grammar.gf b/examples/tutorial/syntax/Grammar.gf index 7dd06f6df..5484321ee 100644 --- a/examples/tutorial/syntax/Grammar.gf +++ b/examples/tutorial/syntax/Grammar.gf @@ -19,6 +19,7 @@ abstract Grammar = { V ; -- intransitive verb e.g. "boil" V2 ; -- two-place verb e.g. "eat" Pol ; -- polarity (pos or neg) + Conj ; -- conjunction e.g. "and" fun PhrS : S -> Phr ; @@ -41,6 +42,9 @@ abstract Grammar = { IDetCN : IDet -> CN -> IP ; + ConjS : Conj -> S -> S -> S ; + ConjNP : Conj -> NP -> NP -> NP ; + -- lexical insertion UseN : N -> CN ; @@ -64,6 +68,7 @@ abstract Grammar = { very_AdA : AdA ; + and_Conj : Conj ; -- polarities PPos, PNeg : Pol ; |
