Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Revamp qstrs: they now include length and hash. | Damien George | 2014-01-21 |
| | | | | | Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h | ||
* | Change int to uint for n_args in function with variable arguments. | Damien George | 2014-01-19 |
| | |||
* | Make VM stack grow upwards, and so no reversed args arrays. | Damien George | 2014-01-18 |
| | | | | | | | | | | | | | | | 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. | ||
* | type->print(): Distinguish str() and repr() variety by passing extra param. | Paul Sokolovsky | 2014-01-15 |
| | |||
* | Fixed the merge so it worked and compiled and stuff | John R. Lenton | 2014-01-13 |
| | |||
* | Merge remote-tracking branch 'upstream/master' into containment | John R. Lenton | 2014-01-13 |
|\ | |||
| * | oops, nasty off-by-one in set_copy | John R. Lenton | 2014-01-12 |
| | | |||
| * | Implemented set binary ops. | John R. Lenton | 2014-01-12 |
| | | |||
| * | Implemented set.update | John R. Lenton | 2014-01-12 |
| | | |||
| * | Implemented set.remove | John R. Lenton | 2014-01-12 |
| | | |||
| * | Implemented set.isdisjoint | John R. Lenton | 2014-01-12 |
| | | |||
| * | Implemented set.intersection and set.intersection_update | John R. Lenton | 2014-01-12 |
| | | |||
| * | Implemented set.difference and set.difference_update | John R. Lenton | 2014-01-12 |
| | | |||
| * | Implemented set.discard | John R. Lenton | 2014-01-12 |
| | | |||
| * | Implemented set.copy | John R. Lenton | 2014-01-12 |
| | | |||
| * | Implemented set.clear | John R. Lenton | 2014-01-12 |
| | | |||
| * | Implemented set.add | John R. Lenton | 2014-01-12 |
| | | |||
| * | make sets iterable | John R. Lenton | 2014-01-12 |
| | | |||
* | | Implemented support for `in` and `not in` operators. | John R. Lenton | 2014-01-11 |
|/ | |||
* | Merge branch 'cplusplus' of https://github.com/ian-v/micropython into ↵ | Damien George | 2014-01-07 |
|\ | | | | | | | | | | | | | ian-v-cplusplus Conflicts: py/objcomplex.c | ||
| * | Revert MP_BOOL, etc. and use <stdbool.h> instead | ian-v | 2014-01-06 |
| | | |||
| * | Co-exist with C++ (issue #85) | ian-v | 2014-01-06 |
|/ | |||
* | Convert many object types structs to use C99 tagged initializer syntax. | Paul Sokolovsky | 2014-01-05 |
| | |||
* | Convert Python types to proper Python type hierarchy. | Damien George | 2014-01-04 |
| | | | | Now much more inline with how CPython does types. | ||
* | Change object representation from 1 big union to individual structs. | Damien | 2013-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). |