From sentto-44114-20910-1065808630-lojban-in=lojban.org@returns.groups.yahoo.com Fri Oct 10 10:57:49 2003 Received: with ECARTIS (v1.0.0; list lojban-list); Fri, 10 Oct 2003 10:57:49 -0700 (PDT) Received: from n23.grp.scd.yahoo.com ([66.218.66.79]) by chain.digitalkingdom.org with smtp (Exim 4.22) id 1A81WH-0001QT-EX for lojban-in@lojban.org; Fri, 10 Oct 2003 10:57:41 -0700 X-eGroups-Return: sentto-44114-20910-1065808630-lojban-in=lojban.org@returns.groups.yahoo.com Received: from [66.218.67.196] by n23.grp.scd.yahoo.com with NNFMP; 10 Oct 2003 17:57:10 -0000 X-Sender: dlb@patriot.net X-Apparently-To: lojban@yahoogroups.com Received: (qmail 28617 invoked from network); 10 Oct 2003 17:57:09 -0000 Received: from unknown (66.218.66.167) by m3.grp.scd.yahoo.com with QMQP; 10 Oct 2003 17:57:09 -0000 Received: from unknown (HELO jefferson.patriot.net) (209.249.176.3) by mta6.grp.scd.yahoo.com with SMTP; 10 Oct 2003 17:57:09 -0000 Received: from mauve (va-leesburg3b-30.chvlva.adelphia.net [68.71.234.30] (may be forged)) (authenticated bits=0) by jefferson.patriot.net (8.12.10/8.12.3) with ESMTP id h9AHv8b0021313 for ; Fri, 10 Oct 2003 13:57:09 -0400 Message-ID: <049d01c38f57$31332cf0$6401a8c0@mauve> To: References: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 From: "David Barton" X-Yahoo-Profile: davelbarton MIME-Version: 1.0 Mailing-List: list lojban@yahoogroups.com; contact lojban-owner@yahoogroups.com Delivered-To: mailing list lojban@yahoogroups.com Precedence: bulk Date: Fri, 10 Oct 2003 13:51:49 -0400 Subject: [lojban] Re: Javacc Content-Type: multipart/alternative; boundary="----=_NextPart_000_0492_01C38F35.A6FF3E50" X-archive-position: 6406 X-ecartis-version: Ecartis v1.0.0 Sender: lojban-list-bounce@lojban.org Errors-to: lojban-list-bounce@lojban.org X-original-sender: dlb@patriot.net Precedence: bulk Reply-to: lojban-list@lojban.org X-list: lojban-list ------=_NextPart_000_0492_01C38F35.A6FF3E50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 writi= ng in Java? You can certainly call C from Java. Frankly, I prefer functio= nal languages anyway, and would suggest moving to Haskell and parser contru= ctors. Dave Barton ------=_NextPart_000_0492_01C38F35.A6FF3E50 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
 
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
 

Yahoo! Groups Sponsor
ADVERTISEMENT
Click Here!

To unsubscribe, send mail to lojban-unsubscribe@onelist.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
------=_NextPart_000_0492_01C38F35.A6FF3E50--