[antlr-interest] Antlr 3.2 vs. Bison 2.4.2+Flex 2.5.35 Speed/Memory

Terence Parr parrt at cs.usfca.edu
Sat May 22 09:18:58 PDT 2010


Very interesting. The token stream in v3.2 I don't think but first tokens by default, but it still buffers all of the input characters...

Ter
On May 21, 2010, at 10:00 PM, Jim Idle wrote:

> Well, you're comparing apples to cheese here. Bison/Flex do not create complicated tokens with method calls and so on, so ANTLR is winning here in reality. That said, I am going to implementing some of this stuff with a more fly weight pattern in v4. However, it sounds like you need to implement your own token stream that discards the tokens at certain points. 
> 
> Jim



More information about the antlr-interest mailing list