aboutsummaryrefslogtreecommitdiff
path: root/tree.c
AgeCommit message (Collapse)Author
2019-10-06Add label in parse tree for code generationTucker Evans
2019-10-06Fix tree_printTucker Evans
Tree-print now shows "branches" of tree for readability Now tests if t is null and returns rather then testing t is not null and then printing the node, this allows for less indentation in the code.
2019-09-29Add notes on location of freesTucker Evans
2019-09-20Fix double free of array infoTucker Evans
2019-09-16Fix arguments being freed to earlyTucker Evans
Moved freeing argument tree into function/procedure parsing not parameter list parsing (in update_types), so function/procedure could set parameter types correctly.
2019-09-15Add frees id_list/type trees after update ID typesTucker Evans
2019-09-12Merge branch 'master' into mem-managementTucker Evans
2019-09-12Fix setting type for multiple declared arraysTucker Evans
2019-09-11Adds type checking procedure argumentsTucker Evans
2019-09-08Add checking types on function callTucker Evans
2019-09-05Fix debug printsTucker Evans
- Removes tree_print from function parsing - ID can't have ID as child, removes check in tree_print
2019-09-03Add unary minus to parsingTucker Evans
2019-08-29Fix return value for correctly typed statementsTucker Evans
Change okay return value to 1 so 0 can be used to denote an unset return type
2019-08-18Merge branch 'master' into mem-managementTucker Evans
2019-08-18Add for loop parsingTucker Evans
Also fixes tree printing
2019-08-18Fix clean up header includesTucker Evans
2019-08-18Add WHILE to tree_printTucker Evans
2019-08-17Add Type checking if statement conditionTucker Evans
2019-08-17Add if statements to tree printTucker Evans
Removes printing tree during return type setting
2019-08-17Fix error message for ADDOP/MULOPTucker Evans
Removes some debugging prints
2019-08-17Fix MULOP/ADDOP return BOOL in check_ret_typeTucker Evans
Removes some debug printing
2019-08-17Add basic type checkingTucker Evans
Squashed commit of WIP-type_check@5dadc4f5667ae69a709dd45c020780f2f424d67e
2019-08-04Fix updating type on single variable declarationsTucker Evans
2019-08-04Add tree freeingTucker Evans
2019-08-04Fix tree print with variable typesTucker Evans
2019-08-03Fix print_tree placement in parse treeTucker Evans
2019-08-03Merge branch 'scopes' into typesTucker Evans
2019-07-27Add initial scope checkingTucker Evans
2019-07-27Add update types during declarationTucker Evans
2019-07-23Fix node_t is now nodeTucker Evans
2019-07-14Fix tree printTucker Evans
2019-07-14Add parse treeTucker Evans