Crates.io | melody_compiler |
lib.rs | melody_compiler |
version | 0.19.0 |
source | src |
created_at | 2022-02-19 16:02:47.460061 |
updated_at | 2023-07-16 18:04:46.553573 |
description | The Melody language compiler |
homepage | https://github.com/yoav-lavi/melody |
repository | https://github.com/yoav-lavi/melody |
max_upload_size | |
id | 535259 |
size | 59,719 |
The Melody language compiler
[dependencies]
melody_compiler = "0.19.0"
use melody_compiler::compiler;
let source = r#"1 to 5 of "A";"#;
let output = compiler(source);
assert_eq!(output.unwrap(), "A{1,5}");