[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44554: 27.1; Feature request: SRFI-62 style comments for Emacs Lisp.
From: |
Juri Linkov |
Subject: |
bug#44554: 27.1; Feature request: SRFI-62 style comments for Emacs Lisp. |
Date: |
Thu, 12 Nov 2020 22:11:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
>> > No, not without modification. For example, #; would be treated as #
>> > and a comment removing the rest of the line by most existing lexers.
>> > And it's not just my code.
>>
>> Sure, it would be a new feature, and older lexers wouldn't understand
>> the new grammar, but that's true of (almost) any new language feature.
>
> If we had reader macros, and more generally a
> user-configurable reader, like Common Lisp, then
> maybe (?) users could adapt (e.g. disable or
> whatever) such new constructs programmatically,
> with Lisp.
I don't know if there is such a feature as transcompiling in Common Lisp
https://en.wikipedia.org/wiki/Source-to-source_compiler
but it should be possible to create a transpiler package that could help
to load Emacs Lisp files with newer syntax in older Emacs versions.
- bug#44554: 27.1; Feature request: SRFI-62 style comments for Emacs Lisp., (continued)
bug#44554: 27.1; Feature request: SRFI-62 style comments for Emacs Lisp., Francesco Potortì, 2020/11/10
bug#44554: 27.1; Feature request: SRFI-62 style comments for Emacs Lisp., Mattias Engdegård, 2020/11/11
bug#44554: 27.1; Feature request: SRFI-62 style comments for Emacs Lisp., Stefan Kangas, 2020/11/12
bug#44554: 27.1; Feature request: SRFI-62 style comments for Emacs Lisp., Andrea Corallo, 2020/11/13
bug#44554: 27.1; Feature request: SRFI-62 style comments for Emacs Lisp., Stefan Kangas, 2020/11/13
bug#44554: 27.1; Feature request: SRFI-62 style comments for Emacs Lisp., Andrea Corallo, 2020/11/13
bug#44554: 27.1; Feature request: SRFI-62 style comments for Emacs Lisp., Tassilo Horn, 2020/11/13