Bool

Boolean expression evaluation

These modules implement a simple compiler for evaluating boolean expressions.
The compiler is structured into two parts :

1: a front end for transforming a boolean expression from infix form to postfix form (consisting of : SCANNER, PARSER, EMITTER);

2: a back end for interpreting the postfix boolean expression using an abstract/software stack machine (consisting of : INTERPRETER).

The compiler “front end” and “back end” communicate using a common symbol table (cf BOOL.H).
______________________
MAKEFILE
BOOL.H
BOOL.C
BOOLTST.BAT
______________________
BOOL.C includes the general header files (see blog post: General):
general.h, error.h and stack.h

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: