Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Merge branch 'master' of github.com:dpgeorge/micropython | Damien George | 2014-01-18 |
|\ | |||
| * | int: Add value accessors: mp_obj_int_get() & mp_obj_int_get_checked(). | Paul Sokolovsky | 2014-01-18 |
| | | | | | | | | | | | | mp_obj_int_get() can be used when just full resolution of C machine_int_t is required (returns truncated value of long int). mp_obj_int_get_checked() will throw exception if Python int value not representable in machine_int_t. | ||
| * | Add OverflowError and use it for small int overflow instead of assert. | Paul Sokolovsky | 2014-01-18 |
| | | |||
* | | 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. | ||
* | Merge branch 'str2int' of github.com:xyb/micropython into xyb-str2int | Damien George | 2014-01-15 |
|\ | | | | | | | | | | | | | Conflicts: py/objint.c unix-cpy/Makefile unix/Makefile | ||
| * | add more tests and remove debug code | xyb | 2014-01-15 |
| | | |||
| * | support int(str, basbase) | xyb | 2014-01-14 |
| | | |||
| * | Implemented int(str) in UNIX | xyb | 2014-01-14 |
| | | |||
* | | type->print(): Distinguish str() and repr() variety by passing extra param. | Paul Sokolovsky | 2014-01-15 |
| | | |||
* | | Move mp_obj_int_t definition to objint.h, to reuse in long int impls. | Paul Sokolovsky | 2014-01-13 |
| | | |||
* | | Cleanup built-ins, and fix some compiler warnings/errors. | Damien George | 2014-01-13 |
| | | |||
* | | Add framework to support alternative implementations of long int Python type. | Paul Sokolovsky | 2014-01-12 |
|/ | |||
* | Merge branch 'cplusplus' of https://github.com/ian-v/micropython into ↵ | Damien George | 2014-01-07 |
|\ | | | | | | | | | | | | | ian-v-cplusplus Conflicts: py/objcomplex.c | ||
| * | 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 |
| | |||
* | Oops: add objint.c | Damien George | 2014-01-05 |