3574 Commits (04e7aa056316d7b4400b508caefe26c6b75384f8)

Author SHA1 Message Date
Damien George c8c0fd4ca3 py: Rework and compress second part of bytecode prelude. 5 years ago
Damien George b5ebfadbd6 py: Compress first part of bytecode prelude. 5 years ago
Damien George 81d04a0200 py: Add n_state to mp_code_state_t struct. 5 years ago
Damien George 4c5e1a0368 py/bc: Change mp_code_state_t.exc_sp to exc_sp_idx. 5 years ago
Damien George 1d7afcce49 py/bc: Remove comments referring to obsolete currently_in_except_block. 5 years ago
Jim Mussared 16f8ceeaaa extmod/modbluetooth: Add low-level Python BLE API. 5 years ago
Jim Mussared 42e9bdf19b py/ringbuf: Add helpers for put16/get16. 5 years ago
Damien George 5716c5cf65 py/persistentcode: Bump .mpy version to 5. 5 years ago
Damien George 96f2a38075 py/nativeglue: Make mp_fun_table fixed size regardless of config. 5 years ago
Josh Lloyd 7d58a197cf py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions. 5 years ago
Damien George b596638b9b mpy-cross: Set number of registers in nlr_buf_t based on native arch. 5 years ago
Damien George 74503107a7 py/emitnative: Factor sizeof/offsetof calculations to macros. 5 years ago
Damien George a48cdb57b2 py/nlr.h: Factor out constants to specific macros. 5 years ago
Damien George 02db91a7a3 py: Split RAISE_VARARGS opcode into 3 separate ones. 5 years ago
Damien George 870e900d02 py: Introduce and use constants for multi-opcode sizes. 5 years ago
Damien George 1f7202d122 py/bc: Replace big opcode format table with simple macro. 5 years ago
Damien George 5889cf58db py/bc0: Order opcodes into groups based on their size and format. 5 years ago
Damien George 2069c563f9 py: Add support for matmul operator @ as per PEP 465. 5 years ago
Damien George 14e203282a py/compile: Use calculation instead of switch to convert token to op. 5 years ago
Damien George 9bf2feba63 py/parse: Use calculation instead of table to convert token to operator. 5 years ago
Damien George 6ce7c051e8 py/lexer: Reorder operator tokens to match corresponding binary ops. 5 years ago
stijn 22131a6738 py/persistentcode: Enable persistent code saving for Windows ports. 7 years ago
Damien George 6e07fde895 py/mkrules.mk: Add QSTR_GLOBAL_REQUIREMENTS variable for qstr auto-gen. 5 years ago
Damien George ea060a42e9 py/vm: Factor cached map lookup code to inline function. 5 years ago
Damien George fb73bdae62 py/mkenv.mk: Add GDB variable. 5 years ago
Damien George b29fae0c56 py/bc: Fix size calculation of UNWIND_JUMP opcode in mp_opcode_format. 5 years ago
Damien George c348e79187 py/binary: Change mp_uint_t to size_t for index, size, align args. 5 years ago
Damien George 24c3e9b283 py/modstruct: Fix struct.pack_into with unaligned offset of native type. 5 years ago
Tom McDermott 1022f9cc35 py/modstruct: Fix struct.unpack with unaligned offset of native type. 5 years ago
Jeff Epler 12f13ee634 py/objtuple: Allow compatible subclasses of tuple in mp_obj_tuple_get. 5 years ago
Milan Rossa b295df4b08 py/profile: Add debugging for sys.settrace feature. 5 years ago
Milan Rossa 310b3d1b81 py: Integrate sys.settrace feature into the VM and runtime. 5 years ago
Milan Rossa c96aedad46 py/profile: Add initial implementation of sys.settrace feature. 5 years ago
Damien George dbf35d3da3 py/bc: Factor out code to get bytecode line number info into new func. 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
Damien George 08c1fe5569 py/vm: Don't add traceback info for exceptions that are re-raised. 5 years ago
Damien George 16f6169c88 py/vm: Don't add traceback info for exc's propagated through a finally. 5 years ago
Damien George 3d7455a0bb py/py.mk: Remove trailing spaces at end of line. 5 years ago
Damien George 2fca0d7f18 py/vm: Shorten error message for not-implemented opcode. 5 years ago
Damien George 53527138a9 py/bc0.h: Add comment that MP_BC_MAKE_CLOSURE/_DEFARGS take extra byte. 5 years ago
Damien George 973c87d8fa py/objgenerator: Move defn of mp_const_GeneratorExit_obj here. 5 years ago
Damien George bc9b656f35 py/runtime: Remove obsolete comment about mp_parse_compile_execute. 5 years ago
Damien George 8e7745eb31 py/emitbc: Make all emit_write_bytecode_* funcs take a stack_adj arg. 5 years ago
Damien George 3d9bd80447 py/emitbc: Rewrite switch in load_const_tok to reduce code size. 5 years ago
Milan Rossa ae6fe8b43c py/compile: Improve the line numbering precision for comprehensions. 5 years ago
Damien George 7d851a27f1 extmod/modure: Make regex dump-code debugging feature optional. 5 years ago
Damien George 11ecdf2ec6 py/nlr: Use MP_UNREACHABLE at the end of arch-specific nlr_jump funcs. 5 years ago
Damien George 0c80cb39af py: Introduce MP_UNREACHABLE macro to annotate unreachable code. 5 years ago
stijn af5c998f37 py/modmath: Implement math.isclose() for non-complex numbers. 5 years ago