4 ms·
We're working on a formal grammar and a test suite that can be used to specify expected behavior. See the linked mailing list thread [0] for pointers to some of
by tgbugs 5y ago
We're working on a formal grammar and a test suite that can be used to specify expected behavior. See the linked mailing list thread [0] for pointers to some of the interested parties.
0. https://orgmode.org/list/CA+G3_POBAB1QX1Zv8q9sjFh4KHUHVmaNXp3XO7__6eoSdXKoyA@mail.gmail.com/ https://orgmode.org/list/CA+G3_POBAB1QX1Zv8q9sjFh4KHUHVmaNXp...
- happy-dude 5y agoI just wanted to chime in and mention that the folks who wrote organice[0] also came up with an EBNF grammar[1] for org-mode. Also of tangential interest is that work is actively being done on creating a tree-sitter version[2] of the grammar, although that work is not public (yet). [0] https://github.com/200ok-ch/organice https://github.com/200ok-ch/organice [1] https://github.com/200ok-ch/org-parser/blob/master/resources/org.ebnf https://github.com/200ok-ch/org-parser/blob/master/resources... [2] https://github.com/kristijanhusak/orgmode.nvim/issues/31#issuecomment-889875621 https://github.com/kristijanhusak/orgmode.nvim/issues/31#iss...
- Groxx 5y agoThat is great to hear, thanks! Hopefully it'll bring about a new wave of wider use :)