Newsgroups: comp.lang.java.softwaretools
From: Scott Stanchfield <thet...@scruz.net>
Date: 1997/07/07
Subject: Re: Wanted: YACC for Java
I hope this doesn't start a war... First -- Frank, if you see this, don't shoot me. (My boss is Frank (I Borrowed this summary from Fischer&LeBlanc's "Crafting a Compiler") Simplicity -- LL Simplicity -- LL wins Generality -- LALR wins Left factoring is necessary because LL parsing requires selecting an Left recursion is problematic because a lookahead token of a rule is To see ways to convert LALR grammars to LL grammars, take a look at my Many languages already have LALR grammars available, so you'd have to Actions -- LL wins Error repair -- LL wins Table sizes -- LL Parsing speed -- comparable (me: and tool-dependent) Hope this helps a bit! Lars Marius Garshol wrote: -- > Scott Stanchfield <thet...@scruz.net> wrote: > >Note that both ANTLR and JavaCC are LL(k) tools (although ANTLR performs > Just curious: what advantages does LL have? I know it's more > --Lars M. > ________________________________________________________________________ > Lars Marius Garshol > "Make it idiot proof and someone will make a better idiot", Bill Arnett Scott Stanchfield Santa Cruz,CA Get some info on ParseView - my Visual ANTLR debugger at http://www.scruz.net/~thetick/parseview Visit my PCCTS Tutorial at http://www.scruz.net/~thetick/pcctstut See my cute baby girl at http://www.scruz.net/~thetick/claire You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||