| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
- emit a prologue/epilogue for functions
- emit a "JMP main" instruction in the beginning
- track the last function label across genrate calls
- split scope in params and local variables (they have a different
layout on the stack)
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- function_call is now an expression and a statement
- call keyword is required to make lookahead = 1 work
|
|
|
|
|
| |
- commited parser (Michael Popov)
- changed encoding of parser.py to utf8
|
|
|
|
|
|
| |
every ast-element now has a .eval-method that creates the
ThreeAddressCode for said element.
Also: tac-elements are stored linear in a list (, duh)
|
|
|