Lexical syntax for boxes Lassi Kortela (09 Nov 2022 16:34 UTC)
Re: Lexical syntax for boxes Marc Feeley (09 Nov 2022 16:40 UTC)
Re: Lexical syntax for boxes Lassi Kortela (09 Nov 2022 16:48 UTC)
Re: Lexical syntax for boxes Marc Nieper-Wißkirchen (09 Nov 2022 16:41 UTC)
Re: Lexical syntax for boxes Lassi Kortela (09 Nov 2022 16:56 UTC)
Re: Lexical syntax for boxes Marc Nieper-Wißkirchen (09 Nov 2022 17:04 UTC)
Re: Lexical syntax for boxes Marc Nieper-Wißkirchen (09 Nov 2022 17:12 UTC)
Re: Lexical syntax for boxes Lassi Kortela (09 Nov 2022 17:42 UTC)
Re: Lexical syntax for boxes Marc Feeley (09 Nov 2022 17:24 UTC)
Re: Lexical syntax for boxes Lassi Kortela (09 Nov 2022 17:26 UTC)
Re: Lexical syntax for boxes Marc Nieper-Wißkirchen (09 Nov 2022 17:32 UTC)
Re: Lexical syntax for boxes Lassi Kortela (09 Nov 2022 17:54 UTC)
Re: Lexical syntax for boxes Marc Nieper-Wißkirchen (09 Nov 2022 18:55 UTC)

Re: Lexical syntax for boxes Lassi Kortela 09 Nov 2022 17:42 UTC

> The #' entry is also not quite right, semantically.  #' is just an
> abbreviation for "syntax" as ' is an abbreviation for quote.  As
> lexical syntax, it is not connected to syntax datums.  It is not
> recognized by the syntax-case system, either.  It just happens that,
> in the standard library, the identifier "syntax" is a keyword that,
> when used, evaluates to a syntax object.
>
> For example '#'x just evaluates to the list (syntax x).

Thanks. That makes sense. I'll change it to "syntax" for uniformity with
the related entries #` and #, and #,@

I don't know where I got the term "syntax datum" either. Can't find it
in R6RS. "Syntax object", perhaps.

> This may sound pedantic, but I think getting things right helps reduce
> confusion, especially for people new to Scheme.

Agreed. Pedantry is the right thing in all specifications and reference
works. (And often helps clarify things elsewhere too, when the topic is
technical.)

There are sure to be more omissions an inaccuracies in the Registry
since I compiled almost all of it by myself. Notes, and especially
patches, are much appreciated.