[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Org mode and Emacs
From: |
David Masterson |
Subject: |
Re: Org mode and Emacs |
Date: |
Sun, 19 Jun 2022 16:48:27 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Ihor Radchenko <yantar92@gmail.com> writes:
> David Masterson <dsmasterson@gmail.com> writes:
>
>>>> Semantic/Bovine ??
>>>
>>> Org is not context-free.
>>
>> But could it be moved in that direction? (ie. Organice)
>
> I don't think so. It is motivated by the fundamental Org syntax design,
> AFAIU. (mostly by first match wins design). We are not going to change
> fundamentals of the Org syntax. It will break backward compatibility.
Could Org be moved toward a "well-defined" grammar that could be
separated from the Emacs implementation to allow other systems (iOS,
Android, Windows) to implement (at least part of) a "standard" Org?
Could the backward compatibility be covered by an Emacs library where
necessary?
>>> Also, Org maintaners previously rejected the idea of implementing Org
>>> parser not in Elisp. Mainly because it would limit the ability to
>>> maintain and contribute to Org - one would need to learn another
>>> programming language to alter anything in Org syntax.
>>
>> Hmmm. That would make it difficult to keep the language "parseable" by a
>> different parser. Elisp would not provide the checks for (say) keeping
>> the language context-free.
>
> At this point, we are trying to "freeze" Org syntax as much as possible.
> So, major changes are not expected. Different parsers should not suffer
> from future changes (if they do, we should not make those changes to
> start with).
>
> As for keeping checks, we do have a set of parser tests using ERT. So,
> major breakage will be prevented. On top of this, we plan to make the
> parser tests more friendly to third-party tools:
> https://orgmode.org/list/87fsqzi4tw.fsf@localhost
This sounds good.
--
David Masterson
- Re: Org mode and Emacs, (continued)
- Re: Org mode and Emacs, Ihor Radchenko, 2022/06/11
- Re: Org mode and Emacs, David Masterson, 2022/06/12
- Re: Org mode and Emacs, Tim Cross, 2022/06/12
- Re: Org mode and Emacs, Po Lu, 2022/06/12
- Re: Org mode and Emacs, Ihor Radchenko, 2022/06/12
- Re: Org mode and Emacs, Tim Cross, 2022/06/12
- Re: Org mode and Emacs, David Masterson, 2022/06/12
- Re: Org mode and Emacs, Ihor Radchenko, 2022/06/12
- Re: Org mode and Emacs, David Masterson, 2022/06/12
- Re: Org mode and Emacs, Ihor Radchenko, 2022/06/14
- Re: Org mode and Emacs,
David Masterson <=
- Re: Org mode and Emacs, Ihor Radchenko, 2022/06/19
- Re: Org mode and Emacs, David Masterson, 2022/06/19
- Re: Org mode and Emacs, Tim Cross, 2022/06/11
- Re: Org mode and Emacs, Eli Zaretskii, 2022/06/12
- Re: Org mode and Emacs (was: Convert README.org to plain text README while installing package), Tim Cross, 2022/06/11
- Re: Org mode and Emacs, T.V Raman, 2022/06/11
- Re: Org mode and Emacs (was: Convert README.org to plain text README while installing package), Eli Zaretskii, 2022/06/12
- Re: Org mode and Emacs (was: Convert README.org to plain text README while installing package), Richard Stallman, 2022/06/12
- Re: Org mode and Emacs (was: Convert README.org to plain text README while installing package), Eli Zaretskii, 2022/06/12
- Re: Org mode and Emacs (was: Convert README.org to plain text README while installing package), Christopher Dimech, 2022/06/12