DEV Community

Discussion on: I hated Regex so much that I made iHateRegex.io

Collapse
 
codemouse92 profile image
Jason C. McDonald • Edited

Delightful tool. Bookmarking!

I also hate regex, so much that I'm helping design an expression parser that addressees many of its flaws. This new parser won't replace regex — trying to be everything to everyone is how it came to be so annoyingly esoteric to begin with — but it'll hopefully be better than what we have for a number of common cases.

Collapse
 
geongeorge profile image
Geon George • Edited

Thank you.
Your parser would be amazing. If it plugs into javascript I really would love to try it out.

Collapse
 
codemouse92 profile image
Jason C. McDonald

I'm implementing it for our C++ game engine, so this implementation won't be Javascript compatible. That said, both the code and the specification will be open source, so there's nothing stopping you (or anyone else) from implementing it elsewhere.

Thread Thread
 
geongeorge profile image
Geon George

is it already under construction? I'd love to see the repo

Thread Thread
 
codemouse92 profile image
Jason C. McDonald

We're fairly early in the implementation stage — the code is currently under a serious breaking refactor — but you certainly check it out. The project page is here, and you can follow our development on Phabricator.

Thread Thread
 
geongeorge profile image
Geon George

This looks cool

Thread Thread
 
geongeorge profile image
Geon George

I really wanted a parser built like regex101 for my tool. Really don't know where to start
github.com/geongeorge/i-hate-regex