summaryrefslogtreecommitdiffstats
path: root/src/front/parser.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* adapt parser for backend changesBenedikt Böhm2009-07-041-2/+3
| | | | | | | | - 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)
* implement three-address-code objects instead of printfAndreas Nüßlein2009-07-021-1/+5
|
* implemented scope and most of astAndreas Nüßlein2009-06-301-30/+29
|
* fix function_callBenedikt Böhm2009-06-291-68/+35
| | | | | - function_call is now an expression and a statement - call keyword is required to make lookahead = 1 work
* fixed error with not newline at file endAlexander Sulfrian2009-06-281-1/+4
| | | | | | 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 parserAlexander Sulfrian2009-06-231-56/+196
| | | | | - commited parser (Michael Popov) - changed encoding of parser.py to utf8
* parse tree not needed anymoreBenedikt Böhm2009-05-191-3/+0
|
* define interfacesBenedikt Böhm2009-05-191-0/+96