I said:
> Semantics could be, where $$ is the SUBLIST==ENLIST separator, that given:
>     EXPR1 $$ EXPR2
> It maps to:
>     (EXPR1 EXPR2)
> I.E., it becomes cons(EXPR1 EXPR2).
> 
> where either EXPR1 and EXPR2 can be empty, and EXPR2 can span lines.  The 
> beginning of EXPR1 is the end of this line's indentation, the previous $$, or 
> previous \\, whichever  comes first. EXPR2 is processed as if it were 
> beginning a line, and can have child lines.

Well, sort of.  It's not always cons(EXPR1 EXPR2) because EXPR1 can be empty.

So I think the semantic I have in mind is:
if empty-expression?(EXPR1)
. list(EXPR2)
. cons(EXPR1 EXPR2)

Note that this can create improper lists, I don't know if that is okay or not.

--- David A. Wheeler

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss

Reply via email to