100 Commits (67fdfebe645d5df69cfa01b81a6776ecae3b6625)

Author SHA1 Message Date
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
Paul Sokolovsky 4b919d0135 Dump few more bytecodes (based on attempt to run real-world code). 11 years ago
John R. Lenton 9c83ec0eda Merge remote-tracking branch 'upstream/master' into dict_feats 11 years ago
Damien George d3ebe4829d Factor and simplify Makefile's and mpconfig, part 2. 11 years ago
Damien George e9906ac3d7 Add ellipsis object. 11 years ago
Damien George 66028ab6dc Basic implementation of import. 11 years ago
Damien George 27bf5b829b py: Add more bytecodes to showbc.c. 11 years ago
Damien George 6baf76e28b py: make closures work. 11 years ago
Damien George 212c296c0b Make unix-cpy cross platform; remove dependency of asmx64 on mpconfig. 11 years ago
Paul Sokolovsky e85c38992d Make "unix" target be crossplatform and support x86, x64, ARM hosts. 11 years ago
Damien dae7eb7226 py: add dict length function, and fix rt_store_set. 11 years ago
Damien 8f9e2ee157 Add code in VM to handle nested exceptions correctly. 11 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs. 11 years ago
Damien ff099f36d6 py: add more functionality to showbc. 11 years ago
Damien c1075ddc8f py: add some more opcodes to showbc. 11 years ago
Damien f03001f8a6 Add function to decode and show byte code. 11 years ago