Email list hosting service & mailing list manager

Re: nested comments (please correct lexical scope) Paul Schlie (09 Jan 2005 22:35 UTC)
Re: nested comments (please correct lexical scope) Robby Findler (09 Jan 2005 22:39 UTC)
Re: nested comments (please correct lexical scope) Paul Schlie (09 Jan 2005 22:44 UTC)
Re: nested comments (please correct lexical scope) Robby Findler (09 Jan 2005 22:46 UTC)
Re: nested comments (please correct lexical scope) Paul Schlie (09 Jan 2005 22:54 UTC)
Re: nested comments (please correct lexical scope) Robby Findler (10 Jan 2005 00:59 UTC)
Re: nested comments (please correct lexical scope) Paul Schlie (10 Jan 2005 01:16 UTC)
Re: nested comments (please correct lexical scope) Paul Schlie (10 Jan 2005 01:56 UTC)
Re: nested comments (please correct lexical scope) Paul Schlie (10 Jan 2005 02:27 UTC)
Re: nested comments (please correct lexical scope) Robby Findler (10 Jan 2005 02:43 UTC)
Re: nested comments (please correct lexical scope) Bradd W. Szonye (10 Jan 2005 00:05 UTC)
Re: nested comments (please correct lexical scope) Paul Schlie (10 Jan 2005 01:02 UTC)
Re: nested comments (please correct lexical scope) Bradd W. Szonye (10 Jan 2005 17:03 UTC)
Re: nested comments (please correct lexical scope) Paul Schlie (10 Jan 2005 20:23 UTC)
Re: nested comments (please correct lexical scope) Bradd W. Szonye (10 Jan 2005 20:59 UTC)
Re: nested comments (please correct lexical scope) Paul Schlie (10 Jan 2005 21:13 UTC)
Re: nested comments (please correct lexical scope) Paul Schlie (10 Jan 2005 22:15 UTC)
Re: nested comments (please correct lexical scope) Paul Schlie (10 Jan 2005 22:20 UTC)
Re: nested comments (please correct lexical scope) Paul Schlie (10 Jan 2005 23:07 UTC)
Re: nested comments (please correct lexical scope) Paul Schlie (11 Jan 2005 14:20 UTC)

Re: nested comments (please correct lexical scope) Paul Schlie 10 Jan 2005 01:56 UTC

> From: Paul Schlie <xxxxxx@comcast.net>
>> From: Robby Findler <xxxxxx@cs.uchicago.edu>
>> It's just that #; working at the read-level is what makes it useful to me.
>> If it works at the lexical level it would be strange. For example,
>> parenthesis are typically individual lexemes, so this:
>>
>>   (a #;(a) b)
>>
>> would go to:
>>
>>   (a a) b)
>>
>> rather than:
>>
>>   (a b)
>
> No more than:
>
>    (a '(a) b) => (a (quote a)) b)
>
> Which is doesn't as ' applies the lexically following <s-exp>,
> thereby by applying the same conventions:
>
>    (a #;(a) b) => (a {remove (a)} b) => (a b)
>
> Just as:
>
>    (a '(a) b) => (a {quote (a)} b) => (a (quote (a)) b)
>
> Where {} denote operations/transforms applied by the "reader"

I suspect that part of my problem is that I also believe that quote ('),
unquote(,), etc. reader abbreviations should disallow white-space between
the abbreviation symbol and the <s-exp> to which it's applied by the reader.

  (a 'b c) => (a (quote b) c)

  (a ' b c) => (a b c) ; warning, unbound quote.

As given that lists are constructed from [car cdr] pairs, the expression:

  (a ' b c) :: [a [' [b [c ]]]] => [a [[quote [b [c ]] ] :: (a (quote b c))

Which is wrong; as opposed to being literally lexically assoc with <s-exp>:

  (a 'b c) :: [a ['b [c ]]] => [a [[quote [b ]] [c ]]] :: (a (quote b) c)

Which I know is irrelevant, but just attempting to explain the basis of my
thoughts, as odd or misguided as they may be.