You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Aadhavan Srinivasan
c8613c1ba2
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. |
2 weeks ago | |
---|---|---|
.gitignore | 3 months ago | |
Makefile | 3 months ago | |
compile.go | 2 weeks ago | |
go.mod | 3 months ago | |
go.sum | 3 months ago | |
main.go | 2 weeks ago | |
matching.go | 2 weeks ago | |
misc.go | 1 month ago | |
nfa.go | 1 month ago | |
postfixNode.go | 1 month ago | |
range2regex.go | 2 months ago | |
re_test.go | 1 month ago | |
sliceQueue.go | 3 months ago | |
stateContents.go | 3 months ago | |
todo.txt | 3 weeks ago | |
unique_array.go | 3 months ago |