[antlr-interest] Antlr v3: Custom actions and custom tokens

Terence Parr parrt at cs.usfca.edu
Thu Apr 12 12:40:33 PDT 2007


On Apr 12, 2007, at 10:47 AM, Chris Wood wrote:

>
> Dear all,
>
> Are there any docs or posts explaining how to implement and then  
> use custom actions (to modify a returned token) in ANTLR v3? I  
> assume that a custom token class will be required and that this  
> must somehow be fitted into the grammar in question. I have  
> searched for advice across the ANTLR site without much success so far!
>
> Thanks a lot in advance for any pointers.

I added a FAQ entry:

http://www.antlr.org/wiki/pages/viewpage.action?pageId=1844

Ter



More information about the antlr-interest mailing list