176 Commits (2276eb808499b81f7c6e32ab1d497afa020c9379)

Author SHA1 Message Date
Damien George 968bf34c4c py: Remove unnecessary LOAD_CONST_ID bytecode. 11 years ago
Damien George 9d181f62dc py: Save some ROM by shortening compiler error messages. 11 years ago
Damien George 2c0842b3c5 py: Change the way function arguments are compiled. 11 years ago
Damien George 2827d62e8b py: Implement keyword-only args. 11 years ago
Damien George 6d3c5e4301 Add ARRAY_SIZE macro, and use it where possible. 11 years ago
Damien George 1463c1fa82 py: Add MICROPY_ENABLE_DOC_STRING, disabled by default. 11 years ago
Damien George e5f8a77db6 py: Add 'align' and 'data' meta-instructions to inline assembler. 11 years ago
Damien George 3558f62fb5 py: Making closures now passes pointer to stack, not a tuple for vars. 11 years ago
Damien George 729f7b42d6 py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr. 11 years ago
Damien George df8127a17e py: Remove unique_codes from emitglue.c. Replace with pointers. 11 years ago
Damien George a26dc50968 py: Improve inline assembler; improve compiler constant folding. 11 years ago
Damien George 7b4330191f py, compiler: Fix up creation of default positionals tuple. 11 years ago
Damien George 8b19db00aa py, compiler: Fix compiling of keyword args following named star. 11 years ago
Damien George 69b89d21b2 py: Change compile order for default positional and keyword args. 11 years ago
Damien George 0e3329a6b8 py, compiler: Allow lambda's to yield. 11 years ago
Damien George 0288cf020e py: Implement compiling of *-expr within parenthesis. 11 years ago
Damien George 57e99ebc86 py: Add simple way of looking up constants in compiler. 11 years ago
Damien George d66ae18640 py: Simplify stack get/set to become stack adjust in emitters. 11 years ago
Damien George 069a35e3a5 py, compiler: Improve stack depth counting. 11 years ago
Damien George 6f355fd3b9 py: Make labels unsigned ints (converted from int). 11 years ago
Damien George 635543c72c py, compiler: Implement compiling of relative imports. 11 years ago
Damien George 2bf7c09222 py: Properly implement deletion of locals and derefs, and detect errors. 11 years ago
Damien George 11d8cd54c9 py, compiler: Turn id_info_t.param into a set of flags. 11 years ago
Damien George b140bff877 py, compile: Simplify initialisation of compiler structure. 11 years ago
Damien George 02a4c05c5f py, compile: Reduce size of compiler structure. 11 years ago
Damien George 922ddd6415 py, compile: Combine have_star_arg, have_dbl_star_arg into star_flags. 11 years ago
Damien George 78035b995f py, compiler: Clean up and compress scope/compile structures. 11 years ago
Damien George 495d781a36 py: implement UNPACK_EX byte code (for: a, *b, c = d) 11 years ago
Damien George b7ffdcc1c7 py: Improve compiler syntax errors; catch more errors. 11 years ago
Damien George cdd96dff2c py: Implement more features in native emitter. 11 years ago
Damien George 65cad12d38 py: Add option to compiler to specify default code emitter. 11 years ago
Damien George af27259439 py: Enable optimisation of multiplying 2 small ints in compiler. 11 years ago
Damien George ecf5b77123 py: This time, real proper overflow checking of small int power. 11 years ago
Damien George 094d450003 py: Wrap compile_scope_inline_asm in #if; remove comment from misc.h. 11 years ago
Damien George af6edc61bd py: Enable a jump optimisation in the compiler. 11 years ago
Damien George 882b363564 py: Move to Python 3.4.0 compatibility. 11 years ago
Damien George 3ff2d03891 py: Fix bug in optimised for .. range. 11 years ago
Damien George e337f1ef5e py: Towards default keyword arguments. 11 years ago
Damien George 3056509e00 py: Rename and reorder parameters in emit_make_function/closure. 11 years ago
Paul Sokolovsky 96eec4f8a6 compile: Don't try to constant-fold division by zero. 11 years ago
Damien George 804760bfca py: Fix bug in compiler for empty class bases. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Paul Sokolovsky 8d9cc2e669 compile: Print error messages on unimplemented relative imports. 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
Damien George 2326d52d20 py: Factor out code from runtime.c to emitglue.c. 11 years ago
Damien George 8dcc0c7924 py: Calculate maximum exception stack size in compiler. 11 years ago
Damien George bdcbf0fcd1 py: Restore CPython compatibility in compiler for closures with def args. 11 years ago
Paul Sokolovsky 2447a5b582 py: Support closures with default args. 11 years ago
Rachel Dowdall 2d15deebdc Fixed floor division on mp ints and small ints. Added a floordivide test case. 11 years ago