[gambit-list] Line numbers in custom reader

Marc Feeley feeley at iro.umontreal.ca
Sun Jul 28 09:22:30 EDT 2013


On 2013-07-28, at 4:49 AM, Hendrik Boom <hendrik at topoi.pooq.com> wrote:

> On Sat, Jul 27, 2013 at 09:36:50PM -0500, Marc Feeley wrote:
>> Please see this message:
>> 
>> https://mercure.iro.umontreal.ca/pipermail/gambit-list/2013-June/006774.html
>> 
>> Marc
> 
> I guess now I get to ask what ##source?, ##source-code, and ##source are.
> 
> And why in the test case, (< x 0) gets wrapped all at once, instead of 
> wrapping <, x, and 0 separately.  Is it just to test whether that big 
> wrapping works as well as multiple little wrappings, or is something 
> more subtle going on?

It shows that non-atomic forms are recursively tagged with the same source location.

Marc



More information about the Gambit-list mailing list