Livoa LogoLivoa
Lexer State


yytext, yylval

token prints

Parser State


AST nodes

grammar reductions

TAC Buffer


icg[i] = 't0' = TAC

labels L0..

Symbol Table (Hash + Chain)


insert(name, offset)

lookup for IDs

Assembly Writers


Simple ASM: MOV/ADD/SUB/PRINT

x86: prologue, cmpq, j*, printf

Interpreter


eval_expr()

exec_statements()

Tonny_dataflo

by fahmy

0
0 uses