[antlr-interest] ANTLR 3.0ea1 and ANTLRWorks 1.0ea1 released!

Micheal J open.zone at virgin.net
Thu Jun 2 07:31:42 PDT 2005


> and Jean Bovet has created a 1.0ea1 release of his excellent 
> ANTLRWorks:

> http://www.antlr.org/works/index.html

> The ANTLRWorks jar has everything you need including ANTLR 3.0ea1.

ANTLRWorks early comments:

1. Build & Debug should provide a sensible default for the location of
working/generated files.  I suggest a "debug" sub-dir below the location of
the grammar file. The tool should indicate if the dir needs to be created.

2. From the Build & Debug dialog, clicking browse to change the current
setting doesn't start browsing from the current setting's location, it
always starts at the user's "home directory" (the "My Documents" dir on my
Windows box).

3. As per my previous message, I get a lot of entries in the console about
it's inability to write to a grammar.stats file. The dir/folder does exist
but the file doesn't.

<error>
[14:41:29] internal error: Exception
java.nio.channels.ClosedChannelException at sun.nio.ch.FileLockImpl.release(Unk
nown Source): can't write stats to C:\Documents and
Settings\MichealJ\antlrworks\grammar.stats 
</error>

4. Can this support cross-language debugging?. Is there some TCP protocol
that needs to be supported by geberated parsers/lexers to support this
scenario?.

5. The syntax diagram is a useful addition. I was expecting to be able to
navigate and perhaps refactor visually. Perhaps in time... ;-)

6. Perhaps the tool should keep track of generated status internally and
disable the items on the "Generate" menu accordingly. Got tired of being
told I couldn't show code until something had being generated.

On a different note, the java.g grammar in the examples archive doesn't have
a "comilationUnit" start rule equivalent.

Micheal
ANTLR/C#



More information about the antlr-interest mailing list