Re: Error reporting/recovery

"Jocelyn Coulmance" <j.coulmance@itecor-software.com>
20 Apr 2000 01:37:50 -0400

          From comp.compilers

Related articles
Error reporting/recovery bourguet@my-deja.com (Jean-Marc Bourguet) (2000-04-05)
Re: Error reporting/recovery iank@bearcave.com (2000-04-11)
Re: Error reporting/recovery grosch@cocolab.de (2000-04-11)
Re: Error reporting/recovery bourguet@my-deja.com (Jean-Marc Bourguet) (2000-04-14)
Re: Error reporting/recovery bourguet@my-deja.com (Jean-Marc Bourguet) (2000-04-14)
Re: Error reporting/recovery rod.bates@wichita.boeing.com (Rodney M. Bates) (2000-04-14)
Re: Error reporting/recovery nr@labrador.eecs.harvard.edu (2000-04-16)
Re: Error reporting/recovery j.coulmance@itecor-software.com (Jocelyn Coulmance) (2000-04-20)
Re: Error reporting/recovery pnyq@my-deja.com (2000-05-08)
| List of all articles for this month |

From: "Jocelyn Coulmance" <j.coulmance@itecor-software.com>
Newsgroups: comp.compilers
Date: 20 Apr 2000 01:37:50 -0400
Organization: Compilers Central
References: 00-04-053 00-04-074 00-04-090
Keywords: errors

Jean-Marc Bourguet <bourguet@my-deja.com> a écrit dans le message :
> I remember having read a something in which a parser generator was
> described which generated parser able to write this kind of messages
> for some recursive rules but I've lost the reference. (It was a kind
> of LR parser).
>
> if (x = (a + b] then write (a);
> ^^^^^^^
> Missing ")" for closing structure, replacing ']' by ')'
> ^^^^^^^^^^^^
> Missing ")" for closing structure, inserting ')'


Charles, Philippe. 1991. A Practical method for Constructing Efficient
LALR(k) Parsers with Automatic Error Recovery,
ftp://cs.nyu.edu/pub/tech-reports/tr553.tar.Z
might be what you are looking for.


Regards
Jocelyn


Post a followup to this message

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