If_then_else and LL(1) grammars

Lance Rathbone <zzlrathb@fox.uq.net.au>
27 Aug 1999 01:49:05 -0400

          From comp.compilers

Related articles
If_then_else and LL(1) grammars zzlrathb@fox.uq.net.au (Lance Rathbone) (1999-08-27)
Re: If_then_else and LL(1) grammars torbenm@diku.dk (Torben Mogensen) (1999-08-27)
| List of all articles for this month |

From: Lance Rathbone <zzlrathb@fox.uq.net.au>
Newsgroups: comp.compilers
Date: 27 Aug 1999 01:49:05 -0400
Organization: University of Queensland
Keywords: parse, LL(1)

Hi:
I'm very new to parsers and I could do with some help.


In the Dragon book p 175, we are given a revised grammar to resolve
the dangling else problem. But can this set of productions be
transformed to make them suitable for an LL(1) grammar - if so how?


Lance R


Post a followup to this message

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