Sat Jan 19 22:02:22 CET 2013

Modifying %app syntax?

Looks like the DSL needs a modifed %app syntax.  The semantics
threading seems like a good idea, but it really needs to go in the app
form, not the primitives, otherwise composition isn't possible.

So let's make a proper #lang module.

All pretty straightforward up to the point where #%module-begin starts
messing with the `define' form.  It expands 

   (define (name x) ...) -> (define-values (name) (new-lambda (x) ...))

Looks like #%module-begin needs to be overridden.