summaryrefslogtreecommitdiff
path: root/py/compile.c
AgeCommit message (Expand)Author
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-04-05py/objexcept: Allow compression of exception message text.Jim Mussared
2020-04-05py: Use preprocessor to detect error reporting level (terse/detailed).Jim Mussared
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2020-02-06py/compile: Allow 'return' outside function in minimal builds.Petr Viktorin
2019-11-21py/compile: Coalesce error message for break/continue outside loop.Petr Viktorin
2019-10-05py: Add new Xtensa-Windowed arch for native emitter.Damien George
2019-10-04py/compile: Disallow 'import *' outside module level.Petr Viktorin
2019-09-26py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions.Josh Lloyd
2019-09-26py/compile: Use calculation instead of switch to convert token to op.Damien George
2019-08-30py: Integrate sys.settrace feature into the VM and runtime.Milan Rossa
2019-08-30py/compile: Improve the line numbering precision for lambdas.Damien George
2019-08-28py: Add global default_emit_opt variable to make emit kind persistent.Damien George
2019-08-19py/compile: Improve the line numbering precision for comprehensions.Milan Rossa
2019-05-06py: remove "if (0)" and "if (false)" branches.Jun Wu
2019-05-01py/asmthumb: Support asm_thumb code running on normal ARM processors.Damien George
2019-03-14py/compile: Check that arch is set when compiling native, viper or asm.Damien George
2019-03-14py/compile: Support multiple inline asm emitters.Damien George
2019-03-14py/compile: Add support to select the native emitter at runtime.Damien George
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