Autor: Edward Bartolo
Data:
Dla: dng
Temat: Re: [DNG] Studying C as told. (For help)
Hi,
Re-examining the Syntax Rules for the Boolean expressions I mentioned
earlier, I updated the syntax rules as follows:
Expressions of the form: (!AvB)^(Cv!D)
Syntax Rules:
a) operand = identifier
b) term = operand [ operator-->operand ... ]
c) sub-expression = term [ operator-->term ... ]
d) bracketed sub-expression = [ ! ... ] [ ( ... ] sub-expression [ ) ... ]
e) expression = [ ! ... ] sub-expression [ operator-->sub-expression ... ]
So, effectively, I will need five functions to implement the parser.
Edward