parser.h

phantasmal_dgd_v1/mud/include/phantasmal/parser.h · 487 B

From the archive phantasmal_dgd_v1.tar.gz

Download the archive   « Back to the archive contents

/*
 * Constants for registering verbs.
 */

#define VERB_INTRANSITIVE         1
#define VERB_TRANSITIVE           2
#define VERB_MAYBE_TRANSITIVE     3


/*
 * Constants used to decode the parse tree
 */
#define JOIN_AND 0
#define JOIN_INT 1
#define JOIN_SUB 2

#define PHR_VERB         16
#define PHR_NOUN         17
#define PHR_PREP         18
#define PHR_DET          19
#define PHR_IND_OBJ      20
#define PHR_ADJ          21

#define IVERB_CLAUSE     32
#define TVERB_CLAUSE     33

Site Stats

Snippets: 1791
Codebases: 571