jweinst1
4/5/2017 - 7:02 AM

example using rust peg

example using rust peg

mod parse;
//example use rust-peg

fn main() {
	match parse::program("8998") {
		Ok(result) => println!("{:?}", result), //["8998"]
		Err(e) => println!("{}", e)
	}
}