297 Commits (b6b34cd3f6585eed455473bc149e9db758a45d9c)

Author SHA1 Message Date
Paul Sokolovsky 039887a0ac py: Fix bug with right-shifting small ints by large amounts. 10 years ago
Damien George 124df6f8d0 py: Add mp_pending_exception global variable, for VM soft interrupt. 10 years ago
Damien George c9fc620723 py: Implement compile builtin, enabled only on unix port. 10 years ago
Paul Sokolovsky e5a3759ff5 py: Factor out mp_obj_is_package() function. 10 years ago
Damien George 3aa09f5784 py: Use MP_OBJ_NULL instead of NULL in a few places. 10 years ago
Damien George 4091445612 py: Add #if guard around gc-specific code. 10 years ago
Dave Hylands 3556e45711 Allow real memory errors (from locked gc) to be reported with traceback. 10 years ago
Damien George c4d0868df1 py: Implement proper context save/restore for eval/exec; factor code. 10 years ago
Damien George 39dc145478 py: Change [u]int to mp_[u]int_t in qstr.[ch], and some other places. 10 years ago
Damien George 4bcd04bcad py: Tidy up exception matching; allow matching of tuple of exceptions. 10 years ago
Damien George b0261341d3 py: For malloc and vstr functions, use size_t exclusively for int type. 10 years ago
Damien George eaaebf3291 stmhal: Initialise stack pointer correctly. 10 years ago
Damien George ca6d75f16d py: Small simplifications in tuple and list accessors. 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
Damien George 110ba35980 py: Move native glue code from runtime.c to new file nativeglue.c. 10 years ago
Damien George 7fe2191c9b py: Code clean-up in native emitter; improve thumb native calls. 10 years ago
Damien George 86de21b810 py: Viper can call functions with native types, and raise exceptions. 10 years ago
Damien George e6c0dff967 py: Viper can now store to global. 10 years ago
Damien George 8dbbbbc793 Put call to qstr_init and mp_init_emergency_exc_buf in mp_init. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 10 years ago
Paul Sokolovsky caa7334141 stackctrl: Add "mp_" prefix. 11 years ago
Paul Sokolovsky 8a96ebea75 py: Move stack_ctrl_init() to mp_init(). 11 years ago
Paul Sokolovsky 3b6f7b95eb py: Separate MICROPY_PY_BUILTINS_COMPLEX from MICROPY_PY_BUILTINS_FLOAT. 11 years ago
Paul Sokolovsky 7e4a2b0edc py: Add generic mp_not_implemented() func to use instead of assert(). 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
Damien George 3f52262465 py: Allow tail call optimisation in mp_call_function_n_kw. 11 years ago
Paul Sokolovsky d3439d0c60 py: Instead of having "debug on" var, have "optimization level" var. 11 years ago
Damien George c49ddb9315 py: Fix configurability of builtin slice. 11 years ago
Damien George 3ebd4d0cae py: Add option to disable set() object (enabled by default). 11 years ago
Damien George fb510b3bf9 Rename bultins config variables to MICROPY_PY_BUILTINS_*. 11 years ago
Damien George d1e355ea8e py: Fix check of small-int overflow when parsing ints. 11 years ago
Damien George 503d611033 py: Implement long int parsing in int(...). 11 years ago
Damien George 6ac5dced24 py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 11 years ago
Damien George 915197a8f9 py: Remove emit_glue init and deinit. Needed only for debugging. 11 years ago
Damien George 97f9a2813e py: Add support for __debug__ constant. 11 years ago
Paul Sokolovsky c48d6f7add py: Don't expect that type->getiter() always returns iterator, check for NULL. 11 years ago
Paul Sokolovsky 9511f60f01 py: Don't try to "bind" types store as attributes of objects. 11 years ago
Paul Sokolovsky d915a52eb6 py: Fix prefix on few sequence helpers, was incorrectly "mp_". 11 years ago
stijn 5ed284a15e windows: Add modtime implementation 11 years ago
stijn 01d6be4d51 Windows MSVC port 11 years ago
Damien George a32c1e41cc py: Improve native emitter; now supports more opcodes. 11 years ago
Damien George 36db6bcf54 py, compiler: Improve passes; add an extra pass for native emitter. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
stijn 72521a1c17 mingw: Fix number of exponent digits in floating point formatting 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 755565d2cb py: Support instance __call__ method. 11 years ago
Paul Sokolovsky 599bbc111c py: from import * should not import symbols starting with underscore. 11 years ago