mirror of
https://github.com/artegoser/ONLang
synced 2024-12-23 09:33:44 +03:00
refactor: deleted the delusional code
This commit is contained in:
parent
5d8d5f415a
commit
b5970aaac6
1 changed files with 1 additions and 5 deletions
|
@ -21,11 +21,7 @@ fn main() {
|
||||||
if args.verbose == true {
|
if args.verbose == true {
|
||||||
println!("Running: {}\n", args.file);
|
println!("Running: {}\n", args.file);
|
||||||
}
|
}
|
||||||
let file_input = fs::read_to_string(args.file)
|
let file_input = fs::read_to_string(args.file).expect("File reading error");
|
||||||
.expect("File reading error")
|
|
||||||
.parse()
|
|
||||||
.unwrap();
|
|
||||||
|
|
||||||
let mut onint = Interpreter::new(file_input);
|
let mut onint = Interpreter::new(file_input);
|
||||||
|
|
||||||
onint.run();
|
onint.run();
|
||||||
|
|
Loading…
Add table
Reference in a new issue