Aadhavan Srinivasan cca8c7cda2 Got rid of transitions parameter, changed how kleene state is processed
I replaced the transition parameter for nfaState, replacing it with a
single nfaState pointer. This is because any non-alternation state will
only have one next state, so the map was just added complexity.

I changed alternation processing - instead of having their own dedicated
fields, they just use the new 'next' parameter, and another one called
'splitState'.

I also changed the kleene state processing to remove the unecessary
empty state in the right-side alternation (it actually messed up my
matching).
2025-02-05 22:20:28 -05:00
2024-10-22 14:35:36 -04:00
2024-10-22 21:02:09 -04:00
2025-01-30 11:20:05 -05:00
2025-02-03 16:48:09 -05:00
Description
An NFA-based regex engine with a library and command-line tool.
2.5 MiB
Languages
Go 75.7%
Python 24.2%
Makefile 0.1%