[antlr-interest] test release of antlr 3.4
Terence Parr
parrt at cs.usfca.edu
Mon Jun 20 11:16:58 PDT 2011
On Jun 20, 2011, at 3:55 AM, Julien BLACHE wrote:
> Hi,
>
>> The other thing is that the C target has not been tested at all
>> really. If someone could report back on how it works, that would be
>> great ( including the debugging socket protocol to ANTLRWorks).
>
> I gave it a very quick try on my grammars (written for 3.2) and it
> doesn't look good :/ I've been following the list for some time but I
> can't remember what, if any, adaptations are needed for 3.4, so I'll
> check back on that (pointers appreciated if you have some handy).
>
> Where can I find the C runtime for 3.4? The download directory still has
> an old 3.3 snapshot.
>
> Right now the code generated by antlr is incomplete; generated C files
> are much shorter than those generated by 3.2 and actions are missing
> entirely in my AST grammar.
>
Jim will take a peek.
> Quick comparison, line counts:
> ANTLR 3.2 ANTLR 3.4
> DAAP2SQL.c 927 585
> DAAPLexer.c 1092 934
> DAAPParser.c 1014 901
>
> A showstopper for C code is that -depends is broken; the only output is:
> /dependencies()
ooops.
> There also seems to be an issue wrt locale settings; unless running with
> LC_ALL=C, antlr bails out on me looking for
> org/antlr/tool/templates/messages/languages/fr.stg.
weird. this hasn't changed.
> Cosmetic issue, but still, -version returns:
> ANTLR Parser Generator Version ${project.version} ${buildNumber}
yep, will fix.
Ter
More information about the antlr-interest
mailing list