summaryrefslogtreecommitdiff
path: root/pp2cc.py
AgeCommit message (Expand)AuthorFilesLines
2011-12-02Use DW instead of DS, add ASM source, fix some coding errorsPeter Wu1-5/+19
2011-12-02WIP for supporting ASM parsing and initialization of variables in @DATAPeter Wu1-2/+13
2011-12-02Add WIP for supporting existing asm filesPeter Wu1-1/+28
2011-12-02Fix array initializerPeter Wu1-1/+0
2011-12-02Fix error on function declaration without definitionPeter Wu1-7/+10
2011-12-02Support automatic processing through cppPeter Wu1-15/+27
2011-12-01Fix stack corruption, support func calls with arguments and automatic variablesPeter Wu1-9/+48
2011-12-01Add some debugging aidPeter Wu1-34/+81
2011-12-01WIP for func parameter support and local (automatic) variablesPeter Wu1-20/+55
2011-12-01Separate Function classPeter Wu1-11/+1
2011-12-01Split classes in separate filesPeter Wu1-391/+5
2011-12-01Support for <<= and >>=, refactor and comments, fix math_ops corruptionPeter Wu1-72/+104
2011-11-30Support for all assignment except shifting, fix rightshift bugPeter Wu1-17/+39
2011-11-30Support for array reference (both assignment and rvalue), update READMEPeter Wu1-6/+24
2011-11-30Set correct label in ASMPeter Wu1-3/+5
2011-11-30Support for evil goto and labels (debugging aid!!!)Peter Wu1-0/+44
2011-11-30Fix register allocation functionPeter Wu1-8/+12
2011-11-30Proper support for array declarations and initialization, support array refer...Peter Wu1-28/+73
2011-11-30Support for array declaration and initializationPeter Wu1-12/+46
2011-11-29Proper support for address operator & , indirection * and pointer assignmentPeter Wu1-11/+74
2011-11-29Fix support for pre inc/dec operator, WIP for post inc/decPeter Wu1-21/+76
2011-11-29Support for DeclList in for loops, fix naming of variables in asmPeter Wu1-8/+18
2011-11-29Variables in separate scopes are now stored in different variable names when ...Peter Wu1-33/+92
2011-11-29Support indirection operator and pointer assignmentPeter Wu1-14/+28
2011-11-29Fix detection of hexadecimal assembly numbers which do not start with $0Peter Wu1-3/+5
2011-11-29Fix value for substraction in constant expressionsPeter Wu1-0/+4
2011-11-28Support for switch statement, initialize global variables by 0 by defaultPeter Wu1-4/+133
2011-11-28Properly handle $F (=$FFFFF) and %1 (=-1) assembly constantsPeter Wu1-10/+25
2011-11-28Make unary one's complement operator ~ treat signed integers as unsignedPeter Wu1-3/+3
2011-11-28Fix right shift for -1 (all bits 1)Peter Wu1-0/+2
2011-11-28Fix shifting and document is betterPeter Wu1-6/+35
2011-11-28Set the type property of LinkedNode to the node typePeter Wu1-45/+25
2011-11-28Differentiate between statements and expressionsPeter Wu1-56/+71
2011-11-28Fix bug in continue keyword in for-loop with a next expression which was neve...Peter Wu1-12/+34
2011-11-27Use Registers for finding next free register in parseBinaryOpPeter Wu1-11/+25
2011-11-27Support empty statements, update list of unimplemented typesPeter Wu1-4/+29
2011-11-27Support for break/continuePeter Wu1-1/+44
2011-11-27Add command line options parsingPeter Wu1-33/+104
2011-11-27Support declaration of ariables with an initialization valuePeter Wu1-2/+26
2011-11-27Fix function calls yielding 'None' as register where 'R0' should be placedPeter Wu1-0/+19
2011-11-27Allow for declaration of variables within functions. Warning: local variablesPeter Wu1-23/+22
2011-11-27Support assignment using '=', support symbolic names (variables)Peter Wu1-8/+41
2011-11-27Support expression lists (e.g. 1, 2, 3)Peter Wu1-3/+6
2011-11-27Support for loopsPeter Wu1-3/+30
2011-11-27Support while loopsPeter Wu1-3/+16
2011-11-27Allow if(1){}else{} to compile, optimize if/elsePeter Wu1-35/+39
2011-11-27Support do { .. } while (..), allow for empty compound statements (e.g. do{}w...Peter Wu1-5/+15
2011-11-27Fix zero shift not returning a value (e.g. 1<<0), optimize shift on nested ex...Peter Wu1-33/+18
2011-11-26Fix some bugs in if handling, add support for ternary ?:Peter Wu1-7/+51
2011-11-26Disable label addition for if and then linesPeter Wu1-10/+10