Just a reminder; the grammar file is domain/grammar-2. The letters X, Y and Z are replaced with the names of grammatical categories wherever they occur.
The grammatical categories used are:
Aux, auxiliary (Carnie uses T for tense)
N, noun
V, verb
A, adjective/adverb
P, preposition
XP -> XSpec X' (selects an appropriate specifier)XP -> X' (has an empty specifier)X' -> AP X' (adjectival modifier)X' -> N' X' (nominal modifier)X' -> X' PP (prepositional modifier)X' -> X YP (phrasal complement)X' -> X (empty complement)V' -> V DComp (verb with ditransitive complement)DComp -> NP XP (nominal recipient, any object)DComp -> XP PP (prepositional recipient, any object)NSpec -> D (determiner)AuxSpec -> NP (subject of a sentence)NP -> NPword (actually, <NP> -> NP)PP -> PPword (actually, <PP> -> PP)AuxP -> AuxPword (actually, <AuxP> -> AuxP)Aux' -> XP (used when tense is part of the verb)