In problem 2.1, is it safe to assume that precedence is already given to multiplication/division?
In problem 2.7e, how are parentheses handled? Are they an unary operator? For problem 2.12... What exactly are "gimmicks"? Can you explain a little further what you mean by having the parse tree correspond the the abstract syntax of the expression? Does this just mean that we are to write our own context-free grammar using the C operators? Finally, are there any special rules to follow for turning in this assignment? For example, can we have a .ps file that has our trees and a text file that has our responses to other questions?
|
Precedence yes, parentheses no, gimmicks whatever, format your choice by Mike O'Donnell, 2000, Oct 09
question about the expression grammar by Michael C. Brizic, 2000, Oct 10
Correctness requires more than avoiding ambiguity by Mike O'Donnell, 2000, Oct 10
to: