TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Yacc/Lex editor/tester online

3 pointsby mingodadover 1 year ago
I&#x27;m building an online yacc&#x2F;lex (LALR(1)) grammar editor&#x2F;tester to help develop&#x2F;debug&#x2F;document grammars, the main repository is here <a href="https:&#x2F;&#x2F;github.com&#x2F;mingodad&#x2F;parsertl-playground">https:&#x2F;&#x2F;github.com&#x2F;mingodad&#x2F;parsertl-playground</a> and the online playground with several non trivial examples is here <a href="https:&#x2F;&#x2F;mingodad.github.io&#x2F;parsertl-playground&#x2F;playground&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;mingodad.github.io&#x2F;parsertl-playground&#x2F;playground&#x2F;</a> .<p>Select a grammar&#x2F;example from &quot;Examples&quot; select box and then click &quot;Parse&quot; to see a parser tree for the source in &quot;Input source&quot; editor.<p>It&#x27;s based on <a href="https:&#x2F;&#x2F;github.com&#x2F;BenHanson&#x2F;gram_grep">https:&#x2F;&#x2F;github.com&#x2F;BenHanson&#x2F;gram_grep</a> and <a href="https:&#x2F;&#x2F;github.com&#x2F;BenHanson&#x2F;lexertl14">https:&#x2F;&#x2F;github.com&#x2F;BenHanson&#x2F;lexertl14</a> .<p>Any feedback is welcome !<p>The grammars available so far (with varying state of correctness):<p>- Ada parser<p>- Akwa parser (not working)<p>- Aliceml parser (partially working)<p>- Ansi C11 parser (partially working)<p>- Ansi C18 parser (partially working)<p>- Ansi C parser<p>- Antlr4.5 parser<p>- Bison parser (partially working)<p>- Blawn parser<p>- Braille parser (not working)<p>- C3c parser<p>- Calculator parser<p>- Carbon parser (need review of &#x27;*&#x27;)<p>- Chapel parser<p>- CocoR parser (partially working)<p>- Cpp5-v2 parser (not working)<p>- Cql parser<p>- Cxx parser (not working)<p>- Doxygen code scanner torture<p>- Ecere parser (not working)<p>- GramGrep parser<p>- HTML parser<p>- idl2cpp parser<p>- Ispc parser<p>- Java11 parser<p>- JavascriptCore parser<p>- Jq parser (partially working)<p>- Json5 parser<p>- Json lexer<p>- Json parser<p>- LALR parser<p>- Lark parser<p>- Lezer parser (partially working)<p>- LFortran parser (partially working)<p>- Linden Script parser<p>- Lox parser<p>- LPegrex parser (partially working)<p>- LPython parser (not working)<p>- Lua2ljs parser<p>- Lua-5.3 parser<p>- Lua parser<p>- LuaPP parser (partially working)<p>- Minic parser<p>- Minizinc parser (not working)<p>- MSTA parser<p>- Mulang parser (not working)<p>- Openscad parser (partially working)<p>- Peg parser (partially working)<p>- Pikchr parser<p>- Playground3 parser<p>- Playground parser<p>- PnetC parser<p>- PnetCSHarp parser<p>- PnetDPas parser<p>- PnetJava parser<p>- PnetVBasic parser<p>- Postgresql parser (be patient)<p>- Preprocessor parser (not working)<p>- Rust parser<p>- Scheme parser<p>- Souffle parser<p>- Tameparse parser (not working)<p>- Textdiagram parser<p>- Textmapper parser<p>- Webassembly interpreter parser<p>- XML parser<p>- Z80 assembler parser

1 comment

cryptonectorover 1 year ago
This is awesome!