[plt-scheme] dots

From: Jos Koot (jos.koot at telefonica.net)
Date: Sun Jun 10 13:27:25 EDT 2007

Yes, I thought of using a readertable too, but did not succeed, not even with 
another character for the dot. How do you put "(dot " in font of the a of a.b 
when the readertable-procedure for the period is invoked? (and after the a has 
already been parsed) If you have a solution that does not force me to parse all 
identifiers myself, I am very curious to hear about it.
Jos Koot

----- Original Message ----- 
From: "Robert Nikander" <nikander at nc.rr.com>
To: "PLT-list" <plt-scheme at list.cs.brown.edu>
Sent: Sunday, June 10, 2007 7:13 PM
Subject: Re: [plt-scheme] dots

> I've experimented with writing Scheme interpreters, and I once added  dot 
> support at the reader level, similar to quote:
> 'a  --> (quote a)
> a.b --> (dot a 'b)
> Different types could implement the dot lookup however they wanted.   Maybe 
> it's just a slippery slope to syntax hell, or maybe it's worth  it.  I had to 
> pick another character for improper lists, but that was  fine with me.
> request.url.path vs. (url-path (request-url request)) ?
> No, I don't want to go back to Python.
> Rob
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Posted on the users mailing list.