Skip to content

Commit

Permalink
Add functions
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeRoggenbuck committed Sep 5, 2024
1 parent feb34a1 commit 849cc65
Show file tree
Hide file tree
Showing 2 changed files with 466 additions and 387 deletions.
6 changes: 5 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,16 @@ fn interactive() {
if verbose {
println!(
"{}",
color!(Color::BLACK, format!("Stack before: {:?}", a).as_str())
color!(Color::BLACK, format!("Lexing Token: {:?}", a).as_str())
);
}
tokens.push(a);
}

if verbose {
println!("{}", color!(Color::BLACK, "End of lexing"));
}

let out = parse(tokens, &mut local_memory, &mut function_memory, verbose);
if out.token_type != TokenType::NoType {
println!(
Expand Down
Loading

0 comments on commit 849cc65

Please sign in to comment.