Jim, Actually, ANTLRWorks will generate the C code, it just won't let you see the resultant code in ANTLRWorks. As long as the grammar file designates the output language and it has the appropriate stg files it will generate the language. I am currently working on the stg templates for ObjC and I am generating the output files through ANTLRWorks.
Alan --- Alan Condit 1085 Tierra Ct. Woodburn, OR 97071 Email -- [email protected] Home-Office (503) 982-0906 On Aug 18, 2010, at 12:00 PM, [email protected] wrote: > From: "Jim Idle" <[email protected]> > Date: August 17, 2010 4:09:01 PM PDT > To: <[email protected]> > Subject: Re: [antlr-interest] how to generate C++ file > > > ANTLRWorks does not generate C code (and there is no C++ generator, it is C > that you can compile as C++ if you like.) ANTLRWorks only works with Java > for code generating purposes. Use the command line tool and Makefiles etc > for C. > > You need to start with the downloadable examples and then read the getting > started stuff on the wiki. > > Also don't forget http://antlr.markmail.org > > Jim > >> -----Original Message----- >> From: [email protected] [mailto:antlr-interest- >> [email protected]] On Behalf Of J.R Karthikeyan >> Sent: Tuesday, August 17, 2010 4:05 PM >> To: [email protected] >> Subject: [antlr-interest] how to generate C++ file >> >> Hi, >> >> I am using ANTLRWorks 1.4 for my project. I would like to generate the > C++ >> file from this grammar. I don't find how to do this. Can you give me > direction >> in how to generate those files. >> >> Thanks, >> Jrk >> >> >> >> List: http://www.antlr.org/mailman/listinfo/antlr-interest >> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your- >> email-address > List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
