![]() |
Astaroth
2.2
|
Brief info. More...
#include <assert.h>#include <stdbool.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include "acc.tab.h"#include "ast.h"
Include dependency graph for code_generator.c:Data Structures | |
| struct | Symbol |
Macros | |
| #define | TRANSLATION_TABLE_SIZE (1024) |
| #define | MAX_ID_LEN (256) |
| #define | SYMBOL_TABLE_SIZE (65536) |
| #define | MAX_NESTS (32) |
| #define | ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) |
Enumerations | |
| enum | SymbolType { SYMBOLTYPE_FUNCTION, SYMBOLTYPE_FUNCTION_PARAMETER, SYMBOLTYPE_OTHER, NUM_SYMBOLTYPES } |
Functions | |
| int | yyparse (void) |
| int | main (void) |
Variables | |
| ASTNode * | root = NULL |
Brief info.
Detailed info.
| #define ARRAY_SIZE | ( | x | ) | (sizeof(x) / sizeof(x[0])) |
| #define MAX_ID_LEN (256) |
| #define MAX_NESTS (32) |
| #define SYMBOL_TABLE_SIZE (65536) |
| #define TRANSLATION_TABLE_SIZE (1024) |
| enum SymbolType |
| int main | ( | void | ) |
| int yyparse | ( | void | ) |
| ASTNode* root = NULL |