70 Commits (b6b34cd3f6585eed455473bc149e9db758a45d9c)

Author SHA1 Message Date
Sven Wegener 238ab5013b py: Deactivate more code without MICROPY_PY_SYS 10 years ago
Damien George 7860c2a68a py: Fix some macros defines; cleanup some includes. 10 years ago
Paul Sokolovsky e503512f83 unix: Implement -m option (execute module from stdlib). 10 years ago
Paul Sokolovsky e5a3759ff5 py: Factor out mp_obj_is_package() function. 10 years ago
Paul Sokolovsky 8becca7c82 py: mp_builtin___import__(): Add const to arg type. 10 years ago
Damien George c14a81662c py: Add module weak link support. 10 years ago
Damien George c4d0868df1 py: Implement proper context save/restore for eval/exec; factor code. 10 years ago
Damien George a91ac2011f py: Make compiler return a proper exception on SyntaxError. 10 years ago
Damien George 42f3de924b py: Convert [u]int to mp_[u]int_t where appropriate. 10 years ago
Damien George 52b5d76a6b py: Free non-interned strings in the parser when not needed. 10 years ago
Damien George eaaebf3291 stmhal: Initialise stack pointer correctly. 10 years ago
Damien George 4abff7500f py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h. 10 years ago
Damien George d182b98a37 py: Change all uint to mp_uint_t in obj.h. 10 years ago
Damien George 9c4cbe2ac0 py: Make tuple and list use mp_int_t/mp_uint_t. 10 years ago
Paul Sokolovsky d0f5e61ab5 py: Implement __file__ attribute for modules. 10 years ago
Damien George 8a0801ad24 py: Make 3 functions static. 11 years ago
Marcus von Appen 0c90eb1658 - FreeBSD provides alloca() via stdlib.h, in contrast to Linux and Windows 11 years ago
Chris Angelico daf973ae00 Change comments (mainly URLs) to no longer specifically say Python 3.3 11 years ago
Paul Sokolovsky 75ce9256b2 objstr: Implement "%(key)s" % {} formatting for strings and dicts. 11 years ago
Damien George 2617eebf2f Change const byte* to const char* where sensible. 11 years ago
Damien George ee3fd46f13 Rename configuration variables controling Python features. 11 years ago
Damien George 58ebde4664 Tidy up some configuration options. 11 years ago
Paul Sokolovsky da9f0924ef py, unix: Add copyright for modules I worked closely on. 11 years ago
Paul Sokolovsky ad6178bb08 builtinimport: Fix broken namespace imports due to dup vstr_cut_tail_bytes(). 11 years ago
Paul Sokolovsky f9589d2f23 builtinimport: Fix comment orphaned by one of previous commits. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
stijn 98e2ee0ec1 py: Use <alloca.h> for alloca() 11 years ago
Paul Sokolovsky f54bcbf099 py, unix: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Paul Sokolovsky 20e9ed3916 builtinimport: If there was error compiling imported module, raise exception. 11 years ago
Paul Sokolovsky 353b0289f3 py: Add win32-specific header for alloca(). 11 years ago
Paul Sokolovsky a5854d2bc5 builtinimport: Add basic support for namespace packages. 11 years ago
Damien George 49f20b841d py: Add more #if's for configurable MOD_SYS. 11 years ago
Damien George 4b01de44ba py: Add traceback info to syntax errors. 11 years ago
Paul Sokolovsky 5500cdeec7 py, unix: Convert sys module to static representation. 11 years ago
Paul Sokolovsky a5afc9009f builtinimport: Implement relative imports. 11 years ago
Paul Sokolovsky 2ff3d9d0b2 builtinimport: Set __path__ attribute ASAP as it's clear we have a package. 11 years ago
Paul Sokolovsky 13d52df4c5 builtinimport: Set __path__ attribute on packages. 11 years ago
Paul Sokolovsky e081329098 builtinimport: Elaborate debug output support. 11 years ago
Andrew Scheller f78cfaf8b5 Remove exception name from inside the exception message 11 years ago
Damien George 65cad12d38 py: Add option to compiler to specify default code emitter. 11 years ago
Damien George 7efc5b3f34 py: Make globals and locals proper dictionary objects. 11 years ago
Damien George 8b0535e23f py: Change module globals from mp_map_t* to mp_obj_dict_t*. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 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
xbe efe3422394 py: Clean up includes. 11 years ago
Damien George 280e7208d8 Add vstr_ins and vstr_cut_out; improve stmhal readline. 11 years ago
Paul Sokolovsky feacaa12ac __import__: Catch relative import attempts and throw NotImplementedError. 11 years ago