|
|
|
|
|
by db48x
1049 days ago
|
|
I know all of that :) I admit that I was partly being facetious, but I also don’t think it is entirely impossible. For example, a hypothetical RCRE could provide hash tables for storing named regexes, or could take function pointers for looking up names so that the library user could implement their own storage for them. And so on, and so forth. I think that a hypothetical RCRE could be as influential as PCRE was, if someone could find the time to do it. On the other hand, I am very weary of C these days. A Rust crate with procedural macros to provide compile–time grammar compilation would be a lot more fun. If I had some funding I could easily see spending a year or three on that. |
|