aboutsummaryrefslogtreecommitdiff
path: root/pc.y
AgeCommit message (Collapse)Author
2019-10-15Fix grammer conflictsTucker Evans
2019-10-09Add funcs now have scope offsets for return varsTucker Evans
2019-10-09Fix func/proc calls with 0 args parse correctlyTucker Evans
2019-10-09Fix scope offsetsTucker Evans
2019-10-09Fix function argument offsetsTucker Evans
2019-10-08Add macro to control generation of codeTucker Evans
2019-10-08Fix change tree type when parsing func/proc for clarityTucker Evans
2019-10-08Add scope based stack offsets for variablesTucker Evans
2019-10-07Fix io declarations, can be emptyTucker Evans
2019-10-06Fix gen code gets name of function being created for labelingTucker Evans
2019-10-06Add call gen_code from parserTucker Evans
2019-10-04Fix free string: program nameTucker Evans
2019-10-04Fix func_info members initialized after mallocTucker Evans
2019-10-02Fix function recursionTucker Evans
Function were blocked from calling themselves because they could not look outside their scope. Functions are now duplicated to their scope to allow for recursion.
2019-09-30Fix search now uses scope->ret_varTucker Evans
Allows for the scope to contain the function without having to worry about multiple nodes with the same name.
2019-09-30Add check that function returns valueTucker Evans
2019-09-30Fix check_exists checks safe scopes not just currentTucker Evans
2019-09-29Add io functions to base scopeTucker Evans
2019-09-29Merge branch 'master' of git.tuckerevans.com:/srv/git/private/pascal_compilerTucker Evans
Fix white space at end of lines in Testing files
2019-09-29Fix print tree only if DEBUG is setTucker Evans
2019-09-25Fix dangling elseTucker Evans
2019-09-23Fix frees id strings when not placed in node.Tucker Evans
2019-09-20Fix removes some string duplicationTucker 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-15Fix free whole program tree not id_listTucker Evans
2019-09-12Merge branch 'master' into mem-managementTucker Evans
2019-09-12Add some debug print methods to pc.yTucker 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-05Add procedure argument typesTucker Evans
2019-09-05Fix count_args to handle single variable parametersTucker Evans
2019-09-05Add function argument typesTucker Evans
2019-09-05Add counting of function argumentsTucker Evans
2019-09-04Merge branch 'type_checking' into func-array_infoTucker Evans
2019-09-03Add unary minus to parsingTucker Evans
2019-08-18Merge branch 'master' into mem-managementTucker Evans
2019-08-18Add for loop parsingTucker Evans
Also fixes tree printing
2019-08-17Add array type checkingTucker Evans
2019-08-17Add allows expressions as statementsTucker Evans
2019-08-17Add basic type checkingTucker Evans
Squashed commit of WIP-type_check@5dadc4f5667ae69a709dd45c020780f2f424d67e
2019-08-16WIP Add function and array info to node structTucker Evans
2019-08-04Fix updating type on single variable declarationsTucker Evans
2019-08-04Fix safe search function callTucker Evans
2019-08-04Add tree freeingTucker Evans
2019-08-04Fix adding variable to scope during assignmentTucker Evans
2019-08-03Fix print_tree placement in parse treeTucker Evans
2019-08-03Merge branch 'scopes' into typesTucker Evans
2019-08-03Fix id declare error during var assignmentTucker Evans