Subject: Re: off topic humor: python macros
From: (Rob Warnock)
Date: Sat, 17 Jun 2006 04:38:24 -0500
Newsgroups: comp.lang.lisp
Message-ID: <>
funkyj <> wrote:
| At work the mandate is that we write all our code in C.
| I've sometimes thought about using lisp to create my own
| more powerful preprocessor for C so that I could satisfy the
| mandate (use C) while getting some of the power of lisp.

Check out Aubrey Jaffer's "Schlep":

Yes, it's in Scheme, not CL, and uses Hungarian-suffixed variables
rather than real type declarations, but you may find it useful,
at least for study. In particular:

    Using Scheme files as source, schlep produces texinfo
    documentation and formatted C code preserving comments;
    and type, function, and variable names as much as possible.
    The output from schlep is human-readable and often forms
    the base for further development in C; abandoning the original
    Scheme source.


Rob Warnock			<>
627 26th Avenue			<URL:>
San Mateo, CA 94403		(650)572-2607