Search code examples
cantlrantlrworks

C example of using AntLR


I am wondering where I can find C tutorial/example of using AntLR. All I found is using Java language.

I am focusing to find a main function which use the parser and lexer generated by AntLR.


Solution

  • contrapunctus.net/blog/2012/antlr-c a simple google would suffice. Note however, the example is C++ I don't think ANTLR supports PURE C – Aniket Jan 1 at 1:56