59 Commits (69922c602cea2b54c30b04078f066717b18425d6)

Author SHA1 Message Date
Damien George 63f3832e81 py: Combine emit functions for jump true/false to reduce code size. 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
Damien George 7ff996c237 py: Convert [u]int to mp_[u]int_t in emit.h and associated .c files. 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
Paul Sokolovsky 59c675a64c py: Include mpconfig.h before all other includes. 11 years ago
Damien George 3417bc2f25 py: Rename byte_code to bytecode everywhere. 11 years ago
Damien George c3602e159c py: Fix emitcpy, to work with latest changes to PASS variables. 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 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 df8127a17e py: Remove unique_codes from emitglue.c. Replace with pointers. 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 e2835c16f4 py: Oops, fix emitcpy to compile with latest changes. 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
xbe efe3422394 py: Clean up includes. 11 years ago
Paul Sokolovsky 5fd7bc3264 Propagate scope flags refactor to emitcpy.c. 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 e24b563796 py: Fix emitcpy so continue is compatible with CPython. 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 b829b5caec Implement mp_parse_node_free; print properly repr(string). 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 55baff4c9b Revamp qstrs: they now include length and hash. 11 years ago
Damien George 08335004cf Add source file name and line number to error messages. 11 years ago
Damien George bc1d36924d py: Fix emitcpy and emitnative's binary_op. 11 years ago
John R. Lenton b8698fca75 unified the bops 11 years ago
ian-v 5fd8fd2c16 Revert MP_BOOL, etc. and use <stdbool.h> instead 11 years ago
ian-v 7a16fadbf8 Co-exist with C++ (issue #85) 11 years ago
Damien George e67ed5d285 Improve configurability for native x64/thumb emitter. 11 years ago
Damien George 1fb031744f Change mp_compile so that it returns a function object for the module. 11 years ago
Damien de690d128b Add unix-cpy, used to test Micro Python byte code against CPython. 11 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs. 11 years ago
Damien a1b2693161 py: remove further unnecessary emit_verbatim code. 11 years ago
Damien 9ecbcfff99 py: work towards working closures. 11 years ago
Damien 27fb45eb1c Add local_num skeleton framework to deref/closure emit calls. 11 years ago