summaryrefslogtreecommitdiffstats
path: root/src/front/parser.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-07-06implement print statementBenedikt Böhm1-1/+8
2009-07-04fix function call as statement, fix EBNF errorsBenedikt Böhm1-14/+13
2009-07-04adapt parser for backend changesBenedikt Böhm1-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)
2009-07-02implement three-address-code objects instead of printfAndreas Nüßlein1-1/+5
2009-06-30implemented scope and most of astAndreas Nüßlein1-30/+29
2009-06-29fix function_callBenedikt Böhm1-68/+35
- function_call is now an expression and a statement - call keyword is required to make lookahead = 1 work
2009-06-28fixed error with not newline at file endAlexander Sulfrian1-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
2009-06-23added parserAlexander Sulfrian1-56/+196
- commited parser (Michael Popov) - changed encoding of parser.py to utf8
2009-05-19parse tree not needed anymoreBenedikt Böhm1-3/+0
2009-05-19define interfacesBenedikt Böhm1-0/+96