← All projects
Project record1 mention
Originally shared on Hacker News

Org-mode PEG parser

A parser for org-mode documents built on a PEG grammar, currently in early stages. The grammar is designed to be reusable so others can extend it and build better parsers, with the goal of making org-mode more ubiquitous.

Last shared For Anyone who wants to take the grammar, extend it, and build better org-mode parsers.
01 / The problem

What it addresses

Org-mode supports so many features that fully parsing all org-mode documents is difficult, and the author is unsure whether full coverage will ever be reached.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Org-mode PEG parser

    A parser for org-mode documents built on a PEG grammar, currently in early stages. The grammar is designed to be reusable so others can extend it and build better parsers, with the goal of making org-mode more ubiquitous.

    Problem: Org-mode supports so many features that fully parsing all org-mode documents is difficult, and the author is unsure whether full coverage will ever be reached.

    Audience: Anyone who wants to take the grammar, extend it, and build better org-mode parsers.

    Posted by @zelphirkalt · Original source ↗

    Source text · @zelphirkalt · · Source ↗

    I am working on a parser for org-mode, based on a (PEG) grammar. Still got some reading to do and it is all early stages. There is so much org-mode supports, that I am not sure I will ever make it to fully able to parse all org-mode documents. My idea is, that anyone can later take my grammar and extend it, make better parsers and maybe make org-mode more ubiquitous.