325 Commits (c0c07fb1b6422bd4c365342acaf65bd4887bcef7)

Author SHA1 Message Date
Damien George f49ba1bd9c Improve method lookup in mp_obj_class_lookup. 11 years ago
Paul Sokolovsky 427905cedd Add skeleton implementation of array.array and bytearray. 11 years ago
Damien George 20006dbba9 Make VM stack grow upwards, and so no reversed args arrays. 11 years ago
Paul Sokolovsky 6d8edf6acf Add store_item() virtual method to type to implement container[index] = val. 11 years ago
Paul Sokolovsky 166bb40fb2 Add OverflowError and use it for small int overflow instead of assert. 11 years ago
Paul Sokolovsky 10744dd816 Add empty (false) value testing for strings, tuples, lists, dicts. 11 years ago
Paul Sokolovsky dcac88095b Add empty "micropython" module to allow more seamless CPython portability. 11 years ago
Damien George d02c6d8962 Implement eval. 11 years ago
Damien George e2fb2baaa4 Implement repr. 11 years ago
John R. Lenton fca456bc3c added filter() 11 years ago
John R. Lenton 39b174e00a Added map 11 years ago
Paul Sokolovsky 36c4499d36 Implement str() and repr() builtin functions. 11 years ago
John R. Lenton 9daa78943e added enumerate() 11 years ago
Paul Sokolovsky 8bc96471f0 Implement "is" and "is not" operators. 11 years ago
Damien George f62d33aa1d Consolidate rt_make_function_[0123] to rt_make_function_n. 11 years ago
Damien George 2300537c79 Cleanup built-ins, and fix some compiler warnings/errors. 11 years ago
John R. Lenton 5c76839559 sorted 11 years ago
John R. Lenton 07205ec323 added zip() 11 years ago
Paul Sokolovsky 757ac81a69 Add proper checks for fits-in-small-int. Make it reusable. 11 years ago
Paul Sokolovsky 729e9cce7b rt_binary_op(): Don't fall thru in case small_int op result doesn't fit back. 11 years ago
Paul Sokolovsky b81e1fdef7 Add AssertionError. 11 years ago
Damien George eae16445d5 py: Implement staticmethod and classmethod (internally). 11 years ago
John R. Lenton c1bef21920 Implemented support for `in` and `not in` operators. 11 years ago
Damien George bcbeea0a47 py: Fix bug where == and != not handled for small_ints. 11 years ago
John R. Lenton b8698fca75 unified the bops 11 years ago
Paul Sokolovsky bab5cfb34f Unsupported operand types for binary operator: dump both args' types. 11 years ago
Damien George 004cdcebfe py: Implement base class lookup, issubclass, isinstance. 11 years ago
Damien George 062478e66d Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr. 11 years ago
Damien George 93a9b5b64d py: Proper framework for built-in 'type'. 11 years ago
Damien George 6c73ca1e75 py: add variable argument exception constructor function. 11 years ago
Damien George 38a2da68c2 py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t. 11 years ago
Damien George b97669ab94 py: Improve __build_class__. 11 years ago
John R. Lenton 9c83ec0eda Merge remote-tracking branch 'upstream/master' into dict_feats 11 years ago
John R. Lenton 88f3043e0a added a first pass of dict.update 11 years ago
Damien George 1a9951d5aa py: Fix up number operations and coercion. 11 years ago
Paul Sokolovsky 1e40840b3b Add OSError, Python 3.3 generic I/O exception. 11 years ago
John R. Lenton c06763a020 This implements a better (more python-conformant) list.sort. 11 years ago
Damien George 7b21c2d8f0 py: Fix allocation of unique code blocks. 11 years ago
Damien George e2e3d11e87 py: Fix up number operations and coercion. 11 years ago
ian-v 5fd8fd2c16 Revert MP_BOOL, etc. and use <stdbool.h> instead 11 years ago
ian-v 7a16fadbf8 Co-exist with C++ (issue #85) 11 years ago
Damien George 71c5181a8d Convert Python types to proper Python type hierarchy. 11 years ago
Damien George e9906ac3d7 Add ellipsis object. 11 years ago
Damien George eb7bfcb286 Split qstr into pools, and put initial pool in ROM. 11 years ago
Damien George 14f945c2ca Add note about implementing inplace operators. 11 years ago
Damien George 66028ab6dc Basic implementation of import. 11 years ago
Damien George 2870862601 Add module object, to be used eventually for import. 11 years ago
Damien George 40563d56bd py: Add framework for built-in "type()" function. 11 years ago
Damien George 209d1b1835 py: add int() and float() built-ins, partially implemented. 11 years ago
Damien George 6baf76e28b py: make closures work. 11 years ago