16 Commits (8a1f1dc621e7f4228ebf60be0571f08551f0398e)

Author SHA1 Message Date
Aadhavan Srinivasan 8a1f1dc621 Added unicode support
Replaced strings with rune-slices, which capture unicode codepoints more
accurately.
1 month ago
Aadhavan Srinivasan 21142e6e13 Wrote function to clone the NFA starting at a given state, and a function to find question mark operator (a? == (a|)) 2 months ago
Aadhavan Srinivasan dca81c1796 Replaced rune-slice parameters with string parameters in functions; avoids unnecessary conversion from strings to rune-slices 2 months ago
Aadhavan Srinivasan fccd3a76f5 Wrote function to check if the assertion of a state is true 2 months ago
Aadhavan Srinivasan 0736e813c1 Fixed boneheaded mistake with checking assertion types 2 months ago
Aadhavan Srinivasan 1aff6e2fa4 Added a field to State, that tells me what kind of assertion (if any) it is making. Also added function to check if a state's contents contain a given value (checks assertions), and to find all matches that a state has for a character 2 months ago
Aadhavan Srinivasan 3778869567 Use stateContents type to allow a state to store multiple characters 2 months ago
Aadhavan Srinivasan aee24644e9 Use new unique_append function signature 2 months ago
Aadhavan Srinivasan ae219f763a Added alternate function, removed relevant code from main; also started working on escape characters 2 months ago
Aadhavan Srinivasan bf3060b672 Used 'unique append' to ensure that a transition can only contain a given state once 2 months ago
Aadhavan Srinivasan b327143fa2 Added function for concatenation and kleene star 2 months ago
Aadhavan Srinivasan 9d3bc2b804 Fixed kleene star behavior, which used to behave like a '+' 2 months ago
Aadhavan Srinivasan bc11777ad5 Fixed Kleene Star matching 2 months ago
Aadhavan Srinivasan 213da40c3b Allow one state to map to multiple states with the same transition eg. ab|aa 2 months ago
Aadhavan Srinivasan 8394e7867e Fixed bug with last state detection 2 months ago
Aadhavan Srinivasan 82b33f3c9a First commit 2 months ago