guile-user
[Top][All Lists]
Advanced

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

Re: Bytestructures: a "type system" for bytevectors


From: Matt Wette
Subject: Re: Bytestructures: a "type system" for bytevectors
Date: Tue, 21 Jun 2016 05:53:30 -0700

> On Jun 21, 2016, at 12:50 AM, Taylan Ulrich Bayırlı/Kammer <address@hidden> 
> wrote:
> 
> Matt Wette <address@hidden> 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

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