definitions - /* Definitions.h, written by Steven V....

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: /* Definitions.h, written by Steven V. Walstra for COP5555 */ /* Last modified: Fri Apr 21 00:56:11 EDT 1995 */ /* This section includes integer definitions for all the valid RPAL types as well as a corresponding string array of the associated names. Also included are tree printing routines and all the structures used in the program (except those used in evaluation, which are in eval.h). */ #include <malloc.h> #include <string.h> #include <ctype.h> #include <stdio.h> #define ID 1 #define INTEGER 2 #define STRING 3 #define OP 4 #define DELETE 5 #define L_PAREN 6 #define R_PAREN 7 #define SEMI 8 #define COMMA 9 #define LAMBDA 10 /*10-16 -> Non-binary tree nodes*/ #define TAU 11 #define CONDITIONAL 12 #define ATX 13 #define AND2 14 #define FUNCT_FORM 15 #define FN 16 #define IN 18 #define PERIOD 19 #define LET 20 #define WHERE 21 #define AUG 22 #define OR 23 #define AND 24 #define NOT 25 #define GR 27 #define GE 28 #define LS 29 #define LE 30 #define EQ 31 #define NE 32 #define PLUS 35 #define MINUS 36 #define NEG 37 #define TIMES 38 #define DIVIDE 39 #define EXPO 40 #define BAR 41 #define GAMMA 45 #define TRUE 46 #define FALSE 47 #define XNIL 48 #define DUMMY 49 #define WITHIN 50 #define REC 51 #define EQUALS...
View Full Document

Page1 / 4

definitions - /* Definitions.h, written by Steven V....

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online