lists in enclosed expression Per Bothner (13 May 2013 20:19 UTC)
Re: lists in enclosed expression John Cowan (13 May 2013 22:25 UTC)
Re: lists in enclosed expression Per Bothner (13 May 2013 22:43 UTC)
Re: lists in enclosed expression John Cowan (13 May 2013 22:59 UTC)
Re: lists in enclosed expression Per Bothner (21 May 2013 00:40 UTC)
Re: lists in enclosed expression John Cowan (21 May 2013 02:02 UTC)
Re: lists in enclosed expression Per Bothner (22 May 2013 20:58 UTC)

Re: lists in enclosed expression John Cowan 13 May 2013 22:59 UTC

Per Bothner scripsit:

> Specially, do you like it:
> - as a special syntax for SRFI-10[789] should define for enclosed
> expression?

This.

> It is?  I see '@' listed as a <special subsequent> but not a
> <special initial>.

Wow, you're right.  There are several unnecessary safeguards in the
text of R7RS-small, in that case.  For example, to unquote (without
splicing) something named "@foo", you must write ", @foo", as ",@foo"
always means splicing-unquote.  Chibi allows @foo as an identifier.

> However, I just remember one complication: Kawa uses @CLASSNAME
> as syntax for annotation types, though only when CLASSNAME
> is a class type, so there isn't an actual conflict - it's
> just a little tricky to handle:  @foo is a splice if foo is
> a sequence (list or vector); it is an annotation type if foo
> is a class.

I think that's a little Perlish, but if it works for you, it's fine
for Kawa.

--
John Cowan                                xxxxxx@ccil.org
I amar prestar aen, han mathon ne nen,    http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith.  --Galadriel, LOTR:FOTR