65 Commits (842210f53a24666206caaff135cc2dbdc259e1e3)

Author SHA1 Message Date
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
Damien George 08d075592f py: Fix bug with LOAD_METHOD; fix int->machine_int_t for small int. 11 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash. 11 years ago
Damien George cbd2f7482c py: Add module/function/class name to exceptions. 11 years ago
Damien George e02b2d4391 py: Temporary fix for bug where not enough VM state is allocated. 11 years ago
Damien George 08335004cf Add source file name and line number to error messages. 11 years ago
Damien George 20006dbba9 Make VM stack grow upwards, and so no reversed args arrays. 11 years ago
John R. Lenton b8698fca75 unified the bops 11 years ago