From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4fe319e8a983326a X-Google-Attributes: gid103376,public From: dvdeug@x8b4e53cd.dhcp.okstate.edu (David Starner) Subject: Re: C question (was: Ada & C) Date: 2000/01/13 Message-ID: <85j4r7$9qe1@news.cis.okstate.edu>#1/1 X-Deja-AN: 571899348 References: <3878D189.80E1CCB4@gte.net> <387CE6DC.4DFDDFC4@ftw.rsc.raytheon.com> <85ipn5$7pu2@news.cis.okstate.edu> <85j3a5$r3p$1@nnrp1.deja.com> Organization: Oklahoma State University User-Agent: slrn/0.9.6.2 (Linux) Reply-To: dstarner98@aasaa.ofe.org Newsgroups: comp.lang.ada Date: 2000-01-13T00:00:00+00:00 List-Id: On Wed, 12 Jan 2000 23:38:47 GMT, Ted Dennison wrote: >> [c2ada not working well] >Hmmm. This sounds like a good application for OpenToken. It currently >only ships with Java and Ada syntaxes, but a C syntax shouldn't be too >tough for someone with an ANSI C standard handy to cobble together. I >actually thought C would be the *first* syntax someone submitted, but up >to now no one seems to have been that interested in C. :-) ANSI C's a bit of a bear to parse, or so I've heard. >lalr(1) parsing capability will be included in the upcomming release. I >have it in the source cleanup and documentation phase right now. Oh, cool! I'll stop my hacking on Ayacc to get it compile clean, and wait for OpenToken. >I suppose an easier idea would be to just run c2ada through c2ada. :-) Unfortunetly, c2ada mainly works on header files, which is what's really useful (especially if you listen to Robert Dewar.) It also depends on the whole of Python being compiled in, which is one of the reasons it's hard to build. -- David Starner - dstarner98@aasaa.ofe.org If you wish to strive for peace of soul then believe; if you wish to be a devotee of truth, then inquire. -- Friedrich Nietzsche