[plt-scheme] parsing/prettyprinting C
On Thu, Mar 05, 2009 at 09:24:23AM +0000, Noel Welsh wrote:
> On Thu, Mar 5, 2009 at 7:36 AM, Tom Schouten <tom at zwizwa.be> wrote:
>
> > Does anyone here have a recommendation for a parser/prettyprinter
> > for reading/writing C code that can be integrated with PLT Scheme?
>
> http://planet.plt-scheme.org/package-source/dherman/c.plt/1/0/planet-docs/c/syntax.html
>
Dave,
Are there any plans to add function definitions?
I see it uses yacc. The 2nd edition K&R has a grammar acceptable by
yacc in appendix A, section A13. Are there any difficulties to
making this a complete parser other than "just typing it in" ?