summaryrefslogtreecommitdiff
path: root/src/bin/serializer.rs
blob: 1a38c23219d9e9d3dfb9aca7bdaeb1ba824e855c (plain)
1
2
3
4
5
6
7
extern crate two_timer;
extern crate serde_json;

// for constructing a serialized matcher
pub fn main() {
    println!("serde_json::from_str(r#\"{}\"#).unwrap();", serde_json::to_string(&two_timer::GRAMMAR.matcher().unwrap()).unwrap());
}