J
junky_fellow
Hi,
As I read in previous threads in this newsgroup, that there is no
precedence and associativity in C. Still, precedence and associativity
rules may be used to parse an expression.
Applying precedence/associativity is easier rather than applying
grammar rules.
My question is, if all expressions that can be parsed using ANSI C
grammar, can also be parsed using precedence and associativity
rules ?
Is there anything that cannot be parsed or will give different result
when parsed using precedence/associativity as compared to ANSI C
grammar.
thanks,
rahul
As I read in previous threads in this newsgroup, that there is no
precedence and associativity in C. Still, precedence and associativity
rules may be used to parse an expression.
Applying precedence/associativity is easier rather than applying
grammar rules.
My question is, if all expressions that can be parsed using ANSI C
grammar, can also be parsed using precedence and associativity
rules ?
Is there anything that cannot be parsed or will give different result
when parsed using precedence/associativity as compared to ANSI C
grammar.
thanks,
rahul