-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
gram_grep
Search text using a grammar, lexer, or straight regex. Chain searches for greater refinement.
-
regex
An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
I also took a look at https://github.com/rust-lang/regex and actually found the regex parsing code ('(', '{', '*', '?' etc.) so that is a good start too.
-
I wrote a lexer generator. It's pretty limited and poorly architected tbh, but feel free to have a look: https://github.com/dannymcgee/gramatika
-
Checkout https://github.com/zesterer/chumsky or https://github.com/rust-bakery/nom
-
Checkout https://github.com/zesterer/chumsky or https://github.com/rust-bakery/nom
-
Hi! For one of my projects I am currently using lalrpop (https://github.com/lalrpop/lalrpop/tree/master/doc/calculator/src), which is far from complete, but has the basic syntax I was looking for. I took some examples and worked around some lexer stuff but I’m currently happy with it. If you use it and have Intellij stuff installed, you can also use a plug-in for highlighting and SOMETIMES error checking. Otherwise, even VSCode had a great plug-in for highlighting!