3 ms·
Yes that's my assessment too! Funny thing is that I designed a similar project called "Annex" in Python around 2014. But when I looked back on it after a few
by chubot 4y ago
Yes that's my assessment too!
Funny thing is that I designed a similar project called "Annex" in Python around 2014.
But when I looked back on it after a few years with fresh eyes, it was just too different! It was hard to remember.
So Eggex is very similar to the common syntax -- it's actually roughly the same as lex or re2c. I think there's a case to make that we we ALREADY have a good syntax for regexes in lexer generators -- it's just the POSIX/Perl syntax that is bad!
The other thing about Annex is that it was a Python library, and it was never worth the extra dependency. (IMO PyPI has a lot of friction.)
That is, after writing it, I already knew stdlib re syntax so well it wasn't worth it :) But Eggex is in a shell, which is a context that makes a lot of sense IMO.