72 Commits (db1ac360c39aeedd28b6ef5d653faaa14c3ce01e)

Author SHA1 Message Date
Paul Sokolovsky 1ee1785bed showbc: Print operation mnemonic in BINARY_OP. 10 years ago
Paul Sokolovsky df103462dc showbc: Make code object start pointer semi-public. 10 years ago
Paul Sokolovsky 343266ea51 showbc: Refactor to allow inline instruction printing. 10 years ago
Damien George 7764f163fa py: Fix label printing in showbc; print sp in vm trace. 10 years ago
Damien George 8456cc017b py: Compress load-int, load-fast, store-fast, unop, binop bytecodes. 10 years ago
Damien George 1084b0f9c2 py: Store bytecode arg names in bytecode (were in own array). 10 years ago
Damien George 564963a170 py: Fix debug-printing of bytecode line numbers. 10 years ago
Damien George 3eaa0c3833 py: Use UINT_FMT instead of %d. 10 years ago
Damien George 42f3de924b py: Convert [u]int to mp_[u]int_t where appropriate. 10 years ago
Damien George b534e1b9f1 py: Use variable length encoded uints in more places in bytecode. 10 years ago
Damien George 4747becc64 py: Improve encoding scheme for line-number to bytecode map. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky a4ac5b9f05 showbc: Make sure it's possible to trace MAKE_FUNCTION arg to actual bytecode. 11 years ago
Paul Sokolovsky 8bf8404c15 showbc: Print code block header at the beginning, not in the middle of dump. 11 years ago
Damien George fb510b3bf9 Rename bultins config variables to MICROPY_PY_BUILTINS_*. 11 years ago
Damien George ee3fd46f13 Rename configuration variables controling Python features. 11 years ago
Paul Sokolovsky 0f570cfccf showbc: Decode MAP_ADD. 11 years ago
Damien George 3417bc2f25 py: Rename byte_code to bytecode everywhere. 11 years ago
Paul Sokolovsky 4187068cad showbc: Quote block name, so it was easily visible. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Paul Sokolovsky f54bcbf099 py, unix: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Damien George 968bf34c4c py: Remove unnecessary LOAD_CONST_ID bytecode. 11 years ago
Paul Sokolovsky c5e32c6995 vm: Add rudimentary bytecode execution tracing capability. 11 years ago
Paul Sokolovsky 4c6b375960 showbc: MAKE_CLOSURE*: Update for new closed-over encoding. 11 years ago
Damien George 5f6a25fc50 py: Wrap #if's around emitter functions that are used only by emitcpy. 11 years ago
Damien George 729f7b42d6 py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr. 11 years ago
Damien George 73496fbbe4 py: Fix up source-line calculation. 11 years ago
Damien George 3d484d9ad4 py: Update showbc to decode ptrs for MAKE_FUNCTION ops. 11 years ago
Damien George 6ce4277551 py: Make all LOAD_FAST ops check for unbound local. 11 years ago
Paul Sokolovsky faf84491ce showbc: Add quotes around (some) string args, to show empty string properly. 11 years ago
Paul Sokolovsky b9b1c00c8a showbs: Dump LOAD_CONST_BYTES. 11 years ago
Paul Sokolovsky 00a9d138b2 showbc: Dump LOAD_NULL. 11 years ago
Damien George 2bf7c09222 py: Properly implement deletion of locals and derefs, and detect errors. 11 years ago
Damien George 1d24ea5207 py: Finish implementation of all del opcodes. 11 years ago
Damien George 523b575039 py: Add LOAD_NULL bytecode and use it to simplify function calls. 11 years ago
Paul Sokolovsky 48bdb21332 showbc: Dump all CALL_FUNCTION_* and CALL_METHOD_* opcodes. 11 years ago
Damien George 440f041525 py: Fix bugs with debugging output. 11 years ago
Paul Sokolovsky 182c31a208 showbc: Add few bytecodes related to "with". 11 years ago
Paul Sokolovsky 2447a5b582 py: Support closures with default args. 11 years ago
Paul Sokolovsky da8d21e0dd showbc: Dump YIELD_FROM. 11 years ago
xbe efe3422394 py: Clean up includes. 11 years ago
Damien George 0379b55ab0 py: Fix casting and printing of small int. 11 years ago
Paul Sokolovsky 1d30b11685 showbc: Update for recent int varlen storage refactor. 11 years ago
Paul Sokolovsky 047cd40313 Bytecode int varlen encoding: support arbitrary values for signed ints too. 11 years ago
Paul Sokolovsky da1ce93da8 Implement "from module import *" construct. 11 years ago
Damien George ddaf6c112c py: More output in showbc. 11 years ago
Damien George 9aa2a527b5 py: Tidy up BINARY_OPs; negation done by special NOT bytecode. 11 years ago
Damien George cbddb279bb py: Implement break/continue from an exception with finally. 11 years ago
Paul Sokolovsky 90750029df Implement default function arguments (for Python functions). 11 years ago
Paul Sokolovsky 7ee8e46878 Dump 4 more bytecodes (loop and finally ones). 11 years ago