Re: Name of the loop macro Marc Nieper-Wißkirchen 16 Aug 2022 11:25 UTC

Am Di., 16. Aug. 2022 um 13:19 Uhr schrieb Jakub T. Jankiewicz <xxxxxx@onet.pl>:
>
> >
> > The identifiers `quote`, `quasiquote`, `unquote`, and `splicing-unquote`
> > are de facto reserved, because their lexical abbreviations are non-hygienic:
> >
> > (let ((quote -)) '45) => -45 instead of 45.
>
> Interesting, just found a bug in BiwaScheme. What should be the output of:
>
> (let ((quasiquote quote)) `(x ,y))
>
> Kawa and Guile throws error. My implementation returns
>
> (x (unquote y))

It is an error in R7RS.  In R6RS, a syntax violation must be raised.