Re: Reader flags to indicate different kinds of files Marc Nieper-Wißkirchen 27 May 2020 20:16 UTC

Am Mi., 27. Mai 2020 um 11:14 Uhr schrieb Lassi Kortela <xxxxxx@lassi.io>:

> > file contents should ideally be self-describing. `#!r6rs`
> > and `#! /usr/bin/env fantastic-scheme` are two such useful identifiers.
> > Perhaps the  `meta.scm` file can start with `#!metadata` or something.
> > Would that be considered reader abuse?

I would change the title of this thread as reader flags are something
different than semantic markers of data or code. And `#! /usr/bin/env
fantastic-scheme` is not even a reader flag.

If you look for a way to attach meta-information to a Scheme file that
is not part of the contained data, you may want to reuse Emacs-style
comments (think of file-local variables) for this purpose.