| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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-01-30 | py: Improve __bool__ and __len__ dispatch; add slots for them. | Damien George | |
| 2014-01-25 | Remove obsoleted comment. | Damien George | |
| 2014-01-25 | py: Implement iterator support for object that has __getitem__. | Damien George | |
| Addresses Issue #203. | |||
| 2014-01-22 | Second stage of qstr revamp: uPy str object can be qstr or not. | Damien George | |
| 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 | Improve method lookup in mp_obj_class_lookup. | Damien George | |
| Now searches both locals_dict and methods. Partly addresses Issue #145. | |||
| 2014-01-18 | Implement framework for class-defined built-in operators. | Damien George | |
| Now working for class-defined methods: __getitem__, __setitem__, __add__, __sub__. Easy to add others. | |||
| 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-15 | type->print(): Distinguish str() and repr() variety by passing extra param. | Paul Sokolovsky | |
| 2014-01-11 | py: Implement staticmethod and classmethod (internally). | Damien George | |
| Still need to make built-ins by these names, and write tests. | |||
| 2014-01-09 | py: Implement base class lookup, issubclass, isinstance. | Damien George | |
| 2014-01-09 | Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr. | Damien George | |
| Creating of classes (types) and instances is much more like CPython now. You can use "type('name', (), {...})" to create classes. | |||
| 2014-01-08 | py: Proper framework for built-in 'type'. | Damien George | |
| 2014-01-07 | Merge branch 'cplusplus' of https://github.com/ian-v/micropython into ↵ | Damien George | |
| ian-v-cplusplus Conflicts: py/objcomplex.c | |||
| 2014-01-06 | Co-exist with C++ (issue #85) | ian-v | |
| 2014-01-05 | Convert many object types structs to use C99 tagged initializer syntax. | Paul Sokolovsky | |
| 2014-01-04 | Convert Python types to proper Python type hierarchy. | Damien George | |
| Now much more inline with how CPython does types. | |||
| 2014-01-02 | py: Add framework for built-in "type()" function. | Damien George | |
| 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). | |||
