[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nested comments (please correct lexical scope)

This page is part of the web mail archives of SRFI 62 from before July 7th, 2015. The new archives for SRFI 62 contain all messages, not just those from before July 7th, 2015.



So wonder if:

 {quote } => 

As opposed to an otherwise error/warning upon the evaluation of (quote )?

> Sorry, last line should have been:
> 
>  (' #; <s-exp>) :: ({quote {remove <s-exp>}}) => ((quote )) ; empty quote
> 
>> So in summary, it would seem that all reader actions invoked by a reader
>> transform token should apply to the following correspondingly processed
>> <s-exp>, implying: (showing only reader actions)
>> 
>>  (' ' <s-exp>) :: ({quote {quote <s-exp>}}) => ((quote (quote <s-exp>)))
>> 
>>  (#; #; <s-exp>) :: ({remove {remove <s-exp>}}) => ()
>> 
>>  (#; ' <s-exp>) :: ({remove {quote <s-exp>}}) => ()
>>  
>>  (' #; <s-exp>) :: ({quote {remove <s-exp>}}) => (') ; error, unbound 'quote
> 
>