c8613c1ba2d162348af72caf499bdc790511e835
I added a new function 'Compile' that calls shuntingYard and thompson. I also added a new type 'Reg' that this function returns - it represents the starting state and contains the number of capturing groups in the regex. I also rewrote shuntingYard and thompson to return errors instead of panicking.
Description
An NFA-based regex engine with a library and command-line tool.
Languages
Go
75.7%
Python
24.2%
Makefile
0.1%