{"ref":"refs/heads/milestone3","commits":[{"author":{"email":"4b8373d016f277527198385ba72fda0feb5da015@inspiredpixel.net","name":"Peter Hamilton"},"sha":"25e4e7319e37a6264de349eca08e7abef9140cf4","message":"Made simple.alice a conditional statement test","url":"https://api.github.com/repos/PeterHamilton/Mild-MAlice/commits/25e4e7319e37a6264de349eca08e7abef9140cf4"},{"author":{"email":"4b8373d016f277527198385ba72fda0feb5da015@inspiredpixel.net","name":"Peter Hamilton"},"sha":"afc513a99a96f26d3999f4a8eecfc1562b6d9c40","message":"Commented out the code to display the AST tree in main","url":"https://api.github.com/repos/PeterHamilton/Mild-MAlice/commits/afc513a99a96f26d3999f4a8eecfc1562b6d9c40"},{"author":{"email":"4b8373d016f277527198385ba72fda0feb5da015@inspiredpixel.net","name":"Peter Hamilton"},"sha":"5b869592f6d091d8877ca7aacfea7585c25bd0a8","message":"Unindented the functions in the IfNode so they actually run - so much confusion over why they weren't being executed... Sigh/Facepalm\nAdded a translate function which generates the intermediate nodes for an if/elseif/else statement. Added an overriding function for else statements which says it has 'None' as an expression which means the initial If node can use iteration to generate all the iNodes. Could potentially do this nested but would essentially be the same and would use a lot of duplication. By putting it all in the IfNode we have knowledge of the nest labels in advance.\nAdded a function to the ASTNodes file which generates a unique label ID (although it doesn't - right now it just returns the label text with '_1' on the end. Terrible I know...\nFor the intermediate nodes I had to override a lot of functions for classes which don't use registers which isn't very nice.\nWe now have a LabelNode which generates code for a label but can also return the label in it's non-declarative form. Also a TrueCheck node which takes a register to evaluate and a LabelNode to jump to if the check fails. Finally a simple Jump Node which Jumps to a given Label.\n\n*And Breathe*\n\nNow to refactor everything....","url":"https://api.github.com/repos/PeterHamilton/Mild-MAlice/commits/5b869592f6d091d8877ca7aacfea7585c25bd0a8"},{"author":{"email":"4b8373d016f277527198385ba72fda0feb5da015@inspiredpixel.net","name":"Peter Hamilton"},"sha":"430a5677f6c596e62e295f4ad4dcfa7f3c43f753","message":"Added a singleton class for generating unique IDs","url":"https://api.github.com/repos/PeterHamilton/Mild-MAlice/commits/430a5677f6c596e62e295f4ad4dcfa7f3c43f753"},{"author":{"email":"4b8373d016f277527198385ba72fda0feb5da015@inspiredpixel.net","name":"Peter Hamilton"},"sha":"d33697fdee2945716c69bf1e4574ee25ad97d674","message":"Removed UniueIDGenerator Singleton and used globals in ASTNodes instead, probably a nicer way but this one will definitely work. Swapped endNode and conditionalNode positions in IfNode translate function just so they have a logical id assignment order","url":"https://api.github.com/repos/PeterHamilton/Mild-MAlice/commits/d33697fdee2945716c69bf1e4574ee25ad97d674"},{"author":{"email":"4b8373d016f277527198385ba72fda0feb5da015@inspiredpixel.net","name":"Peter Hamilton"},"sha":"ececb4089e007fcb70cde099f9b2221e2a26b0bb","message":"Moved the unique ID generator to the intermediateNodes module and implemented the function in all the places where unique labels were needed. Also changed refs to INodes.makeUnique.... in ASTNodes","url":"https://api.github.com/repos/PeterHamilton/Mild-MAlice/commits/ececb4089e007fcb70cde099f9b2221e2a26b0bb"},{"author":{"email":"4b8373d016f277527198385ba72fda0feb5da015@inspiredpixel.net","name":"Peter Hamilton"},"sha":"ed51cb58263743a257588abb08aee7fce3c02a09","message":"Refactored simple.alice to use simple test/output","url":"https://api.github.com/repos/PeterHamilton/Mild-MAlice/commits/ed51cb58263743a257588abb08aee7fce3c02a09"},{"author":{"email":"4b8373d016f277527198385ba72fda0feb5da015@inspiredpixel.net","name":"Peter Hamilton"},"sha":"0bc79fb55032e34a9b0d82368ec1fc6f3fdf7228","message":"Renamed Logical And and Or classes in intermediate nodes to have an L prefix to differentiate them from the normal And and Or ones (binary)","url":"https://api.github.com/repos/PeterHamilton/Mild-MAlice/commits/0bc79fb55032e34a9b0d82368ec1fc6f3fdf7228"},{"author":{"email":"4b8373d016f277527198385ba72fda0feb5da015@inspiredpixel.net","name":"Peter Hamilton"},"sha":"9a89d6845488a2ce1e545257a2e1ebca6d034abf","message":"Added code to translate the register to use in the test using the registerMap dictionary. Fixes issues with cmp comparing the temp number to 0 etc in TrueChecks. Simple.alice now compiles and runs\\!\\!\\!","url":"https://api.github.com/repos/PeterHamilton/Mild-MAlice/commits/9a89d6845488a2ce1e545257a2e1ebca6d034abf"},{"author":{"email":"4b8373d016f277527198385ba72fda0feb5da015@inspiredpixel.net","name":"Peter Hamilton"},"sha":"a9966f7c54783d36e289b97ca3cd686648206050","message":"Made simple.alice more complex","url":"https://api.github.com/repos/PeterHamilton/Mild-MAlice/commits/a9966f7c54783d36e289b97ca3cd686648206050"},{"author":{"email":"4b8373d016f277527198385ba72fda0feb5da015@inspiredpixel.net","name":"Peter Hamilton"},"sha":"3216bcd0ed3f8bd765f4fb1f6476db0be1cfed11","message":"Added parents param to JumpNode and fixed error with endLabel -> endLabelNode","url":"https://api.github.com/repos/PeterHamilton/Mild-MAlice/commits/3216bcd0ed3f8bd765f4fb1f6476db0be1cfed11"},{"author":{"email":"4b8373d016f277527198385ba72fda0feb5da015@inspiredpixel.net","name":"Peter Hamilton"},"sha":"d4b81a878738893bbef487eb632186155336cbaf","message":"Changed the way logical sections are eval'd. Now gathers all logical statements in a list and then iterates through them. Has to do with if having logicalclauses as a child but elseif and else not having logicalclauses as children so can't use iteration/recursion as easily","url":"https://api.github.com/repos/PeterHamilton/Mild-MAlice/commits/d4b81a878738893bbef487eb632186155336cbaf"},{"author":{"email":"4b8373d016f277527198385ba72fda0feb5da015@inspiredpixel.net","name":"Peter Hamilton"},"sha":"668df8f103f55a4e8359ef0270339d317739f6d6","message":"Made alice even simpler, can't deal with negatives yet","url":"https://api.github.com/repos/PeterHamilton/Mild-MAlice/commits/668df8f103f55a4e8359ef0270339d317739f6d6"},{"author":{"email":"4b8373d016f277527198385ba72fda0feb5da015@inspiredpixel.net","name":"Peter Hamilton"},"sha":"edec39438f86f0b2c6bedf70dd5632a98dbb544d","message":"Made alice even simpler again, 1,2,3 style","url":"https://api.github.com/repos/PeterHamilton/Mild-MAlice/commits/edec39438f86f0b2c6bedf70dd5632a98dbb544d"}],"head":"edec39438f86f0b2c6bedf70dd5632a98dbb544d","push_id":53316418,"size":14}