summaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-06-28fixed error with not newline at file endAlexander Sulfrian4-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-23added parserAlexander Sulfrian4-69/+232
- commited parser (Michael Popov) - changed encoding of parser.py to utf8
2009-05-26added a main_test (currently for back)Andreas Nüßlein2-5/+38
2009-05-26tac and ast updates - added eval to ast-elemsAndreas Nüßlein2-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-25add scope, and symbol class, obsoletes SymbolTableBenedikt Böhm3-30/+54
2009-05-22added ThreeAddressCode classAndreas Nüßlein1-0/+50
2009-05-21implement AST interfaces, which also superseeds parser tokensBenedikt Böhm3-59/+111
2009-05-20remove symbol table from lexerBenedikt Böhm4-33/+40
2009-05-20convert tags to a typesafe enum so we can print strings instead of intsBenedikt Böhm1-42/+50
2009-05-20beautify symbol tableBenedikt Böhm2-17/+20
2009-05-20implemented lexer (with tokens and symbolTable)Alexander Sulfrian4-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-19parse tree not needed anymoreBenedikt Böhm1-3/+0
2009-05-19define interfacesBenedikt Böhm8-0/+174
2009-05-19fix CMP instructionBenedikt Böhm1-2/+2
2009-05-18move stuff around and create initial source structureBenedikt Böhm23-0/+736