[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: official orgmode parser

From: Nicolas Goaziou
Subject: Re: official orgmode parser
Date: Mon, 26 Oct 2020 17:24:40 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Ken Mankoff <mankoff@gmail.com> writes:

> Yes, I meant to write that I think Org syntax is maybe *not*
> context-free, and therefore EBNF can't capture all of it. But it could
> still be very helpful and capture most of it.

I'm not arguing about the usefulness of a partial EBNF description. I'm
merely pointing out that the syntax is not context-free. Here is an

    # This is a comment (1)

    # This is not a comment (2)

AFAICT, you cannot distinguish between lines (1) and (2) with EBNF.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]