- 08 Feb, 2014 5 commits
-
-
Damien George authored
-
Damien George authored
Passing keyword arguments to a native function now no longer requires heap memory. The kw_args map is created on the stack using the args array as the table.
-
Damien George authored
This allows keyword maps to be created directly from stack data.
-
Damien George authored
Can't decide which is better for string type, char or byte pointer. Changing to char removes a few casts. Really need to do proper unicode.
-
Damien George authored
If SD card is present on (soft) reset then it's mounted on 1:/ and files can be openned using, eg, open('1:/test.txt', 'r'), or 'w' for writing.
-
- 06 Feb, 2014 8 commits
-
-
Damien George authored
Linear table at the moment, to eventually be replaced with a hash table generated by a preprocessor. Dynamic table is retained so that builtins can be overridden.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 05 Feb, 2014 5 commits
-
-
Damien George authored
-
Damien George authored
Implement sys.path support
-
Damien George authored
Fixes Issue #261.
-
Damien George authored
-
Paul Sokolovsky authored
-
- 04 Feb, 2014 9 commits
-
-
Paul Sokolovsky authored
This mirrors CPython behavior and makes possible to run scripts which import other modules not from script's directory.
-
Paul Sokolovsky authored
If it's not available, "~/.micropython/lib:/usr/lib/micropython" is used as a fallback.
-
Paul Sokolovsky authored
sys.path is not initialized by rt_init(), that's left for platform-specific startup code. (For example, bare metal port may have some hardcoded defaults, and let user change sys.path directly; while port for OS with environment feature can take path from environment). If it's not explicitly initialized, modules will be imported only from a current directory.
-
Paul Sokolovsky authored
-
Damien George authored
Initial support for Netduino
-
Paul Sokolovsky authored
Similar to mp_obj_new_tuple().
-
Paul Sokolovsky authored
-
Dave Hylands authored
This also fixes up the IRQ for the PYBOARD4 USERSW although I was unable to test that functionality.
-
Paul Sokolovsky authored
-
- 03 Feb, 2014 3 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
-
- 02 Feb, 2014 10 commits
-
-
Damien George authored
Only works on modules and class instances.
-
Paul Sokolovsky authored
Structure is back to expected 16 bytes.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Native emitter has been broken since stack order has changed from reverse to standard. This fix gets it partially working.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
xbe authored
-