Comment by ordu
9 hours ago
> Work toward standardization has been stalled because I (among others) have not had time to circle back to work on it.
I tried to not to react to this, but, I'm sorry, I'm too much of a troll to just leave it without commenting.
Of course you have no time to write a formal definition. No one has time for that, and no one will have time for this. Because at this stage it is practically impossible. The parser was written as a bunch of regexps intermixed with lisp code. All edge cases were baked into org-mode because those regexps are the definition of org-mode. To write a formal grammar you need to catch all those edge cases, and to reproduce the behavior of the existing parser.
In retrospect, the parser should've been replaced with a formal grammar definition at much earlier stage, when it was possible to replace parser with another one, which is similar but generally incompatible because it deals with edge cases in a different ways. When the time was missed those edge-cases became a legacy you cannot fix.
No comments yet
Contribute on Hacker News ↗