[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Javacc



--- In lojban@yahoogroups.com, "David Barton" <dlb@p...> 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.