207 Commits (48bdb21332079307be080cc620a1084c778d083b)

Author SHA1 Message Date
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Damien George 3e1a5c10c5 py: Rename old const type objects to mp_type_* for consistency. 11 years ago
Damien George 07ddab529c py: Change mp_const_* objects to macros. 11 years ago
Damien George 440f041525 py: Fix bugs with debugging output. 11 years ago
Damien George 2326d52d20 py: Factor out code from runtime.c to emitglue.c. 11 years ago
Damien George bee17b00e3 py: Put n_state for bytecode in the bytecode prelude. 11 years ago
Damien George c3f1126ee8 py: Fix logic bugs in object attribute/method extraction. 11 years ago
Damien George 9b196cddab Remove mp_obj_type_t.methods entry and use .locals_dict instead. 11 years ago
Paul Sokolovsky 2447a5b582 py: Support closures with default args. 11 years ago
Damien George c12b2213c1 Change mp_method_t.name from const char * to qstr. 11 years ago
Damien George 66eaf84b8c py: Replace mp_const_stop_iteration object with MP_OBJ_NULL. 11 years ago
Damien George 9e6e935df0 py: Add support for user-defined iterators via __iter__, __next__. 11 years ago
Damien George caac542b23 Proper support for registering builtin modules in ROM. 11 years ago
Paul Sokolovsky 7f8b31345b rt_load_method(): Add missing qstr_str() when getting type name. 11 years ago
Paul Sokolovsky f909034400 py: Implement support for "except Exception as var" clause. 11 years ago
Paul Sokolovsky 4b2b7ceca7 runtime: RT_BINARY_OP_EXCEPTION_MATCH: don't fall thru in case of wrong types. 11 years ago
Damien George c91097223d py: Remove some unnecessary exception objects. 11 years ago
Damien George 3ec0a1a32d py: Add 'object' object. 11 years ago
Rachel Dowdall 2d15deebdc Fixed floor division on mp ints and small ints. Added a floordivide test case. 11 years ago
Rachel Dowdall 56402796d8 Fixed floor division on mp ints and small ints. Added a floordivide test case. 11 years ago
Rachel Dowdall cde8631f15 Fixed modulo operator on ints and mp ints to agree with python. Added intdivmod.c and tests/basics/modulo.py. 11 years ago
Rachel Dowdall 721c55dced Added exception hierarchy except for OSError and UnicodeError (requires arguments). Comment out the errors that aren't needed if memory becomes an issue. 11 years ago
Paul Sokolovsky 1ecea7c753 py: Make 'bytes' be a proper type, support standard constructor args. 11 years ago
Paul Sokolovsky be020c27a8 py: Make 'str' be a proper type, support standard constructor args. 11 years ago
Damien George 6e48f7fa85 py: Allow 'complex()' to take a string as first argument. 11 years ago
Damien George c06ea7abf2 py: Implement parsing of infinity and nan for floats. 11 years ago
Rachel Dowdall 300c8bd4c2 Added ZeroDivisionError to float division. 11 years ago
xbe efe3422394 py: Clean up includes. 11 years ago
Damien George 9d68e9ccdd py: Implement integer overflow checking for * and << ops. 11 years ago
Damien George 0ec6bd47cb py: Fix printing of type name. 11 years ago
Damien George 0c36da0b59 Implement ROMable modules. Add math module. 11 years ago
Damien George 715101580b py: Factor and improve issubclass. 11 years ago
Paul Sokolovsky d08fd68664 Add basic collections.namedtuple implementation. 11 years ago
Damien George 41eb6086b7 py: Remove more var arg names fro macros with var args. 11 years ago
Damien George 510477557d py: Take out bitfield entries from their own structure. 11 years ago
Damien George 2077397118 py: Put number parsing code together in parsenum.c. 11 years ago
Paul Sokolovsky ac2e28c654 Support passing positional args as keywords to bytecode functions. 11 years ago
Paul Sokolovsky 44739e280e Make DEBUG_printf() a proper function, implementation is port-dependent. 11 years ago
Damien George 2e482cdb7b py: Implement *vargs support. 11 years ago
Damien George 22a0865d54 py: Improve exception bases, reduces ROM usage. 11 years ago
Damien George 8725f8f7de py: Pass all scope flags through to runtime. 11 years ago
Damien George c5966128c7 Implement proper exception type hierarchy. 11 years ago
Paul Sokolovsky 910843e86d Allow ports to define statically builtin functions. 11 years ago
Paul Sokolovsky da1ce93da8 Implement "from module import *" construct. 11 years ago
Paul Sokolovsky 520e2f58a5 Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. 11 years ago
Paul Sokolovsky 76f06de96d Add NotImplementedError. 11 years ago
Damien George 7d0bfbedd2 py: Add some qstrs to the global table. 11 years ago
Damien George aea532ece1 py: Put builtins into ROM table. 11 years ago
Damien George 64131f3215 Add staticmethod and classmethod to builtin namespace. 11 years ago