Re: [Scheme-reports] Questions about cond-expand John Cowan (05 Sep 2012 06:43 UTC)
Re: [Scheme-reports] Questions about cond-expand Alex Shinn (05 Sep 2012 08:14 UTC)
Re: [Scheme-reports] Questions about cond-expand John Cowan (06 Sep 2012 04:29 UTC)
Re: [Scheme-reports] Questions about cond-expand Alex Shinn (06 Sep 2012 04:34 UTC)
Re: Questions about cond-expand John Cowan (06 Sep 2012 04:46 UTC)
Re: [Scheme-reports] Questions about cond-expand Alex Shinn (06 Sep 2012 05:06 UTC)
Re: [Scheme-reports] Questions about cond-expand John Cowan (06 Sep 2012 05:42 UTC)
Re: [Scheme-reports] Questions about cond-expand Aaron W. Hsu (06 Sep 2012 12:31 UTC)

Re: [Scheme-reports] Questions about cond-expand John Cowan 05 Sep 2012 06:42 UTC

Christian Stigen Larsen scripsit:

> reading about cond-expand in draft 6 has left me with questions:
>
> * If it's allowed at _program_ top-level as well, shouldn't that be
>   reflected in the BNF?

The meaning of cond-expand at top level is not defined by R7RS.  It might
mean the same thing as it does in libraries, or it might signal an error,
or it might do something subtly different.  In Chibi it happens to mean
the same thing at the REPL as in a library.

>   The BNF in draft 6 (IIRC) seems to explicitly allow it only in library
>   declarations.

Correct.

> * Is cond-expand expanded at compile-time only?  I guess this boils down to
>   how the feature set behaves.

Yes, modulo what "compile-time" means in different implementations.

--
Income tax, if I may be pardoned for saying so,         John Cowan
is a tax on income.  --Lord Macnaghten (1901)           cowan@ccil.org

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports