Re: Supporting multiple input syntaxes

David Lovemore <davidlovemore@gmail.com>
Sun, 16 Aug 2020 02:21:23 -0700 (PDT)

          From comp.compilers

Related articles
[2 earlier articles]
Re: Supporting multiple input syntaxes DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2020-08-13)
Re: Supporting multiple input syntaxes minforth@arcor.de (2020-08-13)
Re: Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-13)
Re: Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-13)
Supporting multiple input syntaxes davidlovemore@gmail.com (David Lovemore) (2020-08-15)
Re: Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-15)
Re: Supporting multiple input syntaxes davidlovemore@gmail.com (David Lovemore) (2020-08-16)
Re: Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-20)
Re: Supporting multiple input syntaxes gah4@u.washington.edu (gah4) (2020-08-23)
Re: Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-23)
Re: implementation languages, was Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-23)
Re: Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-23)
Re: implementation languages, was Supporting multiple input syntaxes tkoenig@netcologne.de (Thomas Koenig) (2020-08-24)
[5 later articles]
| List of all articles for this month |

From: David Lovemore <davidlovemore@gmail.com>
Newsgroups: comp.compilers
Date: Sun, 16 Aug 2020 02:21:23 -0700 (PDT)
Organization: Compilers Central
References: 20-08-002 20-08-009 20-08-010
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="54378"; mail-complaints-to="abuse@iecc.com"
Keywords: parse, errors
Posted-Date: 16 Aug 2020 11:53:21 EDT

My friend, reporting the furthest position examined by the parser I have
useful in error cases as a simple stop gap when using a combinator approach.


Thinking about it you kind of want to see the furthest failed position and the
stack of rules above it. Such requires meta information when the code is
written in the most natural way. For this reason and others I believe it is
good to represent your grammar in data structures which is further in the
direction of a compiler compiler tool (or compiler interpreter tool).


Post a followup to this message

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