39 Commits (3fd2d7fad2022e3f26304fbc6ad74e6d8dd66e5f)

Author SHA1 Message Date
Damien George 71d3112f7e py: Make built-in 'range' a class. 11 years ago
Damien George dbdfee15a1 py: Add cmath module, for complex math. Disabled by default. 11 years ago
Damien George 897fe0c0d0 py: Add builtin functions bin and oct, and some tests for them. 11 years ago
Damien George 5805111732 py: Add hex builtin function. 11 years ago
Paul Sokolovsky 14de114ba8 objdict: Add __delitem__. 11 years ago
Paul Sokolovsky cd94b384a3 objdict: Add __setitem__. 11 years ago
Paul Sokolovsky 68e7c5146c py: Factor out impl of special methods for builtin types into opmethods.c 11 years ago
Paul Sokolovsky 5500cdeec7 py, unix: Convert sys module to static representation. 11 years ago
Paul Sokolovsky e9db840480 py: Start implementing "struct" module. 11 years ago
Paul Sokolovsky cc0af3d727 py: Implement globals() and locals() builtins. 11 years ago
Paul Sokolovsky c6813d92db py: Put default namespace into module __main__. 11 years ago
Paul Sokolovsky 98a627dc03 py: Add "io" module. 11 years ago
Paul Sokolovsky e9137b94f2 py: Implement getattr() builtin. 11 years ago
Damien George caac542b23 Proper support for registering builtin modules in ROM. 11 years ago
Damien George 24ff063e80 py: Remove obsolete declarations; make mp_obj_get_array consistent. 11 years ago
Damien George 0c36da0b59 Implement ROMable modules. Add math module. 11 years ago
Paul Sokolovsky d08fd68664 Add basic collections.namedtuple implementation. 11 years ago
Paul Sokolovsky 1d938c9503 Expose __import__() function. 11 years ago
Damien George ca4767984b py: Implement builtin exec. 11 years ago
Damien George 4acb2452b3 py: Add very basic implementation of dir() builtin. 11 years ago
xbe 0ebf8534ab Implement and add tests for the id() builtin function. 11 years ago
Paul Sokolovsky a80ff04fe7 Add dummy bytes() constructor. 11 years ago
Damien George 91d457a277 py: Put micropython module init code in builtinmp.c. 11 years ago
Paul Sokolovsky 440cc3f028 Expose memory stats functions via "micropython" module. 11 years ago
Damien George d02c6d8962 Implement eval. 11 years ago
Damien George e2fb2baaa4 Implement repr. 11 years ago
Paul Sokolovsky 36c4499d36 Implement str() and repr() builtin functions. 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
Damien George 004cdcebfe py: Implement base class lookup, issubclass, isinstance. 11 years ago
Damien George b97669ab94 py: Improve __build_class__. 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 d99b05282d Change object representation from 1 big union to individual structs. 11 years ago
Damien a3dcd9e80c py: add more Python built-in functions. 11 years ago
Damien 660365e14c py: split runtime into map, obj, builtin. 11 years ago