promt start

This commit is contained in:
nora 2021-09-17 15:46:11 +02:00
parent 126bd318fd
commit ce9fe037a1

View file

@ -10,6 +10,13 @@ fn main() {
}
};
println!(
"m8db - M8 Debugger
(C) Nilstrieb (https://github.com/Nilstrieb/m8db)
Type 'help' for help
"
);
let program = std::fs::read_to_string(filename).unwrap();
let statements = match stmt::parse(&program) {
Ok(stmts) => stmts,