378 Commits (752fe759104172af2e8cbd7a3713b29134bd5a7f)

Author SHA1 Message Date
Damien George bd556b6996 py: Fix compiling and decoding of *args at large arg positions. 3 years ago
David Lechner 783b1a868f py/runtime: Allow multiple *args in a function call. 5 years ago
David Lechner 1e99d29f36 py/runtime: Allow multiple **args in a function call. 5 years ago
Damien George df9a412206 py/compile: Only show raw code that is bytecode. 3 years ago
Damien George 538c3c0a55 py: Change jump opcodes to emit 1-byte jump offset when possible. 3 years ago
Damien George 1692cad673 py/showbc: Remove global variables and make DECODE_PTR work correctly. 3 years ago
Damien George 962ad8622e py/parse: Handle check for target small-int size in parser. 3 years ago
Damien George 3c7cab4e98 py/parse: Put const bytes objects in parse tree as const object. 3 years ago
Damien George f2040bfc7e py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
Damien George e6850838cd py/parse: Simplify parse nodes representing a list. 4 years ago
Jeff Epler f2dbc91022 py/compile: Raise an error on async with/for outside an async function. 5 years ago
Damien George d4b706c4d0 py: Add option to compile without any error messages at all. 4 years ago
Jonathan Hogg 37e1b5c891 py/compile: Don't await __aiter__ special method in async-for. 4 years ago
Damien George f2e267da68 py/compile: Implement PEP 526, syntax for variable annotations. 4 years ago
Damien George 131b0de70a py/grammar.h: Consolidate duplicate sub-rules for :test and =test. 4 years ago
Damien George 1783950311 py/compile: Implement PEP 572, assignment expressions with := operator. 4 years ago
Damien George 0fd91e39b1 py/compile: Convert scope test to SCOPE_IS_COMP_LIKE macro. 4 years ago
Damien George 172fc040aa py/parse: Make mp_parse_node_extract_list return size_t instead of int. 5 years ago
stijn 84fa3312cf all: Format code to add space after C++-style comment start. 5 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Jim Mussared 85858e72df py/objexcept: Allow compression of exception message text. 5 years ago
Jim Mussared a9a745e4b4 py: Use preprocessor to detect error reporting level (terse/detailed). 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Petr Viktorin e6c9800645 py/compile: Allow 'return' outside function in minimal builds. 5 years ago
Petr Viktorin 57c18fdd38 py/compile: Coalesce error message for break/continue outside loop. 5 years ago
Damien George 9adedce42e py: Add new Xtensa-Windowed arch for native emitter. 5 years ago
Petr Viktorin 25a9bccdee py/compile: Disallow 'import *' outside module level. 5 years ago
Josh Lloyd 7d58a197cf py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions. 5 years ago
Damien George 14e203282a py/compile: Use calculation instead of switch to convert token to op. 5 years ago
Milan Rossa 310b3d1b81 py: Integrate sys.settrace feature into the VM and runtime. 5 years ago
Damien George c7c6703950 py/compile: Improve the line numbering precision for lambdas. 5 years ago
Damien George af20c2ead3 py: Add global default_emit_opt variable to make emit kind persistent. 5 years ago
Milan Rossa ae6fe8b43c py/compile: Improve the line numbering precision for comprehensions. 5 years ago
Jun Wu 089c9b71d1 py: remove "if (0)" and "if (false)" branches. 6 years ago
Damien George 9ef784dcc6 py/asmthumb: Support asm_thumb code running on normal ARM processors. 6 years ago
Damien George 5a6026c614 py/compile: Check that arch is set when compiling native, viper or asm. 6 years ago
Damien George 55fcb83a42 py/compile: Support multiple inline asm emitters. 6 years ago
Damien George d9d92f27d7 py/compile: Add support to select the native emitter at runtime. 6 years ago
Damien George 1396a026be py: Add support to save native, viper and asm code to .mpy files. 6 years ago
Damien George 01a1f31f67 py/emitnative: Consolidate where HASCONSTS is set to load-const-obj fun. 6 years ago
Damien George 5a2599d962 py: Replace POP_BLOCK and POP_EXCEPT opcodes with POP_EXCEPT_JUMP. 6 years ago
Damien George e1fb03f3e2 py: Fix VM crash with unwinding jump out of a finally block. 6 years ago
Damien George 0779693c23 py/compile: Add optimisation to compile OrderedDict inplace. 6 years ago
Damien George 12ce9f2689 py/compile: Fix handling of unwinding BaseException in async with. 6 years ago
Damien George 4ee2c2a4cd py: Eliminate warnings about unused arguments when debugging disabled. 6 years ago
Damien George eee1e8841a py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
Damien George deb67569ff py/compile: Swap order of pop_block/pop_except in "except as" handler. 6 years ago
Damien George e328a5d469 py/scope: Optimise scope_find_or_add_id to not need "added" arg. 6 years ago
Damien George ba92c79841 py/compile: Remove unneeded variable from global/nonlocal stmt helpers. 6 years ago
Damien George 9201f46cc8 py/compile: Fix case of eager implicit conversion of local to nonlocal. 6 years ago