summaryrefslogtreecommitdiffstatshomepage
path: root/py/obj.h
Commit message (Collapse)AuthorAge
...
* | py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t.Damien George2014-01-08
|/
* py: Improve __build_class__.Damien George2014-01-08
|
* py: Small big fix to type declarations.Damien George2014-01-07
|
* Merge remote-tracking branch 'upstream/master' into listsort. Lots of ↵John R. Lenton2014-01-07
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | conflict fun. Conflicts: py/obj.h py/objbool.c py/objboundmeth.c py/objcell.c py/objclass.c py/objclosure.c py/objcomplex.c py/objdict.c py/objexcept.c py/objfun.c py/objgenerator.c py/objinstance.c py/objmodule.c py/objrange.c py/objset.c py/objslice.c
| * Merge branch 'cplusplus' of https://github.com/ian-v/micropython into ↵Damien George2014-01-07
| |\ | | | | | | | | | | | | | | | | | | ian-v-cplusplus Conflicts: py/objcomplex.c
| | * Revert MP_BOOL, etc. and use <stdbool.h> insteadian-v2014-01-06
| | |
| | * Co-exist with C++ (issue #85)ian-v2014-01-06
| | |
* | | This implements a better (more python-conformant) list.sort.John R. Lenton2014-01-07
|/ / | | | | | | | | | | | | | | It's not really about that, though; it's about me figuring out a sane way forward for keyword-argument functions (and function metadata). But it's useful as is, and shouldn't break any existing code, so here you have it; I'm going to park it in my mind for a bit while sorting out the rest of the dict branch.
* / py: Fix up number operations and coercion.Damien George2014-01-06
|/
* Merge remote-tracking branch 'upstream/master' into list_insertJohn R. Lenton2014-01-05
|\
| * Convert Python types to proper Python type hierarchy.Damien George2014-01-04
| | | | | | | | Now much more inline with how CPython does types.
| * Add ellipsis object.Damien George2014-01-04
| |
* | Merge remote-tracking branch 'upstream/master' into list_insertJohn R. Lenton2014-01-04
|\|
| * Add basic implementation of slice object.Paul Sokolovsky2014-01-04
| | | | | | | | | | So far, only start and stop integer indexes are supported. Step is not supported, as well as objects of arbitrary types.
* | Implements list.insert. Fixes issue #61.John R. Lenton2014-01-04
|/
* Basic implementation of import.Damien George2014-01-03
| | | | | | import works for simple cases. Still work to do on finding the right script, and setting globals/locals correctly when running an imported function.
* Add module object, to be used eventually for import.Damien George2014-01-02
|
* py: Fix generator where state array was incorrectly indexed.Damien George2014-01-02
| | | | | Generator objects now allocate the object and the state in one malloc. This improvement fixes Issue #38.
* py: change declaration of mp_map_t in obj.h (for issue #24).Damien George2014-01-01
|
* py: make closures work.Damien George2013-12-30
|
* py: add dict length function, and fix rt_store_set.Damien2013-12-29
|
* py: implement some basic exception matching.Damien2013-12-29
|
* py: simplify __next__ method for generators.Damien2013-12-21
|
* Change object representation from 1 big union to individual structs.Damien2013-12-21
| | | | | | | | | | 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).
* py: add more Python built-in functions.Damien2013-12-17
|
* py: split runtime into map, obj, builtin.Damien2013-12-17