‹ BackHN Continuity

Thread

Show HN: Yantra – an LALR(1) parser generator for C++

33 points · 17 comments · renjipanicker

  1. userbinator · · focus · HN ↗
    It&#x27;s a little surprising to see new parser generators being written, long after the vast majority of compilers have already settled on recursive descent &#x2F; precedence climbing (including <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49913192">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49913192 , which is currently nearby on the front page.)
    1. froh · · focus · HN ↗
      this would be narrowing parsers down to programming languages. however parser generators are great to real quick parse structured data, too.

      this is extra helpful if the parser generator also generates intuitive language bindings to, e.g. python or TS.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.