65 Commits (11d8cd54c992eee55f27d3779738626bdc095c03)

Author SHA1 Message Date
Damien George a9837bbf8b py: Remove obsolete mp_delete_subscr declaration. 11 years ago
Damien George 1d24ea5207 py: Finish implementation of all del opcodes. 11 years ago
Damien George 495d781a36 py: implement UNPACK_EX byte code (for: a, *b, c = d) 11 years ago
Damien George cdd96dff2c py: Implement more features in native emitter. 11 years ago
Paul Sokolovsky 36dd19ae27 py: Revert mp_load_attr() to its previous state (not supporting default val). 11 years ago
Damien George 7efc5b3f34 py: Make globals and locals proper dictionary objects. 11 years ago
Damien George 66edc5d899 py: Implement DELETE_SUBSCR bytecode; implement mp_obj_dict_delete. 11 years ago
Paul Sokolovsky bfb7d6a26d py: Support 3-arg getattr() builtin (with default value). 11 years ago
Damien George e44d26ae0c py: Implement __getattr__. 11 years ago
Damien George 15d18069c5 py: Remove old "run time" functions that were 1 liners. 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
Paul Sokolovsky f39d3b93da py: Implement support for generalized generator protocol. 11 years ago
Damien George 230fec77d7 py: Implement positional and keyword args via * and **. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Damien George d1e443d0bc py: Free unique_code slot for outer module. 11 years ago
Damien George 2326d52d20 py: Factor out code from runtime.c to emitglue.c. 11 years ago
Paul Sokolovsky 2447a5b582 py: Support closures with default args. 11 years ago
Damien George 66eaf84b8c py: Replace mp_const_stop_iteration object with MP_OBJ_NULL. 11 years ago
Paul Sokolovsky f909034400 py: Implement support for "except Exception as var" clause. 11 years ago
Dave Hylands 51dabac096 Add pin mapping code. 11 years ago
Damien George c5966128c7 Implement proper exception type hierarchy. 11 years ago
Paul Sokolovsky da1ce93da8 Implement "from module import *" construct. 11 years ago
Paul Sokolovsky e11b17c25f Implement support for sys.path when loading modules. 11 years ago
Damien George cd82e02e84 py: Partially fix native emitter to work with latest runtime. 11 years ago
Paul Sokolovsky 90750029df Implement default function arguments (for Python functions). 11 years ago
Paul Sokolovsky 91fb1c9b13 Add basic implementation of bytes type, piggybacking on str. 11 years ago
Damien George 0d028743aa py: Initialise loaded_module map in rt_init. 11 years ago
Damien George 20006dbba9 Make VM stack grow upwards, and so no reversed args arrays. 11 years ago
Damien George f62d33aa1d Consolidate rt_make_function_[0123] to rt_make_function_n. 11 years ago
John R. Lenton b8698fca75 unified the bops 11 years ago
Damien George eb7bfcb286 Split qstr into pools, and put initial pool in ROM. 11 years ago
Damien George 66028ab6dc Basic implementation of import. 11 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs. 11 years ago
Damien a3dcd9e80c py: add more Python built-in functions. 11 years ago
Damien 660365e14c py: split runtime into map, obj, builtin. 11 years ago
Damien 9ecbcfff99 py: work towards working closures. 11 years ago
Damien db4c361f1c py: add skeletal import functionality. 11 years ago
Damien 86c7fc7dd9 py: add list pop and sort, unpack_sequence, and keywords in method_call. 11 years ago
Damien 2f06c57f8a Add simple var-arg functions; add simple string.format. 11 years ago
Damien 33af3bf028 Change Py API names, py_get_* -> py_obj_get_*. 11 years ago
Damien d57eba51e5 Add user object to runtime. 11 years ago
Damien 6ba1314265 Fix bug: emit native didn't clear last_was_return in label_assign. 11 years ago
Damien 7410e440ab Add basic complex number support. 11 years ago
Damien 4ebb32fb95 Implement: str.join, more float support, ROT_TWO in VM. 11 years ago
Damien 2839168340 Add py_get_array_fixed_n function. 11 years ago
Damien 6f08f8ce51 Add working MMA support. 11 years ago
Damien 8b3a7c2237 Fix func decls with no arguments: () -> (void). 11 years ago
Damien 9fc7933ff2 Add py_get_qstr. 11 years ago