combined symbol table with IR in this branch

This commit is contained in:
Partho
2025-04-25 13:01:31 -04:00
parent 97ef6fa462
commit f0d81ff5fd
7 changed files with 552 additions and 16 deletions

View File

@ -2,7 +2,7 @@
/* The Translators - Spring 2025 */
#include "runner.h"
//Constant_Stack *head = NULL;
int main(int argc, char *argv[]) {
if (argc == 1) {
fprintf(stderr, INVALID);
@ -121,6 +121,7 @@ int run(FILE *alpha) {
if (st_flag != NULL) {
print_symbol_table(top, st_flag);
//emit_as_file(stdout, begin);
fclose(st_flag);
}