super-expressive.macro
super-expressive
super-expressive.macro | super-expressive | |
---|---|---|
1 | 6 | |
9 | 4,616 | |
- | - | |
0.0 | 2.9 | |
over 3 years ago | 2 months ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
super-expressive.macro
-
A tale of knowledge building
After a couple of weeks of playing around with the idea and learning much more about Babel plugins in the process, I released super-expressive.macro - a macro to generate Regular Expressions (RegExp) at build-time with super-expressive.
super-expressive
- i'd like you to meet regex-
- Melody - A language that compiles to regular expressions and aims to be more easily readable and maintainable
-
💡 expressive-glob: Write glob patterns in a super expressive and an easy way!
This project is inspired by super-expressive!
-
A tale of knowledge building
super-expressive is a library to create Regular Expressions (RegExp) in almost natural language. It's useful, simple and well-documented. One downside it's that it's a runtime library, something else to add to our bundle.
- Super-expressive – Write regex in natural language
-
All cashiers need to see is your birth year starting with 1 and they know you're old enough.
Here's an attempt at making regex readable in javascript, https://github.com/francisrstokes/super-expressive
What are some alternatives?
babel-handbook - :blue_book: A guided handbook on how to use Babel and how to create plugins for Babel.
babel-plugin-macros - 🎣 Allows you to build simple compile-time libraries
babel-plugin-tsconfig-paths-module-resolver - Use tsconfig-paths in any bundler that supports a custom babel config.
regex-benchmark - It's just a simple regex benchmark of different programming languages.
fluent-regex - A nice fluent and typed way to construct regular expressions
JSVerbalExpressions - JavaScript Regular expressions made easy
ocaml-re - Pure OCaml regular expressions, with support for Perl and POSIX-style strings
melody - Melody is a language that compiles to regular expressions and aims to be more readable and maintainable
xr - Inverse of rx: convert Emacs string regexps to rx form
expressive-glob - 💡 Write glob patterns in super expressive and an easy way!