- Sets the MSRV to Rust 1.70.0
- Removes use of
atty as it is unmaintained and has a low CVE
- Sets the MSRV to Rust 1.65.0
- Adds
console.error output for panics on the Wasm version
- Deno no longer requires an init function
- Fixes a few edge cases with hyphens and slashes
- Adds support for unicode categories
- Add support for testing matches in a file in the CLI
- Remove
anyhow in compiler in favor of emitting specific error variants
- Add support for testing matches in CLI
- Add shell completions for CLI
- Add Deno support
- Support stdin in CLI
- Emit proper exit codes on specific errors
- Fixes unnecessary grouping in quantifiers
- Version bump for documentation update
- Version bump for documentation update
- Version bump for documentation update
- Handles a few possible panics
- Replaces
lazy_static with once_cell
- Improves literal parse performance
- Reports a few possible panics with a ParseError
- Fixes an issue with single letter variable identifiers matching a following space
- Fixes a clash between REPL commands and variables
<alphabet> is now <alphabetic>
- Support for lazy quantifiers
- All symbols now have negative counterparts
<alphanumeric> symbol added
- Adds an experimental implementation of variables
- Fixes an issue with identifying negative char ranges
- Adds keywords and categories to cargo.toml files
- Produces clean output (no
// and new newline after output)
- Adds favicons for documentation and playground
- The Melody playground now supports add to homescreen
- Adds
#![forbid(unsafe_code)]
- Adds tests
- Adds tests for CLI
ParseError now contains only one message field, may be changed in the future
- Line comments (
//) may only be used in a separate line
- The REPL currently accepts blocks on a single line but not multiple lines
- Semicolons are no longer optional
- Uses a Pest grammar and an AST to parse Melody
- Adds support for nested groups
- Adds support for negative ranges
- Adds initial support for negative character classes
- Adds support for
<backspace>, <boundary>
- Adds support for inline comments
- Enforces group closing
- Supports NO_COLOR in CLI
-n removes color from REPL as well
- Removes quantifiers after newlines
- Fixes the handling of some newline issues in the REPL
- Adds an error message for a read error in the REPL
- Trims only the end off of REPL input
- Changes the
-f, --file CLI argument to -o, --output
- Adds descriptions to CLI commands
- Adds
ahead, not ahead, behind and not behind assertions
- Changes
<space> to <whitespace> (thanks @amirali #34)
- Adds
<space> and <alphabet> (thanks @amirali #34)
- Adds long versions for REPL commands
- Adds
.s, .source to print the current source in the REPL
- Adds
.c, .clear to clear REPL history
- Adds better error reporting to the playground
- Fixes some undo / redo issues in the REPL
- Better error handling in the CLI
- Adds a REPL for
melody_cli
- Adds better error messages for the playground
- Adds support for raw sequences (
`...`)
- Allows any word character in
capture names
- Adds auto escaping for literals
- Adds the Melody version number to the documentation
- Changes
start, end, and char to symbols (<start>, <end>, <char>)
either creates a non capturing group
cargo clippy fixes in melody_wasm
- Uses the correct
url in the documentation site config