aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-09Fix func/proc calls with 0 args parse correctlyTucker Evans
2019-10-09Add Stack save/load routinesTucker Evans
2019-10-09Update check filesTucker Evans
2019-10-09Add PCALL generation codeTucker Evans
2019-10-09Add gen_argument to push args in the correct orderTucker Evans
2019-10-09Fix scope offsetsTucker Evans
2019-10-09Fix changes mov to movqTucker Evans
2019-10-09Fix GAS assembly commentsTucker 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-08Fix function args with constants pass type checkingTucker Evans
2019-10-08Fix makefile headers now included for pc.y and pc.lTucker Evans
2019-10-08Add error message for reals code generationTucker Evans
2019-10-08Add statements markers in assemblyTucker Evans
2019-10-08Add assignment code generationTucker Evans
2019-10-08Fix gen_label/gen_expr for right leafsTucker Evans
2019-10-08Fix enter/leave function setup (stack frames)Tucker Evans
2019-10-08Add scope based stack offsets for variablesTucker Evans
2019-10-08Add write function assemblyTucker Evans
2019-10-08Fix register names are lowercaseTucker Evans
2019-10-07Add base of gen_exprTucker Evans
Case 4 not implemented yet, should be sufficient for basic testing though.
2019-10-07Add register stackTucker Evans
2019-10-07Add debug prints for all gen_statementsTucker Evans
To check order of statements generated
2019-10-07Add generate statement code in correct orderTucker Evans
2019-10-07Fix io declarations, can be emptyTucker Evans
2019-10-06Add gen_statement base code to code generationTucker 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-06Add gen_code src files, with gen_label func implementedTucker Evans
2019-10-06Update makefile for gen_code filesTucker Evans
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-10-06Fix input/output to correct function namesTucker Evans
input/output created write/read respectively fixed to read/write.
2019-10-04Update makefile gcc shows all errorsTucker Evans
2019-10-04Fix free string: program nameTucker Evans
2019-10-04Fix make sure argv pointer is initialized to NULLTucker 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-30Add more of Tino's testsTucker Evans
2019-09-30Fix commentsTucker Evans
Comments required only whitespace before them.
2019-09-29Add check for read/write function in check_callTucker Evans
Read/write should take arguments of any type, almost funcition overloading, at this point theses are the only fuctions to do this and as such a special case is added to check_call.
2019-09-29Fix invalid freeing of read/write functionsTucker Evans
Function names must be strdup from constants so the strings can later be freed when the scope is popped.
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-29Add notes on location of freesTucker Evans
2019-09-29Fix print tree only if DEBUG is setTucker Evans