Regular Expression COmpiler - Compile a regex ahead of time to code

This page summarizes the projects mentioned and recommended in the original post on /r/coding

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • reco

    Regular Expression COmpiler - Compile a regex ahead of time to code (by Pita)

  • It seems a little weird to me that they start out targeting JS, though. Look at one of the sample generated files -- it has a little comment at the top that has the tiny regex it was generated from. I'd be shocked if that's actually faster -- that's a lot for v8 to parse and optimize, and you're hoping it'll parse/optimize it into better code than it would parsing/optimizing a tiny regex?

  • compile-time-regular-expressions

    Compile Time Regular Expression in C++

  • CTRE is great for C++

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • RE2

    RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library.

  • At a personal level, I took on this challenge at some point, with the take of compiling RE2 to JavaScript, it's on the list of side-projects that require more time/love.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts