Return-Path: Mailing-List: contact velocity-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list velocity-user@jakarta.apache.org Received: (qmail 24470 invoked from network); 30 Aug 2000 07:14:26 -0000 Received: from cr864363-a.glph1.on.wave.home.com (HELO kickstart.int.periapt.com) (24.42.22.222) by locus.apache.org with SMTP; 30 Aug 2000 07:14:26 -0000 Received: (qmail 1280 invoked from network); 30 Aug 2000 06:20:17 -0000 Received: from mooky.int.periapt.com (jvanzyl@[192.168.2.3]) (envelope-sender ) by mail.int.periapt.com (qmail-ldap-1.03) with SMTP for ; 30 Aug 2000 06:20:17 -0000 Date: Wed, 30 Aug 2000 03:10:49 -0400 (EDT) From: Jason van Zyl X-Sender: jvanzyl@(none) To: velocity-user , "Andrew (Tver)" Subject: Re: parser technology In-Reply-To: <627959184.20000830105641@etver.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Wed, 30 Aug 2000, Andrew (Tver) wrote: > Hello Jason, > > Can you public some hrefs to learn more about the parser technology? > What are file extensions jj and jjt? Soryy, I'm not familiar with > it :-( JavaCC http://www.metamata.com/javacc/ Velocity uses the JJTree extension to produce an Abstract Syntax Trees. There is documentation on how to use JavaCC on the metamata site, and there examples are quite good. The most important file is the Parser.jjt file. From that is generated the Parser.jj file. Then you use the normal javacc method from there on. jvz. -- Jason van Zyl jvanzyl@periapt.com