This is an implementation of a compiler for a simple C-like language that uses the C tools Flex and Bison.
Stars
188
Forks
39
Watchers
188
Open Issues
5
Overall repository health assessment
No package.json found
This might not be a Node.js project
427
commits
Introduction of context structure: It stores a reference to the AST entry of the current loop. Nested loop are handled in stack fashion. Handling of enter and exit can be done similar to scopes with respective enter and hide functions (related to #14)
c19a4e0View on GitHubadd d_type field to binary and unary expression AST nodes (related to #14)
2da7b6cView on GitHubchange parameter of get_data_type to the symbol table entry directly. no need for lookup
950dca3View on GitHubIntroduction of three address code source and header files. First implementation (related to #14)
86ec5c0View on GitHubintroduce temporary compiler-generated symbol table entry type (related to #14)
fb2fdb3View on GitHubMain steps of semantic analysis concluded. Next steps in #14. (closes #13)
a187b4eView on GitHubverify function name not a redeclaration, fix line number assignments in AST, introduce symtab helper for retrieving first line (related to #13)
1acacacView on GitHubextend simple C language documentation on semantics: add function calls, assignments, jump statements, print statements and return statements (related to #13)
45a28daView on GitHubverify binary and unary expression data type is not of type UNDEF or VOID (related to #13)
70643b8View on GitHubverify output value of expression in print statement is not of type UNDEF or VOID (related to #13)
0db5de3View on GitHub