summaryrefslogtreecommitdiff
path: root/py/compile2.c
AgeCommit message (Collapse)Author
2017-09-06py/compile2: Rename "Micro Python" to "MicroPython".origin/parse-bytecodeDamien George
2017-09-01py/emitinlinethumb: Update to work with new small-heap compiler.Damien George
Note that the inline assembler only works with the small-heap compiler enabled.
2017-08-30py: Add MICROPY_USE_SMALL_HEAP_COMPILER option, disabled by default.Damien George
This new option allows the original and new parser/compiler to coexist.
2017-08-30py/compile2: Optimise emitter label indices to save a word of heap.Damien George
A port of d94bc675e8f3bcf37acf2d88d7c0ce0d9de68672
2017-08-30py/compile2: Combine arith and bit-shift ops into 1 compile routine.Damien George
A port of a040fb89e7b8507aa775b0620de1770642b0f5ee
2017-08-30py/compile2: Raise SyntaxError if positional args are given after */**.Damien George
A port of 1e70fda69fcb4991eb60ed43e610f664ea1319e6
2017-08-30py/compile2: Fix bug with break/continue in else of optimised for-range.Damien George
A port of 4c5f108321a8fd3f67f597ca918427eda813c12e.
2017-08-14py/{parse2,compile2}: Update to work with merged master, v1.9.Damien George
Changes inclued: - grammar.h now has DEF_RULE and DEF_RULE_NC - iterators can be on the (Python) stack - super() handling is refactored - supe().foo(...) can be executed without the heap
2017-08-14py/compile2: Track changes made between v1.8.4 and v1.8.5.Damien George
2017-08-14py/compile2: Don't compile assert statement when optimisations enabled.Damien George
2017-08-13py: Update compiler/parser to align with latest changes on master, v1.8.Damien George
2017-08-13py: Deoptimise try-finally and subscript parse nodes to match master.Damien George
This is a small de-optimisation so that it's easier to merge master into this branch.
2016-04-18update compiler to align with latest changes on master, v1.7Damien George
2016-04-18update parser and compiler to align with latest masterDamien George
2016-04-18fixing inline assembler (compile2.c)Damien George
2016-04-18py: Implement parse bytecode.Damien George