Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Add dummy bytes() constructor. | Paul Sokolovsky | 2014-01-20 |
| | | | | | | Currently, MicroPython strings are mix between CPython byte and unicode strings. So, conversion is null so far. This dummy implementation is intended for compatibility with CPython (so, same code can run on both). | ||
* | py: Put micropython module init code in builtinmp.c. | Damien George | 2014-01-20 |
| | |||
* | Expose memory stats functions via "micropython" module. | Paul Sokolovsky | 2014-01-20 |
| | | | | | | | These are micropython.mem_total(), .mem_current(), .mem_peak(). These are 3 individual functions with simple scalar return value to make sure that calls to these functions themselves have minimal (hopefully zero) impact on memory allocation. | ||
* | Merge branch 'str-repr' of github.com:pfalcon/micropython into pfalcon-str-repr | Damien George | 2014-01-15 |
|\ | | | | | | | | | Conflicts: tests/basics/tests/exception1.py | ||
| * | Implement str() and repr() builtin functions. | Paul Sokolovsky | 2014-01-15 |
| | | |||
* | | Implement eval. | Damien George | 2014-01-15 |
| | | |||
* | | Implement repr. | Damien George | 2014-01-15 |
|/ | |||
* | Merge remote-tracking branch 'upstream/master' into builtins | John R. Lenton | 2014-01-13 |
|\ | | | | | | | | | | | | | Conflicts: py/builtin.c py/builtin.h py/runtime.c | ||
| * | Cleanup built-ins, and fix some compiler warnings/errors. | Damien George | 2014-01-13 |
| | | |||
* | | sorted | John R. Lenton | 2014-01-13 |
|/ | |||
* | py: Implement base class lookup, issubclass, isinstance. | Damien George | 2014-01-09 |
| | |||
* | py: Improve __build_class__. | Damien George | 2014-01-08 |
| | |||
* | py: Add framework for built-in "type()" function. | Damien George | 2014-01-02 |
| | |||
* | py: add int() and float() built-ins, partially implemented. | Damien George | 2014-01-01 |
| | |||
* | 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). | ||
* | py: add more Python built-in functions. | Damien | 2013-12-17 |
| | |||
* | py: split runtime into map, obj, builtin. | Damien | 2013-12-17 |