index
:
pascal_compiler
master
Small compiler for a subset of pascal
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
Age
Commit message (
Collapse
)
Author
2019-10-16
Fix lex rules for input/output
Tucker Evans
2019-10-16
Update readme
Tucker Evans
2019-10-16
Add readme
Tucker Evans
2019-10-16
Update Code generation macros
Tucker Evans
2019-10-15
Fix function scope bounds
Tucker Evans
Function now can access vars outside of their scopes but cannot assign values to these vars.
2019-10-15
Add array access on non-array error message
Tucker Evans
2019-10-15
Fix grammer conflicts
Tucker Evans
2019-10-09
Add makefile rule to create tarball
Tucker Evans
2019-10-09
Add Multiply /Division code generation
Tucker Evans
2019-10-09
Fix save stack now resets reginster stack
Tucker Evans
2019-10-09
Add gen_op to gen_expr
Tucker Evans
2019-10-09
Add SUB (NEG) to gen_load
Tucker Evans
2019-10-09
Add gen_op()
Tucker Evans
2019-10-09
Fix gen label to deal with NEG
Tucker Evans
2019-10-09
Remove erroneous print_tree and gen_label in gen_statement
Tucker Evans
2019-10-09
Add function call code generation
Tucker Evans
2019-10-09
Fix move gen_arguments for func prototype
Tucker Evans
2019-10-09
Fix string formats for register loading off stack
Tucker Evans
2019-10-09
Add funcs now have scope offsets for return vars
Tucker Evans
2019-10-09
Fix func/proc calls with 0 args parse correctly
Tucker Evans
2019-10-09
Add Stack save/load routines
Tucker Evans
2019-10-09
Update check files
Tucker Evans
2019-10-09
Add PCALL generation code
Tucker Evans
2019-10-09
Add gen_argument to push args in the correct order
Tucker Evans
2019-10-09
Fix scope offsets
Tucker Evans
2019-10-09
Fix changes mov to movq
Tucker Evans
2019-10-09
Fix GAS assembly comments
Tucker Evans
2019-10-09
Fix function argument offsets
Tucker Evans
2019-10-08
Add macro to control generation of code
Tucker Evans
2019-10-08
Fix change tree type when parsing func/proc for clarity
Tucker Evans
2019-10-08
Fix function args with constants pass type checking
Tucker Evans
2019-10-08
Fix makefile headers now included for pc.y and pc.l
Tucker Evans
2019-10-08
Add error message for reals code generation
Tucker Evans
2019-10-08
Add statements markers in assembly
Tucker Evans
2019-10-08
Add assignment code generation
Tucker Evans
2019-10-08
Fix gen_label/gen_expr for right leafs
Tucker Evans
2019-10-08
Fix enter/leave function setup (stack frames)
Tucker Evans
2019-10-08
Add scope based stack offsets for variables
Tucker Evans
2019-10-08
Add write function assembly
Tucker Evans
2019-10-08
Fix register names are lowercase
Tucker Evans
2019-10-07
Add base of gen_expr
Tucker Evans
Case 4 not implemented yet, should be sufficient for basic testing though.
2019-10-07
Add register stack
Tucker Evans
2019-10-07
Add debug prints for all gen_statements
Tucker Evans
To check order of statements generated
2019-10-07
Add generate statement code in correct order
Tucker Evans
2019-10-07
Fix io declarations, can be empty
Tucker Evans
2019-10-06
Add gen_statement base code to code generation
Tucker Evans
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-06
Add gen_code src files, with gen_label func implemented
Tucker Evans
2019-10-06
Update makefile for gen_code files
Tucker Evans
[next]