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,8 +2,7 @@
// * Add Bison actions for arithmetic expressions:
// - Addition: $$ = new_temp(); emit_binary_op($$, "ADD", $1, $3);
// - Subtraction, multiplication, division, modulo
#include "runner.h"
#include <stdarg.h>
// these are from page 364
typedef enum {