|
|
|
|
|
by phunge
3283 days ago
|
|
If you're interested in getting parse trees from regexes (ie all the submatch locations), check out Kleenex, it looks really interesting and is based on some new research. Full parse trees are a harder problem than matching, and one that is not a primary focus in RE2 performance AFAICS. |
|
I've found the hardest part of using e.g. a recursive descent parser is having to correct captured state while backtracking.