Where can I find good documentation to use Antlr in C/C++? I've the Definitive Antlr refere开发者_运维问答nce book, but it only explains things in Java.
Thanks
Ajay
There is some useful stuff up on the Antlr website. This article in particular may be helpful to you:
http://www.antlr.org/api/C/index.html
Definitive Antlr has this recommendation in a footnote to the language
option, on page 105:
"See http://www.antlr.org/wiki/display/ANTLR3/Code+Generation+Targets for the latest information about ANTLR language targets."
This leads to a long list of languages for which Antlr support is complete or in development. The C row links to the Antlr/C wiki entry, which provides status, strategy, supported platforms, and a link to usage documentation.
Disclaimer: I've used Antlr only with the Java language option.
精彩评论