Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2009-07-06 | fix generation of LW, SW opcodes | Benedikt Böhm | 1 | -1/+2 | |
2009-07-06 | fix segmentation fault on syntax error | Benedikt Böhm | 1 | -7/+7 | |
2009-07-04 | fix function call as statement, fix EBNF errors | Benedikt Böhm | 2 | -16/+14 | |
2009-07-04 | simplify generator | Jana Rekittke | 1 | -45/+12 | |
2009-07-04 | cleanup | Benedikt Böhm | 4 | -28/+8 | |
2009-07-04 | remove test files | Benedikt Böhm | 5 | -195/+0 | |
2009-07-04 | adapt emulator for generator changes: | Benedikt Böhm | 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 | |||||
2009-07-04 | implement the code generator | Jana Rekittke | 2 | -3/+182 | |
2009-07-04 | adapt parser for backend changes | Benedikt Böhm | 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) | |||||
2009-07-03 | cleanup | Benedikt Böhm | 1 | -32/+0 | |
2009-07-03 | rename BEQ to BEZ and make TACList iterable | Benedikt Böhm | 1 | -1/+4 | |
2009-07-03 | cleanup ast | Benedikt Böhm | 1 | -57/+30 | |
2009-07-02 | adapt instructions changes from back/tac.py | Jana Rekittke | 3 | -29/+29 | |
2009-07-02 | implement three-address-code objects instead of printf | Andreas Nüßlein | 7 | -90/+157 | |
2009-06-30 | implemented scope and most of ast | Andreas Nüßlein | 5 | -172/+238 | |
2009-06-29 | fix function_call | Benedikt Böhm | 5 | -84/+41 | |
- function_call is now an expression and a statement - call keyword is required to make lookahead = 1 work | |||||
2009-06-28 | fixed error with not newline at file end | Alexander Sulfrian | 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 | |||||
2009-06-23 | added parser | Alexander Sulfrian | 4 | -69/+232 | |
- commited parser (Michael Popov) - changed encoding of parser.py to utf8 | |||||
2009-06-09 | simplify scope, symbol and types | Benedikt Böhm | 3 | -48/+20 | |
2009-05-26 | added a main_test (currently for back) | Andreas Nüßlein | 2 | -5/+38 | |
2009-05-26 | fix __init__.py | Benedikt Böhm | 1 | -3/+1 | |
2009-05-26 | tac and ast updates - added eval to ast-elems | Andreas Nüßlein | 2 | -44/+162 | |
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) | |||||
2009-05-25 | add scope, and symbol class, obsoletes SymbolTable | Benedikt Böhm | 3 | -30/+54 | |
2009-05-22 | added ThreeAddressCode class | Andreas Nüßlein | 1 | -0/+50 | |
2009-05-21 | implement AST interfaces, which also superseeds parser tokens | Benedikt Böhm | 3 | -59/+111 | |
2009-05-20 | remove symbol table from lexer | Benedikt Böhm | 4 | -33/+40 | |
2009-05-20 | convert tags to a typesafe enum so we can print strings instead of ints | Benedikt Böhm | 1 | -42/+50 | |
2009-05-20 | beautify symbol table | Benedikt Böhm | 2 | -17/+20 | |
2009-05-20 | implemented lexer (with tokens and symbolTable) | Alexander Sulfrian | 4 | -61/+215 | |
todo: beautify code, implement token classes for parser implemented test function with testcode moved token class to single file (token.py) | |||||
2009-05-19 | parse tree not needed anymore | Benedikt Böhm | 1 | -3/+0 | |
2009-05-19 | define interfaces | Benedikt Böhm | 8 | -0/+174 | |
2009-05-19 | fix CMP instruction | Benedikt Böhm | 1 | -2/+2 | |
2009-05-18 | move stuff around and create initial source structure | Benedikt Böhm | 23 | -0/+736 | |