work
This commit is contained in:
@@ -1,16 +1,5 @@
|
||||
mod v1;
|
||||
mod v2;
|
||||
mod v3;
|
||||
|
||||
pub use v1::*;
|
||||
|
||||
pub fn main() {
|
||||
let arg = std::env::args_os().nth(1);
|
||||
if let Some(path) = arg {
|
||||
let file = std::fs::read_to_string(path).expect("failed to read file");
|
||||
println!("{file}");
|
||||
v1::parse_file(&file);
|
||||
// v2::parse_file(&file);
|
||||
} else {
|
||||
v1::run_stdin();
|
||||
}
|
||||
}
|
||||
pub use v3::*;
|
||||
|
||||
Reference in New Issue
Block a user