Re: Grammar -> Parser question

"Quinn Tyler Jackson" <qjackson@wave.home.com>
18 Jun 1998 11:11:23 -0400

          From comp.compilers

Related articles
Grammar -> Parser question chris63@my-dejanews.com (1998-06-04)
Re: Grammar -> Parser question td@sysinno.se (Torbjorn Drevin) (1998-06-09)
Re: Grammar -> Parser question torbenm@diku.dk (Torben Mogensen) (1998-06-09)
Re: Grammar -> Parser question dwight@pentasoft.com (1998-06-09)
Re: Grammar -> Parser question qjackson@wave.home.com (Quinn Tyler Jackson) (1998-06-09)
Re: Grammar -> Parser question qjackson@wave.home.com (Quinn Tyler Jackson) (1998-06-18)
| List of all articles for this month |
From: "Quinn Tyler Jackson" <qjackson@wave.home.com>
Newsgroups: comp.compilers
Date: 18 Jun 1998 11:11:23 -0400
Organization: Compilers Central
References: 98-06-018 98-06-035
Keywords: parse

>Isn't a "condition" simply an expression that solves to non-zero, or is
>there some reason that this is not the case with the grammar in question?




>[Not all languages are C. Many languages have boolean variables and
>boolean values separate from arithmetic values. -John]




I must have been sleeping when my doppelganger wrote that reply about
conditions being expressions solving to non-zero.
Had I been awake, I would have suggested resolving the syntax at symbol
lookup in the reduction, rather than in the grammar proper.




Cheers,


Quinn
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.