3 ms·
Common Lisp has had compile time regexes for well over a decade.
by User23 5y ago
Common Lisp has had compile time regexes for well over a decade.
- bmitc 5y agoSeveral languages support compiled regular expressions. Also, I interpreted the parent comment as talking about the implementation/architecture of the projects, not the projects themselves.
- User23 5y agoThe neat thing about Common Lisp is that cl-ppcre is just a library, but it still builds native code recognizers. That’s neat about C++ templates too which is why I drew the comparison. Personally I think Lisp macros are considerably more readable than C++ templates, especially when it comes to errors, but I’m happy to agree that reasonable minds may differ on that.