extern crate tag_parser;
use tag_parser::{*};
use std::mem;
const DATA: &str =
r#"
Oh never talk again to me
Of northern climes and British ladies;
It has not been your lot to see,
Like me, the lovely Girl of Cadiz.
Although her eye be not of blue,
Nor fair her locks, like English lasses,
How far its own expressive hue
The languid azure eye surpasses!
"#;
fn main() {
let r = parse(DATA.as_bytes());
let rr:Vec>;
match r {
Ok((_,r)) => {
unsafe { rr = mem::transmute::>,Vec>>(r); }
println!("{:#?}", rr);
},
Err(r) => println!("{}", r),
}
}