melody
pomsky
Our great sponsors
melody | pomsky | |
---|---|---|
55 | 19 | |
4,595 | 1,258 | |
- | 0.1% | |
4.3 | 8.4 | |
9 months ago | 3 months ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
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.
melody
- nom > regex
- Melody 0.19.0 | A language that compiles to regular expressions and aims to be more readable and maintainable
- Melody 0.19.0 – A language that compiles to regular expressions
-
Yeah, we all know what you're good for...
just use Melody
-
I've created a Python module for constructing Regex patterns in a more computer programming-familiar way, so you don't have to re-learn Regex each time you use it!
How do you feel about projects such as melody?
-
Why does it have to be like this?
I found this beauty a while ago
-
Melody 0.18 (a sane alternative to regular expressions)
It's been a while since I updated you on Melody, wanted to share some of the improvements with you.
-
rulex VS melody - a user suggested alternative
2 projects | 19 Jun 2022
Melody is a language that compiles to regular expressions and aims to be more easily readable and maintainable
-
Regular expressions for humans
another project related to making regexes more readable: https://github.com/yoav-lavi/melody
-
Rulex – A new, portable, regular expression language
- https://github.com/yoav-lavi/melody - More verbose, supports macros, backslash escapes only for quotes. Rust compiler, babel plugin. Improves with time, getting quite impressive.
1 to 3 of match {
pomsky
-
How to call from Rust into JS, Java, C#, Ruby and Python?
I started with JS, and my first step was to write a simple script that checks if a regex is valid. I can call this script from Rust, but there's a problem: Starting a nodejs process takes about 100ms, which is not acceptable, especially for fuzzing.
-
How do you guard against stack overflows
I noticed this when a test case of a parser I wrote failed in CI on Windows. I then learned that the default stack size on Windows is only 1 MiB whereas its 8 MiB on Linux if I remember correctly. The parser has a hard-coded recursion limit to prevent stack overflows, which is currently set to 128. However, this limit is lower than necessary on Linux, and might still be too high for some platforms (embedded?)
-
I have to rename Rulex
I was informed that Rulex is a registered trademark and I'm not allowed to use the name for my project. A lawyer contacted me and gave me a week to rename the project, so I have to come up with a different name :(
-
Melody 0.18 (a sane alternative to regular expressions)
In the other discussion, there's also a link to Rulex, which has similar goals but is more concise. Also claims to compile to multiple regex dialects.
-
Fuzzing rust-minidump at Mozilla for Embarrassment and Crashes – Part 2
Something similar happened to me a week ago. Someone emailed me that they found panics in rulex, and then created a PR to fix them. They even explained to me how to create a security advisory on GitHub because the panics could be used to DoS someone. It was very helpful.
-
Where would you put Error enums?
Sorry for not being more specific. Since this is a parser, the span points into the text file that is being parsed, so it's not that relevant for most libraries. Here is the parser, it uses nom parser combinators. Unfortunately, and adding the spans to the errors involves some boilerplate.
-
rulex VS melody - a user suggested alternative
2 projects | 19 Jun 2022
-
Any active open source repos built using Rust that need development ?
I welcome contributions for rulex. It's a medium-sized project that should be fairly easy to understand, and has some "good first issues" :)
-
Hacker News top posts: Jun 10, 2022
Rulex – A new, portable, regular expression language\ (102 comments)
- Rulex – A new, portable, regular expression language
What are some alternatives?
Fiber - ⚡️ Express inspired web framework written in Go
grex - A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases
RegExr - RegExr is a HTML/JS based tool for creating, testing, and learning about Regular Expressions.
regex-automata - A low level regular expression library that uses deterministic finite automata.
oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
kleenexp - modern regular expression syntax everywhere with a painless upgrade path
regex - Regex to parse translator
taffy - A high performance rust-powered UI layout library
JSVerbalExpressions - JavaScript Regular expressions made easy
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
REXS - A language for writing regular expressions.