Olivier Dion <[email protected]> writes:

> I think we can have a knob for the reader to enable this as an
> extension.  However, for the sake of portability, I believe this should
> be opt-in instead of the default.
>
> What do you think?  You would need to do add something like:
>
> #!quote-in-token
>
> at the begining of your Scheme file.

That would make it possible to use, but still reduce usability for game
scripting. I can work around it, but requiring everyone who happened to
use it to work around it in every file feels wrong.

(remember that for Guix we even rolled back a change that only caused a
 compiler warning to appear)

The reason why this is supported may be that ' is no delimiter in r7rs:

  ⟨delimiter⟩ ⟶⟨whitespace⟩ ∣⟨vertical line⟩∣( ∣) ∣" ∣;
  
https://standards.scheme.org/corrected-r7rs/r7rs-Z-H-9.html#TAG:__tex2page_sec_7.1

This was already the case in r4rs, r7rs only added the <vertical line>.
⇒ https://people.csail.mit.edu/jaffer/r4rs_9.html#SEC67

Since this change already hit two projects we know about, I’d expect
that the use of ' within identifiers is more widespread.

Would it also help with portability to warn (and finally disable) it
only in r7rs mode? That’s basically our strict mode. Then existing
programs would continue to work without changes but we would get better
portability.

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
https://www.draketo.de

Attachment: signature.asc
Description: PGP signature

Reply via email to