19 Commits (a8d31b28bcf640579c013eeeb2e814c317e59111)

Author SHA1 Message Date
Paul Sokolovsky fb7f94392d import: Implement "from pkg.mod import sym" syntax properly. 11 years ago
Paul Sokolovsky 91ba7a54c5 builtinimport: Get the basic (and only basic) package imports work. 11 years ago
Paul Sokolovsky d3783570a4 builtinimport.c: Recognize "namespace package" and error out as unsupported. 11 years ago
Damien George c5966128c7 Implement proper exception type hierarchy. 11 years ago
Damien George 698ec21e46 Make mp_obj_str_get_data return char* instead of byte*. 11 years ago
Damien George 354d15a964 Implement fixed buffer vstrs; use them for import path. 11 years ago
Damien George e09ffa1400 Search paths properly on import and execute __init__.py if it exists. 11 years ago
Paul Sokolovsky e11b17c25f Implement support for sys.path when loading modules. 11 years ago
Paul Sokolovsky 1d938c9503 Expose __import__() function. 11 years ago
Damien George b829b5caec Implement mp_parse_node_free; print properly repr(string). 11 years ago
Damien George 5fa93b6755 Second stage of qstr revamp: uPy str object can be qstr or not. 11 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash. 11 years ago
Paul Sokolovsky d720ab5236 Implement modules as singletons Python semantics. 11 years ago
Damien George 08335004cf Add source file name and line number to error messages. 11 years ago
Damien George 9528cd66d7 Convert parse errors to exceptions. 11 years ago
Damien George 2300537c79 Cleanup built-ins, and fix some compiler warnings/errors. 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 eb7bfcb286 Split qstr into pools, and put initial pool in ROM. 11 years ago
Damien George 1fb031744f Change mp_compile so that it returns a function object for the module. 11 years ago
Damien George 66028ab6dc Basic implementation of import. 11 years ago