Re: Preview in grammar

"Ulrich Frank" <franku@fmi.uni-passau.de>
9 May 2006 00:54:35 -0400

          From comp.compilers

Related articles
Preview in grammar franku@fmi.uni-passau.de (Ulrich Frank) (2006-05-03)
Re: Preview in grammar marcov@stack.nl (Marco van de Voort) (2006-05-04)
Re: Preview in grammar haberg@math.su.se (2006-05-04)
Re: Preview in grammar pbmann@gmail.com (2006-05-09)
Re: Preview in grammar haberg@math.su.se (2006-05-09)
Re: Preview in grammar DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2006-05-09)
Re: Preview in grammar franku@fmi.uni-passau.de (Ulrich Frank) (2006-05-09)
Re: Preview in grammar cfc@shell01.TheWorld.com (Chris F Clark) (2006-05-11)
Re: Preview in grammar franku@fmi.uni-passau.de (Ulrich Frank) (2006-05-11)
Re: Preview in grammar franku@fmi.uni-passau.de (Ulrich Frank) (2006-05-11)
Re: Preview in grammar Meyer-Eltz@t-online.de (Detlef Meyer-Eltz) (2006-05-12)
Re: Preview in grammar cfc@shell01.TheWorld.com (Chris F Clark) (2006-05-12)
Re: Preview in grammar pbmann@gmail.com (2006-05-12)
[3 later articles]
| List of all articles for this month |
From: "Ulrich Frank" <franku@fmi.uni-passau.de>
Newsgroups: comp.compilers
Date: 9 May 2006 00:54:35 -0400
Organization: http://groups.google.com
References: 06-05-01106-05-015
Keywords: parse
Posted-Date: 09 May 2006 00:54:35 EDT

Hello Hans,


thanks for this really important info, that LALR(1) is not suitable for
error reporting. However in SableCC a good error reporting is realized,
although SableCC also is LALR(1). I think this can be realized because
the lookahead token are not calculated at runtimethe but at the same
time the parser is gettiing generated from the grammar.


So I have to possibilities: either I realize the calculation of the
lookahead token like in sablecc or I take an LR(1) parser.


I haven't searched for a LR(1) parser generator yet (I will do this
after this message ;), but do you know a good one?


Ulrich Frank


Post a followup to this message

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