mirror of
https://github.com/Noratrieb/m8db.git
synced 2026-01-14 15:25:06 +01:00
promt start
This commit is contained in:
parent
126bd318fd
commit
ce9fe037a1
1 changed files with 7 additions and 0 deletions
|
|
@ -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 program = std::fs::read_to_string(filename).unwrap();
|
||||||
let statements = match stmt::parse(&program) {
|
let statements = match stmt::parse(&program) {
|
||||||
Ok(stmts) => stmts,
|
Ok(stmts) => stmts,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue