‹ BackHN Continuity

Thread

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

33 points · 17 comments · renjipanicker

  1. mingodad · · focus · HN ↗
    For people interested on this topic I strongly recommend to also look at Ben Hanson <a href="https:&#x2F;&#x2F;github.com&#x2F;BenHanson&#x2F;parsertl17" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;BenHanson&#x2F;parsertl17 and based on it I&#x27;ve created an online LALR(1) playground here <a href="https:&#x2F;&#x2F;mingodad.github.io&#x2F;parsertl-playground&#x2F;playground&#x2F;" rel="nofollow">https:&#x2F;&#x2F;mingodad.github.io&#x2F;parsertl-playground&#x2F;playground&#x2F; where you have around 350 non trivial. grammars to experiment (select one from the `Examples` dropdown and then click `Parse` to see a parse tree for the input in `Input`, it also generates EBNF to generate nice navigable railroad diagrams on <a href="https:&#x2F;&#x2F;www.bottlecaps.de&#x2F;rr&#x2F;ui" rel="nofollow">https:&#x2F;&#x2F;www.bottlecaps.de&#x2F;rr&#x2F;ui .
    1. renjipanicker · · focus · HN ↗

      [dead]

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.