117 Commits (3aa8ee7c9e2e9fd50ffb4b588518bd84b40fef84)

Author SHA1 Message Date
Damien George f4c9b33abf py: Remove DELETE_SUBSCR opcode, combine with STORE_SUBSCR. 11 years ago
Damien George 1d24ea5207 py: Finish implementation of all del opcodes. 11 years ago
Damien George 495d781a36 py: implement UNPACK_EX byte code (for: a, *b, c = d) 11 years ago
Damien George e753d916c0 py: Raise exception for unimplemented byte codes. 11 years ago
Damien George cdd96dff2c py: Implement more features in native emitter. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Damien George 09a4d8305d py: Fix bug in DELETE_SUBSCR bytecode, decreasing sp too much. 11 years ago
Damien George 66edc5d899 py: Implement DELETE_SUBSCR bytecode; implement mp_obj_dict_delete. 11 years ago
Damien George 6902eeda25 py: Add m_malloc_fail function to handle memory allocation error. 11 years ago
Damien George 15d18069c5 py: Remove old "run time" functions that were 1 liners. 11 years ago
Paul Sokolovsky 7da0660516 mp_resume: Dare to pass send_value of NULL. 11 years ago
Damien George e337f1ef5e py: Towards default keyword arguments. 11 years ago
Damien George 523b575039 py: Add LOAD_NULL bytecode and use it to simplify function calls. 11 years ago
Paul Sokolovsky f39d3b93da py: Implement support for generalized generator protocol. 11 years ago
Damien George 230fec77d7 py: Implement positional and keyword args via * and **. 11 years ago
Paul Sokolovsky 14b8203a99 vm: Implement DELETE_FAST_N bytecode. 11 years ago
Paul Sokolovsky 55ca075cab vm: Implement CALL_FUNCTION_VAR opcode (foo(*(1, 2, 3))). 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Damien George 89f94b51ab py: Rename mp_exc_stack to mp_exc_stack_t. 11 years ago
Damien George d7592a1c3f py: Fix reraise logic. 11 years ago
Paul Sokolovsky 0c904df8e6 vm: Save current active exception on opening new try block. 11 years ago
Paul Sokolovsky 69975df3ff vm: WITH_CLEANUP: use POP_EXC_BLOCK(). 11 years ago
Paul Sokolovsky a0ad77ba08 vm: Establish macros PUSH_EXC_BLOCK & POP_EXC_BLOCK to deal with exc stack. 11 years ago
Paul Sokolovsky d109676ec0 py: Reraising exception possible only in except block. 11 years ago
Paul Sokolovsky 40d6d29af6 vm: Elaborate comments for WITH_CLEANUP, other cosmetic fixes. 11 years ago
Damien George c689c19471 py: Make MP_BC_SETUP_WITH use the bytecode stack for load_method. 11 years ago
Damien George b04be056fe py: Fix regress with GeneratorExit object becoming truly const. 11 years ago
Damien George 07ddab529c py: Change mp_const_* objects to macros. 11 years ago
Damien George d1e443d0bc py: Free unique_code slot for outer module. 11 years ago
Paul Sokolovsky 44307d5ef8 vm: Implement "with" statement (SETUP_WITH and WITH_CLEANUP bytecodes). 11 years ago
Paul Sokolovsky 682f9e639d vm: Make sure that exception triple is <type, instance, traceback>. 11 years ago
Paul Sokolovsky 4fff26a35c vm: Factor out exception block setup to a macro. 11 years ago
Paul Sokolovsky 55234f4617 py: yield from: Elaborate GeneratorExit (gen.close()) handling. 11 years ago
Paul Sokolovsky cf21a4e7f4 py: Core "yield from" implementation. 11 years ago
Damien George bee17b00e3 py: Put n_state for bytecode in the bytecode prelude. 11 years ago
Damien George 8dcc0c7924 py: Calculate maximum exception stack size in compiler. 11 years ago
Paul Sokolovsky 2447a5b582 py: Support closures with default args. 11 years ago
Damien George 66eaf84b8c py: Replace mp_const_stop_iteration object with MP_OBJ_NULL. 11 years ago
Damien George 9e6e935df0 py: Add support for user-defined iterators via __iter__, __next__. 11 years ago
Paul Sokolovsky c403076ef8 vm: Implement raise statement w/o args (reraising last exception). 11 years ago
Paul Sokolovsky f909034400 py: Implement support for "except Exception as var" clause. 11 years ago
Paul Sokolovsky 1673420053 vm: Abstract working with tagged pointers in VM using macro accessors. 11 years ago
Damien George ffa37db5c5 py: Fix int -> machine_uint_t. 11 years ago
Paul Sokolovsky 48caa09a9d objgenerator: Implement .throw() method to throw exceptions into generator. 11 years ago
Paul Sokolovsky c0abc28aa1 objgenerator: Keep exception stack within generator object, like value stack. 11 years ago
xbe efe3422394 py: Clean up includes. 11 years ago
Damien George 4d79d5dd7c py: Fix type of integer in decoding int. 11 years ago
Paul Sokolovsky 047cd40313 Bytecode int varlen encoding: support arbitrary values for signed ints too. 11 years ago
Paul Sokolovsky 0f96ec8268 Bytecode uint varlen encoding: support arbitrary values. 11 years ago
Damien George c8f78bc280 py: VM never throws an exception, instead returns a status and value. 11 years ago