The protobuf Lisp package contains an ASDF file that converts protocol buffer source files into Common Lisp and compiles them. Perhaps the ASDF will give you some ideas for how to handle the Scheme to Lisp translation.
https://github.com/brown/protobuf/blob/master/protobuf.asd
Bob
On Thu, Aug 14, 2014 at 12:41 PM, Ralf Mattes rm@mh-freiburg.de wrote:
Hello, dear ASDF developers,
I'm currently trying to port some old lisp code (Common Music) to ASDF3[1]. Common Music's source is written in Scheme, the Common Lisp version is generated from the Scheme code. Unfortunately CM's current asdf file is littered with executable code (not only compiling inoking the Scheme->Lisp compiler but also calling (non-portable) shell scripts etc. This is unfortunate since many asdf operations will trigger this code. Hence my attempt to rewrite the asdf and transfer the scheme->lisp part into a second asdf system. Unfortunately I can't find any documentation on how to implement such a code transformation. I can create a new component class scheme-file but what methods do I need to implement? Where can I call the function that actually compiles a scheme file to lisp (Common Music's scheme->lisp compiler works on files).
TIA Ralf Mattes
Footnotes: [1] my main goal is to make Common Music distributable by quicklisp.
Asdf-devel mailing list Asdf-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel