Re: Configuring read and write for syntax extensions
Marc Nieper-Wißkirchen 16 Aug 2020 12:32 UTC
Am So., 16. Aug. 2020 um 14:26 Uhr schrieb Lassi Kortela <xxxxxx@lassi.io>:
>
> Ideally we would have 1:1 correspondence between port syntax settings
> and #! directives. Any setting could be represented by a #! directive
> and vice versa.
One has to get this matched to #!fold-case and #!no-fold-case.
Moreover, a reader directive like #!fantastic-scheme may enable and/or
disable quite a lot of flags.
So, we won't get a 1:1 correspondence here. Nevertheless, we should
look for some equally comprehensible mapping.
> Anyway, as things stand, #! is always followed by an identifier. So the
> Scheme representation of the port settings could simply be a list of
> symbols that are currently enabled.
How do you want to turn off a setting "frobnicated-pairs"? Through
"#!no-frobnicated-pairs"?