Scheme registry demo
Lassi Kortela
(05 Aug 2020 09:45 UTC)
|
Re: Scheme registry demo
(no sender)
(05 Aug 2020 11:27 UTC)
|
Reader directives
Lassi Kortela
(05 Aug 2020 15:35 UTC)
|
Re: Reader directives
John Cowan
(05 Aug 2020 17:46 UTC)
|
Re: Reader directives
Lassi Kortela
(06 Aug 2020 19:17 UTC)
|
Re: Reader directives (no sender) (06 Aug 2020 19:25 UTC)
|
Re: Reader directives Marc Nieper-WiÃkirchen 06 Aug 2020 19:25 UTC
Am Do., 6. Aug. 2020 um 21:17 Uhr schrieb Lassi Kortela <xxxxxx@lassi.io>: > > > > Is everything what you call "reader directive" actually a reader > > directive? > > > > No, you're right. The title should be something else. Any suggestions? > > > > We could just title it "#! syntax" or "Hash-bang syntax", but it might > > be nice to group other prefixes besides "#!" together in the same table. > > > As far as I am concerned, "#!" means "identifier follows", and what the > > identifier is tells you what it's for. There is no semantics to "#!" at > > all. (Fortunately for this theory, /bin/sh is a perfectly good > > identifier in Scheme.) > > A quick search didn't turn up reasonable examples of identifiers with > prefixes other than #! in Scheme's read syntax, so I followed your > suggestions and renamed that section of the registry "Reader #! > identifiers" (source file: reader-hash-bang.scm). The most general generic name would be something like "#! lexical syntax". There is no concept of a "reader identifier".