Re:Regex Engine Internals as a Library
by nsajko on Wednesday July 05, 2023 @11:47AM
(#36602104)
You're both correct. In the context of Julia, where compilation and run time are arbitrarily interleaved, something like re2c can be a library and used at run time.
[ Parent
| on HN ]
Re:Regex Engine Internals as a Library
by burntsushi on Thursday July 06, 2023 @07:37AM
(#36614308)
Just to be clear here, I mentioned re2c as an example of what my blog is not about. There is a category difference between "ask a regex engine to run arbitrary code" and "expose internals as a separately versioned library for others to compose as they want." They service different use cases.