marin 0.1.0

Rust implementation of the DSL used for kantek (kv2.dev)
Documentation
1
2
3
4
5
6
7
8
use marin::Marin;

fn main() {
    let input = "123 arg1 list: [1, 2, [\"nested\", \"list\"]] -flag ..10 -5..5 \"quoted strings\"";
    println!("input: {}", input);
    let res = Marin::parse(input).unwrap();
    println!("output:\n{}", res);
}