‹ BackHN Continuity

Thread

Parsing Expression Grammar vs. Regexes: Building Org Parser in Lisp, Export HTML

126 points · 20 comments · jjba23

  1. le-mark · · focus · HN ↗
    “Org” in this context is emacs org mode. Seems odd in this day and age that anyone would see hierarchical text format and think “regex”!
    1. jjba23 · · focus · HN ↗
      Indeed you make a good point. My naive self thought it could work out, but actually the more you zoom out, the more tree-structures you see in many formats. And in my opinion, then it's time to sheathe Valyrian Steel of Lisp, IMHO the language to rule them all when it comes to working with tree based structures (Org, HTML, SXML, many more)
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.