summaryrefslogtreecommitdiff
path: root/pp2cc.py
AgeCommit message (Expand)AuthorFilesLines
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
2011-11-26Support for bitshift (<< and >>) operators, allow for label on asm.pullPeter Wu1-2/+51
2011-11-26Initial commit of pp2ccPeter Wu1-0/+666