g-wrap-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parsing C or C++


From: Joe Marshall
Subject: Re: Parsing C or C++
Date: Mon, 01 Mar 2004 14:12:09 -0000
User-agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, windows-nt)

Andreas Rottmann <address@hidden> writes:

> Joe Marshall <address@hidden> writes:
>
>> I have made a modified version Ed Willink's C++ parser that emits
>> s-expressions.  A preprocessed C or C++ file can be read on stdin and
>> a fully parenthesised syntactic parse (lisp readable) is emitted on
>> stdout.  An AST may be created by processing the syntactic parse.
>>
>> This is alpha code and may undergo several changes, but if you're
>> interested, drop me a line.
>>
> I am. This might come handy in G-Wrap (http://yi.org/rotty/GWrap).

I put up a zip file at:
   http://home.comcast.net/~prunesquallor/fog.zip

There is a windows executable in the Debug subdirectory, call it like
this: 
   fog.exe < cxxfile.cxx

or use the makefile to create a unix executable.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]