Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | some more comments | Jana Rekittke | 2009-07-07 | 1 | -6/+11 |
| | |||||
* | cleanup | Benedikt Böhm | 2009-07-07 | 2 | -9/+0 |
| | |||||
* | cleanup test code | Benedikt Böhm | 2009-07-07 | 8 | -32/+28 |
| | |||||
* | implement memory bounds checking | Benedikt Böhm | 2009-07-07 | 5 | -1/+15 |
| | |||||
* | push command line params onto stack | Benedikt Böhm | 2009-07-07 | 4 | -8/+19 |
| | |||||
* | make instruction 64-bit wide to support more than 32 registers | Benedikt Böhm | 2009-07-07 | 10 | -74/+82 |
| | |||||
* | Merge branch 'master' of git@git.animux.de:swppy | Andreas Nüßlein | 2009-07-06 | 4 | -3/+3 |
|\ | |||||
| * | minor fixes | Benedikt Böhm | 2009-07-06 | 4 | -3/+3 |
| | | |||||
* | | praesentation -> doc/praes2 | Andreas Nüßlein | 2009-07-06 | 13 | -0/+0 |
| | | |||||
* | | added presentation | Andreas Nüßlein | 2009-07-06 | 13 | -0/+1836 |
|/ | |||||
* | ggT example | Andreas Nüßlein | 2009-07-06 | 1 | -0/+27 |
| | |||||
* | implement print statement | Benedikt Böhm | 2009-07-06 | 9 | -12/+39 |
| | |||||
* | add compiler wrapper | Benedikt Böhm | 2009-07-06 | 3 | -1/+19 |
| | |||||
* | fix generation of LW, SW opcodes | Benedikt Böhm | 2009-07-06 | 1 | -1/+2 |
| | |||||
* | fix segmentation fault on syntax error | Benedikt Böhm | 2009-07-06 | 1 | -7/+7 |
| | |||||
* | fix function call as statement, fix EBNF errors | Benedikt Böhm | 2009-07-04 | 3 | -26/+23 |
| | |||||
* | simplify generator | Jana Rekittke | 2009-07-04 | 1 | -45/+12 |
| | |||||
* | add test cases | Benedikt Böhm | 2009-07-04 | 4 | -0/+46 |
| | |||||
* | cleanup | Benedikt Böhm | 2009-07-04 | 4 | -28/+8 |
| | |||||
* | remove test files | Benedikt Böhm | 2009-07-04 | 5 | -195/+0 |
| | |||||
* | adapt emulator for generator changes: | Benedikt Böhm | 2009-07-04 | 14 | -219/+450 |
| | | | | | | | | - new instructions (push, pop, call, ret) - new pseudo-registers (bp, sp, rv) - new binary format - dynamic register file size - removed obsolete instructions | ||||
* | implement the code generator | Jana Rekittke | 2009-07-04 | 2 | -3/+182 |
| | |||||
* | adapt parser for backend changes | Benedikt Böhm | 2009-07-04 | 3 | -34/+69 |
| | | | | | | | | - 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) | ||||
* | cleanup | Benedikt Böhm | 2009-07-03 | 1 | -32/+0 |
| | |||||
* | rename BEQ to BEZ and make TACList iterable | Benedikt Böhm | 2009-07-03 | 1 | -1/+4 |
| | |||||
* | cleanup ast | Benedikt Böhm | 2009-07-03 | 1 | -57/+30 |
| | |||||
* | adapt instructions changes from back/tac.py | Jana Rekittke | 2009-07-02 | 3 | -29/+29 |
| | |||||
* | implement three-address-code objects instead of printf | Andreas Nüßlein | 2009-07-02 | 7 | -90/+157 |
| | |||||
* | implemented scope and most of ast | Andreas Nüßlein | 2009-06-30 | 5 | -172/+238 |
| | |||||
* | fix function_call | Benedikt Böhm | 2009-06-29 | 6 | -102/+59 |
| | | | | | - function_call is now an expression and a statement - call keyword is required to make lookahead = 1 work | ||||
* | Merge branch 'master' of git@git.animux.de:swppy | Benedikt Böhm | 2009-06-29 | 6 | -92/+260 |
|\ | | | | | | | | | Conflicts: src/front/__init__.py | ||||
| * | fixed error with not newline at file end | Alexander Sulfrian | 2009-06-28 | 4 | -40/+43 |
| | | | | | | | | | | | | moved __init__.py with testcode from src/front to src/ added in lexer "\n\n" at source end to have a newline at file end added unexpected end of file message, if matched token is None | ||||
| * | added parser | Alexander Sulfrian | 2009-06-23 | 4 | -69/+232 |
| | | | | | | | | | | - commited parser (Michael Popov) - changed encoding of parser.py to utf8 | ||||
* | | remove obsolete files | Benedikt Böhm | 2009-06-09 | 1 | -145/+0 |
| | | |||||
* | | update first presentation | Benedikt Böhm | 2009-06-09 | 1 | -11/+11 |
| | | |||||
* | | simplify scope, symbol and types | Benedikt Böhm | 2009-06-09 | 3 | -48/+20 |
| | | |||||
* | | strictly seperate boolean and numeric expressions | Benedikt Böhm | 2009-06-09 | 1 | -12/+12 |
| | | |||||
* | | Merge branch 'master' of git@git.animux.de:swppy | Benedikt Böhm | 2009-05-26 | 2 | -5/+38 |
|\| | |||||
| * | added a main_test (currently for back) | Andreas Nüßlein | 2009-05-26 | 2 | -5/+38 |
| | | |||||
* | | fix __init__.py | Benedikt Böhm | 2009-05-26 | 1 | -3/+1 |
|/ | |||||
* | add first presentation | Benedikt Böhm | 2009-05-26 | 5 | -0/+315 |
| | |||||
* | tac and ast updates - added eval to ast-elems | Andreas Nüßlein | 2009-05-26 | 3 | -44/+163 |
| | | | | | | 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) | ||||
* | add modulus operator | Benedikt Böhm | 2009-05-25 | 1 | -1/+1 |
| | |||||
* | add scope, and symbol class, obsoletes SymbolTable | Benedikt Böhm | 2009-05-25 | 3 | -30/+54 |
| | |||||
* | added ThreeAddressCode class | Andreas Nüßlein | 2009-05-22 | 1 | -0/+50 |
| | |||||
* | implement AST interfaces, which also superseeds parser tokens | Benedikt Böhm | 2009-05-21 | 3 | -59/+111 |
| | |||||
* | make syntax productions consistent | Benedikt Böhm | 2009-05-21 | 1 | -6/+7 |
| | |||||
* | lexer combines multiple newlines already, so we ignore it in the grammar | Benedikt Böhm | 2009-05-20 | 1 | -6/+5 |
| | |||||
* | make newlines explicit | Benedikt Böhm | 2009-05-20 | 1 | -9/+6 |
| | |||||
* | remove symbol table from lexer | Benedikt Böhm | 2009-05-20 | 4 | -33/+40 |
| |