summaryrefslogtreecommitdiff
path: root/py/compile.c
AgeCommit message (Expand)Author
2019-03-08py: Add support to save native, viper and asm code to .mpy files.Damien George
2019-03-08py/emitnative: Consolidate where HASCONSTS is set to load-const-obj fun.Damien George
2019-03-05py: Replace POP_BLOCK and POP_EXCEPT opcodes with POP_EXCEPT_JUMP.Damien George
2019-03-05py: Fix VM crash with unwinding jump out of a finally block.Damien George
2019-03-01py/compile: Add optimisation to compile OrderedDict inplace.Damien George
2019-02-26py/compile: Fix handling of unwinding BaseException in async with.Damien George
2019-02-25py: Eliminate warnings about unused arguments when debugging disabled.Damien George
2019-02-12py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API.Damien George
2019-01-27py/compile: Swap order of pop_block/pop_except in "except as" handler.Damien George
2018-10-28py/scope: Optimise scope_find_or_add_id to not need "added" arg.Damien George
2018-10-28py/compile: Remove unneeded variable from global/nonlocal stmt helpers.Damien George
2018-10-28py/compile: Fix case of eager implicit conversion of local to nonlocal.Damien George
2018-10-01py/emitnative: Implement yield and yield-from in native emitter.Damien George
2018-09-27py/emitnative: Place const objs for native code in separate const table.Damien George
2018-09-20py: Shorten error messages by using contractions and some rewording.Damien George
2018-09-15py/emitnative: Make viper funcs run with their correct globals context.Damien George
2018-09-15py: Make viper functions have the same entry signature as native.Damien George
2018-09-15py/compile: Factor code that compiles viper type annotations.Damien George
2018-09-15py/compile: Merge viper annotation and normal param compilation stages.Damien George
2018-09-15py/emit: Completely remove set_native_type, arg type is set in compiler.Damien George
2018-09-15py/emit: Remove need to call set_native_type to set viper return type.Damien George
2018-09-15py/emit: Remove need to call set_native_type to set native/viper mode.Damien George
2018-09-13py: Fix native functions so they run with their correct globals context.Damien George
2018-09-04py/compile: Factor code that compiles start/end of exception handler.Damien George
2018-09-04py/emitnative: Add support for return/break/continue in try and with.Damien George
2018-08-16py/emitnative: Optimise and improve exception handling in native code.Damien George
2018-08-13py/compile: For dynamic compiler, widen literal 1 to get correct shift.Damien George
2018-06-27py/compile: Handle return/break/continue correctly in async with.Damien George
2018-06-22py/compile: Combine expr, xor_expr and and_expr into one function.Damien George
2018-06-22py/compile: Combine or_test and and_test compile functions.Damien George
2018-06-22py/compile: Combine global and nonlocal statement compile functions.Damien George
2018-06-22py/compile: Combine subscript_2 and subscript_3 into one function.Damien George
2018-06-22py/compile: Combine break and continue compile functions.Damien George
2018-05-23py/emit: Combine setup with/except/finally into one emit function.Damien George
2018-05-23py/emit: Merge build set/slice into existing build emit function.Damien George
2018-05-23py/emit: Combine import from/name/star into one emit function.Damien George
2018-05-23py/emit: Combine break_loop and continue_loop into one emit function.Damien George
2018-05-23py/emit: Combine load/store/delete attr into one emit function.Damien George
2018-05-23py/emit: Combine load/store/delete subscr into one emit function.Damien George
2018-05-23py/emit: Combine name and global into one func for load/store/delete.Damien George
2018-05-23py/emit: Combine build tuple/list/map emit funcs into one.Damien George
2018-05-23py/emit: Combine yield value and yield-from emit funcs into one.Damien George
2018-05-23py/emit: Combine fast and deref into one function for load/store/delete.Damien George
2018-05-18py/compile: Change comment about ITER_BUF_NSLOTS to a static assertion.Damien George
2018-02-24py/compile: Adjust c_assign_atom_expr() to use return instead of goto.Damien George
2018-02-04py/compile: Combine compiler-opt of 2 and 3 tuple-to-tuple assignment.Damien George
2017-12-11py: Convert all uses of alloca() to use new scoped allocation API.Damien George
2017-11-01py/compile: Use alloca instead of qstr_build when compiling import name.Damien George
2017-08-21py/compile: Remove unused pn_colon code when compiling func params.Damien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen