| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-04-10 | py: Simplify stack get/set to become stack adjust in emitters. | Damien George | |
| Can do this now that the stack size calculation is improved. | |||
| 2014-04-10 | py, compiler: Improve stack depth counting. | Damien George | |
| Much less of a hack now. Hopefully it's correct! | |||
| 2014-04-10 | py: Make labels unsigned ints (converted from int). | Damien George | |
| Labels should never be negative, and this modified type signature reflects that. | |||
| 2014-04-09 | py: Oops, fix emitcpy to compile with latest changes. | Damien George | |
| 2014-04-09 | py, compile: Combine have_star_arg, have_dbl_star_arg into star_flags. | Damien George | |
| Small reduction in ROM, heap and stack usage. | |||
| 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: 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-17 | py: Clean up includes. | xbe | |
| Remove unnecessary includes. Add includes that improve portability. | |||
| 2014-02-16 | Propagate scope flags refactor to emitcpy.c. | Paul Sokolovsky | |
| 2014-02-12 | Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. | Paul Sokolovsky | |
| 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: Fix emitcpy so continue is compatible with CPython. | Damien George | |
| 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-25 | Implement mp_parse_node_free; print properly repr(string). | Damien George | |
| 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-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. | |||
| 2014-01-03 | Change mp_compile so that it returns a function object for the module. | Damien George | |
| 2013-12-29 | Add unix-cpy, used to test Micro Python byte code against CPython. | Damien | |
| 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-10-20 | Add local_num skeleton framework to deref/closure emit calls. | Damien | |
| 2013-10-20 | Abstract out back-end stream functionality from lexer. | 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-09 | Implement basic class/object functionality in runtime. | Damien | |
| 2013-10-05 | Add support for inline thumb assembly. | Damien | |
| 2013-10-05 | Implement built-in decorators to select emit type. | Damien | |
| 2013-10-05 | Factorise EMIT_COMMON calls, mostly into emit_pass1. | Damien | |
| 2013-10-05 | Compiler computes labels and max_num_labels. | Damien | |
| 2013-10-05 | Further factorise PASS_1 out of specific emit code. | Damien | |
| 2013-10-05 | Restructure emit so it goes through a method table. | Damien | |
| 2013-10-04 | Initial commit. | Damien | |
