News for hackers. Stuff that matters.
Re:Lightening run-time code generation by chrisseaton on Saturday May 25, 2019 @05:01AM (#20007852)
The tricky think about a source-to-source transformation, is where do you store the meta-data to map the new source back to the old source, for the purposes of error reporting, debugging, and deoptimisation? You can't just map from one list to another as your optimisation function.
Re:Lightening run-time code generation by bjoli on Saturday May 25, 2019 @07:37AM (#20008424)
I think it is the same system as used when doing macro expansion. Macros use syntax objects with embedded metadata.

Both chez and guile usually produces proper error sites, so it is done in some fashion.