35 releases (16 breaking)

Uses new Rust 2021

0.18.0 Apr 24, 2022
0.16.1 Apr 13, 2022
0.13.9 Mar 18, 2022

#9 in Programming languages

Download history 34/week @ 2022-02-14 222/week @ 2022-02-21 104/week @ 2022-02-28 135/week @ 2022-03-07 209/week @ 2022-03-14 110/week @ 2022-03-21 10/week @ 2022-03-28 99/week @ 2022-04-04 133/week @ 2022-04-11 42/week @ 2022-04-18 247/week @ 2022-04-25 271/week @ 2022-05-02 42/week @ 2022-05-09

602 downloads per month
Used in melody_cli

MIT license

46KB
1K SLoC

Melody Logo

The Melody language compiler

Install

[dependencies]
melody_compiler = "0.18.0"

Usage

use melody_compiler::compiler;

let source = r#"1 to 5 of "A";"#;
let output = compiler(source);

assert_eq!(output.unwrap(), "A{1,5}");

Links

Dependencies

~1.3–1.8MB
~40K SLoC