Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | push command line params onto stack | Benedikt Böhm | 2009-07-07 | 1 | -1/+6 |
| | |||||
* | minor fixes | Benedikt Böhm | 2009-07-06 | 1 | -1/+1 |
| | |||||
* | implement print statement | Benedikt Böhm | 2009-07-06 | 4 | -1/+22 |
| | |||||
* | fix function call as statement, fix EBNF errors | Benedikt Böhm | 2009-07-04 | 2 | -16/+14 |
| | |||||
* | cleanup | Benedikt Böhm | 2009-07-04 | 2 | -20/+0 |
| | |||||
* | 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 ast | Benedikt Böhm | 2009-07-03 | 1 | -57/+30 |
| | |||||
* | implement three-address-code objects instead of printf | Andreas Nüßlein | 2009-07-02 | 4 | -44/+86 |
| | |||||
* | implemented scope and most of ast | Andreas Nüßlein | 2009-06-30 | 4 | -153/+233 |
| | |||||
* | fix function_call | Benedikt Böhm | 2009-06-29 | 4 | -69/+38 |
| | | | | | - 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 | 5 | -92/+222 |
|\ | | | | | | | | | Conflicts: src/front/__init__.py | ||||
| * | fixed error with not newline at file end | Alexander Sulfrian | 2009-06-28 | 3 | -40/+5 |
| | | | | | | | | | | | | 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 | ||||
* | | simplify scope, symbol and types | Benedikt Böhm | 2009-06-09 | 3 | -48/+20 |
| | | |||||
* | | fix __init__.py | Benedikt Böhm | 2009-05-26 | 1 | -3/+1 |
|/ | |||||
* | tac and ast updates - added eval to ast-elems | Andreas Nüßlein | 2009-05-26 | 1 | -17/+117 |
| | | | | | | 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 scope, and symbol class, obsoletes SymbolTable | Benedikt Böhm | 2009-05-25 | 3 | -30/+54 |
| | |||||
* | implement AST interfaces, which also superseeds parser tokens | Benedikt Böhm | 2009-05-21 | 3 | -59/+111 |
| | |||||
* | remove symbol table from lexer | Benedikt Böhm | 2009-05-20 | 4 | -33/+40 |
| | |||||
* | convert tags to a typesafe enum so we can print strings instead of ints | Benedikt Böhm | 2009-05-20 | 1 | -42/+50 |
| | |||||
* | beautify symbol table | Benedikt Böhm | 2009-05-20 | 2 | -17/+20 |
| | |||||
* | implemented lexer (with tokens and symbolTable) | Alexander Sulfrian | 2009-05-20 | 4 | -61/+215 |
| | | | | | | todo: beautify code, implement token classes for parser implemented test function with testcode moved token class to single file (token.py) | ||||
* | parse tree not needed anymore | Benedikt Böhm | 2009-05-19 | 1 | -3/+0 |
| | |||||
* | define interfaces | Benedikt Böhm | 2009-05-19 | 8 | -0/+174 |
| | |||||
* | move stuff around and create initial source structure | Benedikt Böhm | 2009-05-18 | 5 | -0/+0 |