2020-06-21 00:21:24 +02:00
|
|
|
mod errors;
|
|
|
|
mod file_io;
|
|
|
|
mod parser;
|
|
|
|
|
|
|
|
use file_io::open_file;
|
|
|
|
use parser::{ParsedReid, Parser};
|
|
|
|
use std::path::Path;
|
|
|
|
|
2020-06-18 17:06:57 +02:00
|
|
|
fn main() {
|
2020-06-21 00:21:24 +02:00
|
|
|
let path = Path::new("reid_src/test.reid");
|
|
|
|
let reid = Parser::from(open_file(&path).ok().unwrap()).parse();
|
|
|
|
println!("Parsed: {:?}", reid);
|
2020-06-18 17:06:57 +02:00
|
|
|
}
|