COMPUTER ARCHITECTURE
Spring Semester 2001
COMPUTER ARCHITECTURE - Spring 2001 Programming Assignments
- PROG #8: EXPRESSION PARSING - BOOLEAN ALGEBRA TRUTH TABLES
Write a program that will read in an arbitrary Boolean expression of up to four
variables and will print the corresponding truth table. The expression
should be accepted in INFIX form, and may contain parentheses and should reflect
proper operator precedence. Use recursive descent parsing.