[antlr-interest] Multiple evaluations of the same tree

Hugo Picado hugo.pcd at gmail.com
Sun Jul 19 11:10:48 PDT 2009


Hi Michael,

It worked great, thanks for the answer.

Regards,
Hugo.

On Sat, Jul 18, 2009 at 2:12 AM, Michael Bedward
<michael.bedward at gmail.com>wrote:

> Hello Hugo,
>
> Try this:
>
> BufferedTreeNodeStream nodes = new BufferedTreeNodeStream(myTree);
> LangWalker evaluator = new LangWalker(nodes);
> for(int i = 0; i < 10000; i++)
>         evaluator.rule();
>          evaluator.reset();
> end
>
> Hope this helps,
>
> Michael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090719/68a21937/attachment.html 


More information about the antlr-interest mailing list