[plt-scheme] Re: Generating C code

From: Paulo J. Matos (pocmatos at gmail.com)
Date: Fri May 15 16:10:49 EDT 2009

On Fri, May 15, 2009 at 6:57 PM, Dave Herman <dherman at ccs.neu.edu> wrote:
> Neil wrote:
>>> In answer to your question "print-source" appears to be just a thunk that
>>> writes the desired C code to current-output.  For example:
> That's correct. It's just a thunk that you have to provide that prints raw C
> source code to the current-output-port.
> There are no facilities in the library for pretty-printing C. I may
> implement that some day, but I have a dissertation to write...

I don't really need pretty printing, just printing compilable C so I
guess I might use the structures and do the output on my own.

Pretty printing anyway, would be just a pass through indent afterwards
if that's what I wanted anyway.


Paulo Matos

Paulo Jorge Matos - pocmatos at gmail.com
Webpage: http://www.personal.soton.ac.uk/pocm

Posted on the users mailing list.