aboutsummaryrefslogtreecommitdiff
path: root/py/vm.c
AgeCommit message (Expand)Author
2014-03-29vm: Elaborate comments for WITH_CLEANUP, other cosmetic fixes.Paul Sokolovsky
2014-03-29py: Make MP_BC_SETUP_WITH use the bytecode stack for load_method.Damien George
2014-03-29Merge pull request #389 from pfalcon/with-statementDamien George
2014-03-29py: Fix regress with GeneratorExit object becoming truly const.Damien George
2014-03-29py: Change mp_const_* objects to macros.Damien George
2014-03-29Merge pull request #383 from pfalcon/yield-fromDamien George
2014-03-29py: Free unique_code slot for outer module.Damien George
2014-03-29vm: Implement "with" statement (SETUP_WITH and WITH_CLEANUP bytecodes).Paul Sokolovsky
2014-03-29vm: Make sure that exception triple is <type, instance, traceback>.Paul Sokolovsky
2014-03-29vm: Factor out exception block setup to a macro.Paul Sokolovsky
2014-03-28py: yield from: Elaborate GeneratorExit (gen.close()) handling.Paul Sokolovsky
2014-03-28py: Core "yield from" implementation.Paul Sokolovsky
2014-03-27py: Put n_state for bytecode in the bytecode prelude.Damien George
2014-03-27py: Calculate maximum exception stack size in compiler.Damien George
2014-03-26py: Support closures with default args.Paul Sokolovsky
2014-03-26py: Replace mp_const_stop_iteration object with MP_OBJ_NULL.Damien George
2014-03-26Merge pull request #379 from pfalcon/reraiseDamien George
2014-03-26py: Add support for user-defined iterators via __iter__, __next__.Damien George
2014-03-26vm: Implement raise statement w/o args (reraising last exception).Paul Sokolovsky
2014-03-23py: Implement support for "except Exception as var" clause.Paul Sokolovsky
2014-03-23vm: Abstract working with tagged pointers in VM using macro accessors.Paul Sokolovsky
2014-03-22py: Fix int -> machine_uint_t.Damien George
2014-03-22objgenerator: Implement .throw() method to throw exceptions into generator.Paul Sokolovsky
2014-03-22objgenerator: Keep exception stack within generator object, like value stack.Paul Sokolovsky
2014-03-17py: Clean up includes.xbe
2014-02-20py: Fix type of integer in decoding int.Damien George
2014-02-19Bytecode int varlen encoding: support arbitrary values for signed ints too.Paul Sokolovsky
2014-02-19Bytecode uint varlen encoding: support arbitrary values.Paul Sokolovsky
2014-02-15py: VM never throws an exception, instead returns a status and value.Damien George
2014-02-15Implement proper exception type hierarchy.Damien George
2014-02-14py: Fix IMPORT_STAR, needs to pop the stack.Damien George
2014-02-14Implement "from module import *" construct.Paul Sokolovsky
2014-02-01py: Tidy up BINARY_OPs; negation done by special NOT bytecode.Damien George
2014-02-01py: Implement break/continue from an exception with finally.Damien George
2014-02-01py: mp_execute_byte_code has 2 arg arrays, for more efficient default params.Damien George
2014-02-01Merge branch 'fun-defargs' of github.com:pfalcon/micropython into pfalcon-fun...Damien George
2014-02-01Implement default function arguments (for Python functions).Paul Sokolovsky
2014-02-01Add exception stack unwind support for RETURN_VALUE.Paul Sokolovsky
2014-01-31Update VM stacks comments.Paul Sokolovsky
2014-01-31vm: Introduce structure for exception stack entry, record entry type.Paul Sokolovsky
2014-01-30vm: Add basic implementation of END_FINALLY opcode.Paul Sokolovsky
2014-01-29py: Simplify fastn in VM; reduce size of unique code struct.Damien George
2014-01-29py: Fix bug with LOAD_METHOD; fix int->machine_int_t for small int.Damien George
2014-01-26Implement send() method for generators.Paul Sokolovsky
2014-01-25py: Optimise generated code for working out line numbers.Damien George
2014-01-24Add basic implementation of bytes type, piggybacking on str.Paul Sokolovsky
2014-01-21py: Implement break and continue byte codes, and add tests.Damien George
2014-01-21Revamp qstrs: they now include length and hash.Damien George
2014-01-19py: Add full traceback to exception printing.Damien George
2014-01-19py: Add module/function/class name to exceptions.Damien George