summaryrefslogtreecommitdiff
path: root/py/lexerunix.c
AgeCommit message (Collapse)Author
2014-02-05Remove older import helpers, no longer used.Paul Sokolovsky
2014-02-05Implement support for sys.path when loading modules.Paul Sokolovsky
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.
2014-01-25Implement mp_parse_node_free; print properly repr(string).Damien George
2014-01-21Revamp qstrs: they now include length and hash.Damien George
Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h
2014-01-08Move lexerstr to main py directory (everyone uses it).Damien George
2014-01-07Factor and simplify Makefile's and mpconfig, part 2.Damien George
2014-01-03Basic implementation of import.Damien George
import works for simple cases. Still work to do on finding the right script, and setting globals/locals correctly when running an imported function.
2013-12-29Change memory allocation API to require size for free and realloc.Damien
2013-12-29Handle return value of read() call.Paul Sokolovsky
2013-12-29Add unix-cpy, used to test Micro Python byte code against CPython.Damien