68 Commits (92a342a0113292c93a04d04af106649bb3e51b79)

Author SHA1 Message Date
Damien George ce8b4e8749 py: Combine continuous block of emit steps into with_cleanup emit call. 9 years ago
Damien George 8f54c08691 py/inlineasm: Add ability to specify return type of asm_thumb funcs. 9 years ago
Damien George 5d66b427e2 py/emit: Change type of arg of load_const_obj from void* to mp_obj_t. 9 years ago
Damien George 65dc960e3b unix-cpy: Remove unix-cpy. It's no longer needed. 9 years ago
Damien George 59fba2d6ea py: Remove mp_load_const_bytes and instead load precreated bytes object. 10 years ago
Damien George c8b60f013b py: Make viper codegen raise proper exception (ViperTypeError) on error. 10 years ago
Damien George 4112590a60 py, compiler: When just bytecode, make explicit calls instead of table. 10 years ago
Damien George a210c774f9 py, compiler: Remove emit_pass1 code, using emit_bc to do its job. 10 years ago
Damien George 542bd6b4a1 py, compiler: Refactor load/store/delete_id logic to reduce code size. 10 years ago
Damien George 9c5cabb502 py: Give error for duplicate label in inline assembler. 10 years ago
Damien George 63f3832e81 py: Combine emit functions for jump true/false to reduce code size. 10 years ago
Damien George 8dfbd2d589 py: Make inline assembler raise proper SyntaxError exception on error. 10 years ago
Damien George 7d414a1b52 py: Parse big-int/float/imag constants directly in parser. 10 years ago
Damien George 0d3cb6726d py: Change vstr so that it doesn't null terminate buffer by default. 10 years ago
Damien George 0abb5609b0 py: Remove unnecessary id_flags argument from emitter's load_fast. 10 years ago
Damien George dab1385177 py: Add load_const_obj to emitter, add LOAD_CONST_OBJ to bytecode. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Paul Sokolovsky 8a8c1fc82f py: Add basic framework for issuing compile/runtime warnings. 10 years ago
Damien George 83204f3406 py: Allow to properly disable builtin slice operation. 10 years ago
Damien George e37dcaafb4 py: Allow to properly disable builtin "set" object. 10 years ago
Paul Sokolovsky 8ab6f90674 py: Move to guarded includes for compile.h and related headers. 10 years ago
Damien George 7ff996c237 py: Convert [u]int to mp_[u]int_t in emit.h and associated .c files. 10 years ago
Damien George c90f59ec3a py: Add support for emitting native x86 machine code. 10 years ago
Fabian Vogt fe3d16e8c2 Basic native ARM emitter 10 years ago
Damien George 2ac4af6946 py: Allow viper to have type annotations. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Damien George b601d9574a py: Improvements to native emitter. 11 years ago
Damien George 25c84643b6 py: Fix break from within a for loop. 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 e5f8a77db6 py: Add 'align' and 'data' meta-instructions to inline assembler. 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 a26dc50968 py: Improve inline assembler; improve compiler constant folding. 11 years ago
Damien George d66ae18640 py: Simplify stack get/set to become stack adjust in emitters. 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 882b363564 py: Move to Python 3.4.0 compatibility. 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 2326d52d20 py: Factor out code from runtime.c to emitglue.c. 11 years ago
Damien George 35e2a4e6bb py: Add built-in super. 11 years ago
Damien George cbddb279bb py: Implement break/continue from an exception with finally. 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 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
Damien George cbd2f7482c py: Add module/function/class name to exceptions. 11 years ago