Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-06 | Fix gen code gets name of function being created for labeling | Tucker Evans | |
2019-10-06 | Add call gen_code from parser | Tucker Evans | |
2019-10-04 | Fix free string: program name | Tucker Evans | |
2019-10-04 | Fix func_info members initialized after malloc | Tucker Evans | |
2019-10-02 | Fix function recursion | Tucker 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-30 | Fix search now uses scope->ret_var | Tucker Evans | |
Allows for the scope to contain the function without having to worry about multiple nodes with the same name. | |||
2019-09-30 | Add check that function returns value | Tucker Evans | |
2019-09-30 | Fix check_exists checks safe scopes not just current | Tucker Evans | |
2019-09-29 | Add io functions to base scope | Tucker Evans | |
2019-09-29 | Merge branch 'master' of git.tuckerevans.com:/srv/git/private/pascal_compiler | Tucker Evans | |
Fix white space at end of lines in Testing files | |||
2019-09-29 | Fix print tree only if DEBUG is set | Tucker Evans | |
2019-09-25 | Fix dangling else | Tucker Evans | |
2019-09-23 | Fix frees id strings when not placed in node. | Tucker Evans | |
2019-09-20 | Fix removes some string duplication | Tucker Evans | |
2019-09-16 | Fix arguments being freed to early | Tucker 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-15 | Fix free whole program tree not id_list | Tucker Evans | |
2019-09-12 | Merge branch 'master' into mem-management | Tucker Evans | |
2019-09-12 | Add some debug print methods to pc.y | Tucker Evans | |
2019-09-12 | Fix setting type for multiple declared arrays | Tucker Evans | |
2019-09-11 | Adds type checking procedure arguments | Tucker Evans | |
2019-09-08 | Add checking types on function call | Tucker Evans | |
2019-09-05 | Fix debug prints | Tucker Evans | |
- Removes tree_print from function parsing - ID can't have ID as child, removes check in tree_print | |||
2019-09-05 | Add procedure argument types | Tucker Evans | |
2019-09-05 | Fix count_args to handle single variable parameters | Tucker Evans | |
2019-09-05 | Add function argument types | Tucker Evans | |
2019-09-05 | Add counting of function arguments | Tucker Evans | |
2019-09-04 | Merge branch 'type_checking' into func-array_info | Tucker Evans | |
2019-09-03 | Add unary minus to parsing | Tucker Evans | |
2019-08-18 | Merge branch 'master' into mem-management | Tucker Evans | |
2019-08-18 | Add for loop parsing | Tucker Evans | |
Also fixes tree printing | |||
2019-08-17 | Add array type checking | Tucker Evans | |
2019-08-17 | Add allows expressions as statements | Tucker Evans | |
2019-08-17 | Add basic type checking | Tucker Evans | |
Squashed commit of WIP-type_check@5dadc4f5667ae69a709dd45c020780f2f424d67e | |||
2019-08-16 | WIP Add function and array info to node struct | Tucker Evans | |
2019-08-04 | Fix updating type on single variable declarations | Tucker Evans | |
2019-08-04 | Fix safe search function call | Tucker Evans | |
2019-08-04 | Add tree freeing | Tucker Evans | |
2019-08-04 | Fix adding variable to scope during assignment | Tucker Evans | |
2019-08-03 | Fix print_tree placement in parse tree | Tucker Evans | |
2019-08-03 | Merge branch 'scopes' into types | Tucker Evans | |
2019-08-03 | Fix id declare error during var assignment | Tucker Evans | |
2019-07-31 | WIP Start dealing with semantic checking of ids | Tucker Evans | |
Current bugs: Checks id during var assignment | |||
2019-07-28 | Add pop scope | Tucker Evans | |
2019-07-27 | Add initial scope checking | Tucker Evans | |
2019-07-27 | Add basic scoping | Tucker Evans | |
2019-07-27 | Rename hash.* -> scope.* | Tucker Evans | |
2019-07-27 | Add update types during declaration | Tucker Evans | |
2019-07-22 | Add for do loop | Tucker Evans | |
Does not add for loop to parse tree. | |||
2019-07-14 | Fix argument parsing | Tucker Evans | |
2019-07-14 | Fix assigned types in rules | Tucker Evans | |