Re: TXL ANTLR

Johannes <jaluber@gmail.com>
Sat, 30 Aug 2008 03:25:42 -0700 (PDT)

          From comp.compilers

Related articles
TXL ANTLR anders43@gmail.com (Anders Karlsson) (2008-08-28)
Re: TXL ANTLR Jatin_Bhateja@mentor.com (Jatin Bhateja) (2008-08-29)
Re: TXL ANTLR jaluber@gmail.com (Johannes) (2008-08-30)
Re: TXL ANTLR parrt@cs.usfca.edu (Terence Parr) (2008-08-30)
Re: TXL ANTLR anders43@gmail.com (ajk) (2008-09-01)
Re: TXL ANTLR idbaxter@semdesigns.com (2008-09-23)
| List of all articles for this month |

From: Johannes <jaluber@gmail.com>
Newsgroups: comp.compilers
Date: Sat, 30 Aug 2008 03:25:42 -0700 (PDT)
Organization: Compilers Central
References: 08-08-088 08-08-095
Keywords: tools, PCCTS
Posted-Date: 30 Aug 2008 16:36:07 EDT

On Aug 29, 8:55 am, Jatin Bhateja <Jatin_Bhat...@mentor.com> wrote:
> TXL and ANTLR both have following common features
>
> * Both are LL(k) parser generators.


That's not quite true. ANTLR is LL(*), meaning it can have an
infinitive lookahead similar to LR parsers. This is done via
generating DFAs for those situations. "The Definitive ANTLR Reference"
contains an in-depth explanation of this technique and is recommend if
you stay with ANTLR.


Johannes


Post a followup to this message

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