parsertl14
lexertl14
parsertl14 | lexertl14 | |
---|---|---|
2 | 3 | |
33 | 48 | |
- | - | |
6.9 | 6.2 | |
about 1 month ago | 2 months ago | |
C++ | C++ | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
parsertl14
lexertl14
-
Show HN: Yacc/Lex editor/tester online
I'm building an online yacc/lex (LALR(1)) grammar editor/tester to help develop/debug/document grammars, the main repository is here https://github.com/mingodad/parsertl-playground and the online playground with several non trivial examples is here https://mingodad.github.io/parsertl-playground/playground/ .
Select a grammar/example from "Examples" select box and then click "Parse" to see a parser tree for the source in "Input source" editor.
It's based on https://github.com/BenHanson/gram_grep and https://github.com/BenHanson/lexertl14 .
Any feedback is welcome !
The grammars available so far (with varying state of correctness):
- Ada parser
- Question about lexer and parser generators in Rust
- Why no more Lex/Yakk/ANTLR/whatever?
What are some alternatives?
gramatika - A minimal toolkit for writing parsers with Rust
bpr_cpp_lexer_mirror - Compile time generated lexical analyzers.
lalrpop - LR(1) parser generator for Rust
PEGTL - Parsing Expression Grammar Template Library
lexy - C++ parsing DSL
gram_grep - Search text using a grammar, lexer, or straight regex. Chain searches for greater refinement.
chumsky - Write expressive, high-performance parsers with ease.
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.