Re: coupling LALR with a scanner?

Paul B Mann <paul@paulbmann.com>
Sat, 17 Sep 2011 10:38:33 -0700 (PDT)

          From comp.compilers

Related articles
coupling LALR with a scanner? armelasselin@hotmail.com (Armel) (2011-07-05)
Re: coupling LALR with a scanner? armelasselin@hotmail.com (Armel) (2011-07-07)
coupling LALR with a scanner? uu3kw29sb7@snkmail.com (Karsten Nyblad) (2011-07-07)
Re: coupling LALR with a scanner? uu3kw29sb7@snkmail.com (Karsten Nyblad) (2011-07-08)
Re: coupling LALR with a scanner? armelasselin@hotmail.com (Armel) (2011-08-04)
Re: coupling LALR with a scanner? paul@paulbmann.com (Paul B Mann) (2011-09-13)
Re: coupling LALR with a scanner? armelasselin@hotmail.com (Armel) (2011-09-16)
Re: coupling LALR with a scanner? paul@paulbmann.com (Paul B Mann) (2011-09-17)
Re: coupling LALR with a scanner? armelasselin@hotmail.com (Armel) (2011-09-19)
Re: coupling LALR with a scanner? paul@paulbmann.com (Paul B Mann) (2011-09-19)
Re: coupling LALR with a scanner? armelasselin@hotmail.com (Armel) (2011-09-20)
Re: coupling LALR with a scanner? cdodd@acm.org (Chris Dodd) (2011-09-23)
Re: coupling LALR with a scanner? cfc@shell01.TheWorld.com (Chris F Clark) (2011-09-29)
Re: coupling LALR with a scanner? armelasselin@hotmail.com (Armel) (2011-10-02)
[2 later articles]
| List of all articles for this month |

From: Paul B Mann <paul@paulbmann.com>
Newsgroups: comp.compilers
Date: Sat, 17 Sep 2011 10:38:33 -0700 (PDT)
Organization: Compilers Central
References: 11-07-013 11-07-015 11-07-018 11-08-004 11-09-016
Keywords: parse
Posted-Date: 17 Sep 2011 15:22:44 EDT

> /* Test3 grammar. */
>
> G -> A <eof>
> A -> a B1 c
> -> a B2 d
> -> a B1 d
> -> a B2 c
> B1 -> b
> B2 -> b
>


I made a mistake, sorry. This grammar should be:


/* Test3 grammar. */


      G -> A <eof>
      A -> a B1 c
            -> a B2 d
            -> x B1 d
            -> x B2 c
      B1 -> b
      B2 -> b


Paul B Mann



Post a followup to this message

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