[gambit-list] An ancient legacy dialect
Hendrik Boom
hendrik at topoi.pooq.com
Tue Jun 25 17:47:10 EDT 2013
On Sun, Jun 16, 2013 at 11:19:37AM -0400, Hendrik Boom wrote:
> I have some thirty-year-old legacy code in what's best described as a
> legacy dialect of Scheme. The important differences are:
Presumably it's poosible to write my own read routine that parses.
Then perhaps I could write my own let macro to expand my let into
whatever works in gambit -- presumably something that uses the
standard let macro.
Is there some namespace mechanism that could allow me to distinguish
the two let's?
If not, I suppose I could have the variant read routine read
every symbol let into LET or lett or something else ugly. But this is
ugly and nonmodular, and I'll probably have a few more cases like this;
I'd prefer something clean.
And how do line numbers from the original source coded get embedded
into the S-expressions so that the interpreter (and, presumably the
compiler) can use them when reportin on errors?
-- hendrik
More information about the Gambit-list
mailing list