[antlr-interest] Visual Studio 2008 C++ and ANTLR 3

Jim Idle jimi at temporal-wave.com
Wed Mar 4 12:19:11 PST 2009


Guillaume Bataille wrote:
> antlr 2.7.7 is running fine with visual studio 8, but the C code
> generated by antlr3 under visual studio 2008, targetting integration
> in windows mobile systems fails to link for me as soon as i invoke
> parsing functions and constructors. but most probably this is due to
> the fact that i didnt regen antlr3 libs for windows embedded systems,
> my fault i guess. anyhow i sorted myself today with antlr2, i regened
> antlr2 libs and wrote my grammar and had it integered it in my current
> project, its done :)
> ill try to regen antlr3 C libs later on on visual studio 2008 for
> windows embedded.
> still that would be a C version, antlr3 documents dont say antlr3.1.2
> can generate c++ code but say the work is in progress.
> but if you tell me antlr3.1.2 can generate cpp code by setting the
> right option ill try it when ill have the time.
>
>   
Read the C API docs. The Generated C code can be compiled as C++

Jim


More information about the antlr-interest mailing list