[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: official orgmode parser
From: |
Daniele Nicolodi |
Subject: |
Re: official orgmode parser |
Date: |
Sat, 24 Oct 2020 23:12:47 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 |
On 23/09/2020 10:09, Bastien wrote:
> I disagree that a parser is too difficult to maintain because Org is
> a moving target. Org core syntax is not moving anymore, a parser can
> reasonably target it. That's what is done with the Ruby parser, in
> use in this small project called github.com :)
(Just an aside: which Ruby org-mode parser does Github use? I sometime
find instances where Github does not render an org-mode file correclty
and I would be happy to file bugs to have them corrected).
> So I'd say:
>
> - let's enhance Worg's documentation
> - yes, please go for enhancing parsing tools
>
> I don't think we need official tools. The official Org parser exists,
> it is Org itself.
Would it make sense to have one "official" (or a set of) org-mode test
files and the corresponding syntax tree as parsed by org-elements (maybe
in a format easier to read from other programming languages than
s-expressions, json maybe?) to make testing other parser against the
reference implementation easier?
Maybe the org-mode test suite already has something like this. I haven't
looked for it yet.
Cheers,
Dan
- Re: official orgmode parser,
Daniele Nicolodi <=
- Re: official orgmode parser, Ken Mankoff, 2020/10/26
- Re: official orgmode parser, Nicolas Goaziou, 2020/10/26
- Re: official orgmode parser, Ken Mankoff, 2020/10/26
- Re: official orgmode parser, Nicolas Goaziou, 2020/10/26
- Re: official orgmode parser, Ken Mankoff, 2020/10/26
- Re: official orgmode parser, Tom Gillespie, 2020/10/26
- Re: official orgmode parser, Ken Mankoff, 2020/10/26
- Re: official orgmode parser, Tom Gillespie, 2020/10/26
- Re: official orgmode parser, Ken Mankoff, 2020/10/26