91 Commits (e233a55a296a981bce5fe3a7c20049bea46e3a16)

Author SHA1 Message Date
Damien George b4b10fd350 py: Put all global state together in state structures. 10 years ago
Paul Sokolovsky 8a8c1fc82f py: Add basic framework for issuing compile/runtime warnings. 10 years ago
Damien George 7f23384d49 py: Make terse_arg_mismatch a global function and use it elsewhere. 10 years ago
Damien George 9ddbe291c4 py: Add include guards to mpconfig,misc,qstr,obj,runtime,parsehelper. 10 years ago
Damien George b6b34cd3f6 py: Remove obsolute function declaration. 10 years ago
Damien George 124df6f8d0 py: Add mp_pending_exception global variable, for VM soft interrupt. 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 3c658a4e75 py: Fix bug where GC collected native/viper/asm function data. 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 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky 7e4a2b0edc py: Add generic mp_not_implemented() func to use instead of assert(). 11 years ago
Paul Sokolovsky d3439d0c60 py: Instead of having "debug on" var, have "optimization level" var. 11 years ago
Damien George 503d611033 py: Implement long int parsing in int(...). 11 years ago
Damien George 97f9a2813e py: Add support for __debug__ constant. 11 years ago
Damien George 491cbd6a7c py: Add keyword arg support to enumerate constructor. 11 years ago
Paul Sokolovsky 47d3bd3b31 py: enumerate(): Add NotImplementedError for kwargs. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George dbc81df5d4 Simplify names for argcheck.c / arg parsing. 11 years ago
Damien George a3f94e0030 py: Add arg checking helper functions. 11 years ago
Damien George ea8d06c39d py: Add MP_OBJ_STOP_ITERATION and make good use of it. 11 years ago
Damien George 729f7b42d6 py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr. 11 years ago
Damien George df8127a17e py: Remove unique_codes from emitglue.c. Replace with pointers. 11 years ago
Paul Sokolovsky 5500cdeec7 py, unix: Convert sys module to static representation. 11 years ago
Damien George a9837bbf8b py: Remove obsolete mp_delete_subscr declaration. 11 years ago
Damien George 1d24ea5207 py: Finish implementation of all del opcodes. 11 years ago
Damien George 495d781a36 py: implement UNPACK_EX byte code (for: a, *b, c = d) 11 years ago
Damien George cdd96dff2c py: Implement more features in native emitter. 11 years ago
Paul Sokolovsky 36dd19ae27 py: Revert mp_load_attr() to its previous state (not supporting default val). 11 years ago
Damien George 7efc5b3f34 py: Make globals and locals proper dictionary objects. 11 years ago
Damien George 66edc5d899 py: Implement DELETE_SUBSCR bytecode; implement mp_obj_dict_delete. 11 years ago
Paul Sokolovsky bfb7d6a26d py: Support 3-arg getattr() builtin (with default value). 11 years ago
Damien George e44d26ae0c py: Implement __getattr__. 11 years ago
Damien George 15d18069c5 py: Remove old "run time" functions that were 1 liners. 11 years ago
Damien George e337f1ef5e py: Towards default keyword arguments. 11 years ago
Damien George 523b575039 py: Add LOAD_NULL bytecode and use it to simplify function calls. 11 years ago
Paul Sokolovsky f39d3b93da py: Implement support for generalized generator protocol. 11 years ago
Damien George 230fec77d7 py: Implement positional and keyword args via * and **. 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 d1e443d0bc py: Free unique_code slot for outer module. 11 years ago
Damien George 2326d52d20 py: Factor out code from runtime.c to emitglue.c. 11 years ago
Paul Sokolovsky 2447a5b582 py: Support closures with default args. 11 years ago
Damien George 66eaf84b8c py: Replace mp_const_stop_iteration object with MP_OBJ_NULL. 11 years ago
Paul Sokolovsky f909034400 py: Implement support for "except Exception as var" clause. 11 years ago
Dave Hylands 51dabac096 Add pin mapping code. 11 years ago
Damien George c5966128c7 Implement proper exception type hierarchy. 11 years ago
Paul Sokolovsky da1ce93da8 Implement "from module import *" construct. 11 years ago
Paul Sokolovsky e11b17c25f Implement support for sys.path when loading modules. 11 years ago
Damien George cd82e02e84 py: Partially fix native emitter to work with latest runtime. 11 years ago