| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-04-06 | py: Implement more features in native emitter. | Damien George | |
| On x64, native emitter now passes 70 of the tests. | |||
| 2014-04-02 | py: Move to Python 3.4.0 compatibility. | Damien George | |
| Very little has changed. In Python 3.4 they removed the opcode STORE_LOCALS, but in Micro Python we only ever used this for CPython compatibility, so it was a trivial thing to remove. It also allowed to clean up some dead code (eg the 0xdeadbeef in class construction), and now class builders use 1 less stack word. Python 3.4.0 introduced the LOAD_CLASSDEREF opcode, which I have not yet understood. Still, all tests (apart from bytecode test) still pass. Bytecode tests needs some more attention, but they are not that important anymore. | |||
| 2014-03-31 | py: Remove old "run time" functions that were 1 liners. | Damien George | |
| 2014-03-31 | py: Rename and reorder parameters in emit_make_function/closure. | Damien George | |
| In preparation for implementing default keyword arguments. | |||
| 2014-03-30 | Rename rt_* to mp_*. | Damien George | |
| Mostly just a global search and replace. Except rt_is_true which becomes mp_obj_is_true. Still would like to tidy up some of the names, but this will do for now. | |||
| 2014-03-27 | py: Rename emit_pre so they have globally unique names. | Damien George | |
| 2014-03-27 | py: Factor out code from runtime.c to emitglue.c. | Damien George | |
| 2014-03-26 | py: Replace mp_const_stop_iteration object with MP_OBJ_NULL. | Damien George | |
| 2014-03-17 | py: Clean up includes. | xbe | |
| Remove unnecessary includes. Add includes that improve portability. | |||
| 2014-02-12 | Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. | Paul Sokolovsky | |
| 2014-02-02 | py: Partially fix native emitter to work with latest runtime. | Damien George | |
| Native emitter has been broken since stack order has changed from reverse to standard. This fix gets it partially working. | |||
| 2014-02-01 | py: Tidy up BINARY_OPs; negation done by special NOT bytecode. | Damien George | |
| IS_NOT and NOT_IN are now compiled to IS + NOT and IN + NOT, with a new special NOT bytecode. | |||
| 2014-02-01 | py: Implement break/continue from an exception with finally. | Damien George | |
| Still todo: break/continue from within the finally block itself. | |||
| 2014-01-29 | py: Fix bug with LOAD_METHOD; fix int->machine_int_t for small int. | Damien George | |
| LOAD_METHOD bug was: emitbc did not correctly calculate the amount of stack usage for a LOAD_METHOD operation. small int bug was: int was being used to pass small ints, when it should have been machine_int_t. | |||
| 2014-01-24 | py: Improve freeing of emitters in mp_compile. | Damien George | |
| There can be multiple emitters allocated during compile (eg byte code and native). | |||
| 2014-01-24 | Add support for freeing code emitter objects at the end of compilation. | Paul Sokolovsky | |
| 2014-01-21 | Revamp qstrs: they now include length and hash. | Damien George | |
| Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h | |||
| 2014-01-18 | Add source file name and line number to error messages. | Damien George | |
| Byte code has a map from byte-code offset to source-code line number, used to give better error messages. | |||
| 2014-01-18 | Make VM stack grow upwards, and so no reversed args arrays. | Damien George | |
| Change state layout in VM so the stack starts at state[0] and grows upwards. Locals are at the top end of the state and number downwards. This cleans up a lot of the interface connecting the VM to C: now all functions that take an array of Micro Python objects are in order (ie no longer in reverse). Also clean up C API with keyword arguments (call_n and call_n_kw replaced with single call method that takes keyword arguments). And now make_new takes keyword arguments. emitnative.c has not yet been changed to comply with the new order of stack layout. | |||
| 2014-01-11 | py: Fix emitcpy and emitnative's binary_op. | Damien George | |
| 2014-01-11 | unified the bops | John R. Lenton | |
| 2014-01-04 | Improve configurability for native x64/thumb emitter. | Damien George | |
| With MICROPY_EMIT_X64 and MICROPY_EMIT_THUMB disabled, the respective emitters and assemblers will not be included in the code. This can significantly reduce binary size for unix version. | |||
| 2013-12-21 | Change object representation from 1 big union to individual structs. | Damien | |
| A big change. Micro Python objects are allocated as individual structs with the first element being a pointer to the type information (which is itself an object). This scheme follows CPython. Much more flexible, not necessarily slower, uses same heap memory, and can allocate objects statically. Also change name prefix, from py_ to mp_ (mp for Micro Python). | |||
| 2013-12-12 | py: remove further unnecessary emit_verbatim code. | Damien | |
| 2013-12-11 | py: work towards working closures. | Damien | |
| 2013-11-16 | Viper: function calls now convert constant arguments to objects. | Damien | |
| 2013-11-06 | Viper supports inplace add (trivial). | Damien | |
| 2013-11-03 | Support for for-loop in native thumb. | Damien | |
| 2013-11-03 | Implement more thumb branch instructions. | Damien | |
| 2013-11-02 | Fix bug: emit native didn't clear last_was_return in label_assign. | Damien | |
| 2013-10-20 | Add local_num skeleton framework to deref/closure emit calls. | Damien | |
| 2013-10-16 | Add iterators and comprehension to emitnative. | Damien | |
| 2013-10-12 | Change ifdef/if defined to simple if's. | Damien | |
| 2013-10-12 | Separate out mpy core and unix version. | Damien | |
| 2013-10-10 | Simplify and improve function & method calling. | Damien | |
| 2013-10-10 | Implement basic class/object in native code. | Damien | |
| 2013-10-09 | Implement basic class/object functionality in runtime. | Damien | |
| 2013-10-08 | Improve push/pop and register usage for native emit. | Damien | |
| 2013-10-08 | Native Python and Viper support for x64 and thumb all together. | Damien | |
