78 Commits (fb510b3bf90eccc8e0d400c6622b2e94c2bfa8e9)

Author SHA1 Message Date
Damien George 25c84643b6 py: Fix break from within a for loop. 11 years ago
Damien George 0fb80c303a py: Compress a little the bytecode emitter structure. 11 years ago
Damien George 9597771fe4 py, emitters: Fix dummy_data size for bytecode and thumb. 11 years ago
Damien George 3417bc2f25 py: Rename byte_code to bytecode everywhere. 11 years ago
Damien George 36db6bcf54 py, compiler: Improve passes; add an extra pass for native emitter. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 968bf34c4c py: Remove unnecessary LOAD_CONST_ID bytecode. 11 years ago
Damien George 2827d62e8b py: Implement keyword-only args. 11 years ago
Damien George 5f6a25fc50 py: Wrap #if's around emitter functions that are used only by emitcpy. 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 73496fbbe4 py: Fix up source-line calculation. 11 years ago
Damien George df8127a17e py: Remove unique_codes from emitglue.c. Replace with pointers. 11 years ago
Damien George 6ce4277551 py: Make all LOAD_FAST ops check for unbound local. 11 years ago
Damien George 69b89d21b2 py: Change compile order for default positional and keyword args. 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 190d1ba297 py: Make sure state/stack of byte code function has at least 1 slot. 11 years ago
Damien George 6f355fd3b9 py: Make labels unsigned ints (converted from int). 11 years ago
Damien George 2bf7c09222 py: Properly implement deletion of locals and derefs, and detect errors. 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 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 882b363564 py: Move to Python 3.4.0 compatibility. 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
Damien George 3056509e00 py: Rename and reorder parameters in emit_make_function/closure. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Damien George ce8f07adcd py: Rename emit_pre so they have globally unique names. 11 years ago
Damien George 2326d52d20 py: Factor out code from runtime.c to emitglue.c. 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
xbe efe3422394 py: Clean up includes. 11 years ago
Paul Sokolovsky a8d31b28bc emitbc: Correct buffer sizes for varlen int encoding. 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
Paul Sokolovsky ac2e28c654 Support passing positional args as keywords to bytecode functions. 11 years ago
Damien George 8725f8f7de py: Pass all scope flags through to runtime. 11 years ago
Paul Sokolovsky 520e2f58a5 Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. 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
Damien George fb083ea986 py: mp_execute_byte_code has 2 arg arrays, for more efficient default params. 11 years ago
Paul Sokolovsky 90750029df Implement default function arguments (for Python functions). 11 years ago
Damien George 62ad189a65 py: Add compile option to enable/disable source line numbers. 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 28eb57786d py: Optimise generated code for working out line numbers. 11 years ago
Damien George 41d02b654e py: Improve freeing of emitters in mp_compile. 11 years ago
Paul Sokolovsky f46d87a30d Add support for freeing code emitter objects at the end of compilation. 11 years ago