[antlr-interest] updated Honey badger, examples

Terence Parr parrt at cs.usfca.edu
Fri Apr 27 15:57:10 PDT 2012


On Apr 27, 2012, at 12:54 AM, Oliver Zeigermann wrote:

> Cool stuff. Any suggestions what I should replace
> 
> 1. TokenRewriteStream and

Ooops.  This is TokenStreamRewriter now and is not a stream itself. it takes a stream.

> 2. CommonTokenStream#toString(Token start, Token stop)

getText

> that used to be there in previous versions with?
> 
> Cheers
> 
> Dr. Simplify :)

Dr. Slash and burn!

> 
> 2012/4/27 Terence Parr <parrt at cs.usfca.edu>:
>> Updated Honey badger examples to be consistent with antlr/antlr4 and parrt/antlr4 github repositories. Biggest change is a syntax alteration for alternative labels. -> is now #. Reloaded all of the test files here so they compile and run with the latest and greatest v4:
>> 
>> http://www.antlr.org/wiki/display/ANTLR4/Examples
>> 
>> you can download here:
>> 
>> https://github.com/antlr/antlr4/downloads
>> 
>>  if you're really brave you can download here:
>> 
>> https://github.com/parrt/antlr4/downloads
>> 
>> that's what I update regularly whereas the other I only update once a month or so.
>> 
>> Ter
>> 
>> List: http://www.antlr.org/mailman/listinfo/antlr-interest
>> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address



More information about the antlr-interest mailing list