diff options
author | Bad Diode <bd@badd10de.dev> | 2022-04-22 22:49:59 -0300 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2022-04-22 22:49:59 -0300 |
commit | d30601a02fe1af1eb43f15eabf6a427baedfce14 (patch) | |
tree | 5a992b606332c923942b55b476343eb4381baa96 /src/main.c | |
parent | 268ad7e0db894c8fbc445a0ec64bb50d0d0b7c48 (diff) | |
download | bdl-d30601a02fe1af1eb43f15eabf6a427baedfce14.tar.gz bdl-d30601a02fe1af1eb43f15eabf6a427baedfce14.zip |
Add initial BASM generation for arithmetic ops
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -62,6 +62,10 @@ process_source(const StringView *source, const char *file_name) { | |||
62 | viz_symtables(parse_tree->scopes); | 62 | viz_symtables(parse_tree->scopes); |
63 | return; | 63 | return; |
64 | } | 64 | } |
65 | |||
66 | ProgramBASM *program = generate_basm(parse_tree); | ||
67 | check_errors(file_name); | ||
68 | viz_basm(program); | ||
65 | } | 69 | } |
66 | 70 | ||
67 | void | 71 | void |