From thinkit8@lycos.com Fri Oct 10 14:52:14 2003 Return-Path: X-Sender: thinkit8@lycos.com X-Apparently-To: lojban@yahoogroups.com Received: (qmail 21257 invoked from network); 10 Oct 2003 21:52:13 -0000 Received: from unknown (66.218.66.218) by m1.grp.scd.yahoo.com with QMQP; 10 Oct 2003 21:52:13 -0000 Received: from unknown (HELO n7.grp.scd.yahoo.com) (66.218.66.91) by mta3.grp.scd.yahoo.com with SMTP; 10 Oct 2003 21:52:13 -0000 Received: from [66.218.67.137] by n7.grp.scd.yahoo.com with NNFMP; 10 Oct 2003 21:52:12 -0000 Date: Fri, 10 Oct 2003 21:52:10 -0000 To: lojban@yahoogroups.com Subject: Re: Javacc Message-ID: In-Reply-To: <049d01c38f57$31332cf0$6401a8c0@mauve> User-Agent: eGroups-EW/0.82 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Length: 794 X-Mailer: Yahoo Groups Message Poster From: "thinkit41" X-Originating-IP: 12.231.128.56 X-Yahoo-Group-Post: member; u=71054096 X-Yahoo-Profile: thinkit41 X-Yahoo-Message-Num: 20890 --- In lojban@yahoogroups.com, "David Barton" wrote: > > Anyone use Javacc? I was wondering if it could parse Lojban. It's a > Java-based language parser that also features a tree builder (jjtree). > I used it to write a complete interpreter for a c-like language. > > We've used Javacc. We did not find it particularly great, and abandoned it for ANTLR. With great sighs of relief, I might add. > > Is there some reason you don't want to use the YACC grammar? Are you writing in Java? You can certainly call C from Java. Frankly, I prefer functional languages anyway, and would suggest moving to Haskell and parser contructors. > > Dave Barton Does Haskell allow decimal literals? I'm allergic to decimal and don't want to see any decimal literals.