[antlr-interest] code in "prolog"

Terence Parr parrt at cs.usfca.edu
Sat May 1 16:57:03 PDT 2004


On May 1, 2004, at 3:52 PM, Boulanger Jean-Louis wrote:

> Hello,
>
> In a structured JAVA application, I use ANTLR. And I want say that the 
> JAVA
> generated code, from grammar,  is part of a package .
>
> In my grammar, I introduced:
>
> // Import the necessary classes
> {
>         package GRAMMAR;
>
>         import java.io.*;
>
>         import antlr.debug.misc.*;
>         import antlr.DumpASTVisitor;
> }

Salut Jean-Louis,

I suggest using "header {...}" instead. :)
Terence
--
Professor Comp. Sci., University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
Cofounder, http://www.knowspam.net enjoy email again!
Cofounder, http://www.peerscope.com pure link sharing





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list