> On Jun 21, 2016, at 12:50 AM, Taylan Ulrich Bayırlı/Kammer 
> <[email protected]> wrote:
> 
> Matt Wette <[email protected]> writes:
> 
>> nyacc is an all-guile implementation of yacc and comes with a c99
>> parser, available from www.nongnu.org. 
>> The parser outputs parse trees in sxml format. It is beta-level code.
>> 
>> Matt
> 
> Wow!  That covers a big chunk of the task, if I implement it from
> scratch.  In fact, given I don't have to deal with typedefs and such for
> doing something like Lua's FFI, it covers most of the task.

There is code to expand typedefs.   Check “stripdown” routine in (nyacc lang 
c99 util2).  It also provides a keyword arg (#:keep) to provide a list of 
typedefs to not expand.

Matt


Reply via email to