Re: S: FIRST/FOLLOW SET algorith in JAVA

Terence Parr <parrt@magelang.com>
18 Jun 1998 11:10:04 -0400

          From comp.compilers

Related articles
S: FIRST/FOLLOW SET algorith in JAVA ruessel@ai-lab.fh-furtwangen.de (Felix Ruessel) (1998-06-11)
Re: S: FIRST/FOLLOW SET algorith in JAVA parrt@magelang.com (Terence Parr) (1998-06-18)
| List of all articles for this month |
From: Terence Parr <parrt@magelang.com>
Newsgroups: comp.compilers
Date: 18 Jun 1998 11:10:04 -0400
Organization: MageLang Insitute
References: 98-06-067
Keywords: parse, Java

Felix Ruessel wrote:


> does anybody have an example sourcecode for generating FIRST / FOLLOW
> SET from something like BNF ??!


Check out ANTLR at http://www.antlr.org as it contains full source codefor
generating FIRST/FOLLOW sets for LL(k) parsers for k>1 (linear
approximate LL(k) parsers to be precise). The code is actually fairly
readable. (written in Java, btw).


Terence
--


Post a followup to this message

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