56 Commits (fb06bfc11ccc2506d27e3f53750771d5c737df2e)

Author SHA1 Message Date
Damien George 8a1cab952f py: Fix mp_get_buffer, and use it in more places. 11 years ago
Paul Sokolovsky 1a37588e35 py: Provide more details for too few and too much args for Python fun calls. 11 years ago
Damien George 8721087661 py: Big improvements to inline assembler. 11 years ago
Damien George 69b89d21b2 py: Change compile order for default positional and keyword args. 11 years ago
Paul Sokolovsky 978607aeff objfun: Fix default arguments filling loop, was broken in presense of kwargs. 11 years ago
Paul Sokolovsky 41e2dea4ca objfun: More debug logging when calling a bytecode function. 11 years ago
Damien George 7efc5b3f34 py: Make globals and locals proper dictionary objects. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Paul Sokolovsky 586bfce10d objfun: Add equality support. 11 years ago
Damien George f78b6df192 py: Disable dump_args function call entirely when not debugging. 11 years ago
Paul Sokolovsky 7fafb28f6d objgenerator: Handle default args to generator functions. 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 3e1a5c10c5 py: Rename old const type objects to mp_type_* for consistency. 11 years ago
Damien George 07ddab529c py: Change mp_const_* objects to macros. 11 years ago
Damien George bee17b00e3 py: Put n_state for bytecode in the bytecode prelude. 11 years ago
xbe efe3422394 py: Clean up includes. 11 years ago
Damien George 0c36da0b59 Implement ROMable modules. Add math module. 11 years ago
Damien George 25f5a30e73 py: Fix overriding of default arguments. 11 years ago
Damien George 41eb6086b7 py: Remove more var arg names fro macros with var args. 11 years ago
Damien George d5e81826ec py: Reduce size of mp_obj_fun_native_t struct by packing ints. 11 years ago
Damien George 510477557d py: Take out bitfield entries from their own structure. 11 years ago
Dave Hylands 51dabac096 Add pin mapping code. 11 years ago
Paul Sokolovsky ac2e28c654 Support passing positional args as keywords to bytecode functions. 11 years ago
Damien George e5d371b545 py: Pass keyword arguments to byte code. 11 years ago
Damien George 2e482cdb7b py: Implement *vargs support. 11 years ago
Damien George c8f78bc280 py: VM never throws an exception, instead returns a status and value. 11 years ago
Damien George c5966128c7 Implement proper exception type hierarchy. 11 years ago
Damien George a71c83a1d1 Change mp_obj_type_t.name from const char * to qstr. 11 years ago
Damien George 099a9cb575 Remove mp_obj_new_exception_msg_1_arg and _2_arg. 11 years ago
Paul Sokolovsky d5df6cd44a Replace global "static" -> "STATIC", to allow "analysis builds". Part 1. 11 years ago
Damien George 0a587b85fb py: Pass keyword args to native functions by using the stack. 11 years ago
Damien George fb083ea986 py: mp_execute_byte_code has 2 arg arrays, for more efficient default params. 11 years ago
Paul Sokolovsky 90750029df Implement default function arguments (for Python functions). 11 years ago
Paul Sokolovsky 9d95a2b21d Functions of fixed number of args are special-cased only for 3 or less args. 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
Damien George 20006dbba9 Make VM stack grow upwards, and so no reversed args arrays. 11 years ago
John R. Lenton 88cb1e60e0 Made sorted() raise an exception instead of aborting when given no arguments; moved around some things in objfun.c as a consequence 11 years ago
Damien George f62d33aa1d Consolidate rt_make_function_[0123] to rt_make_function_n. 11 years ago
Dave Hylands 44332ec9ea Initialize is_kw for dynamically allocated mp_obj_fun_native_t ojects. 11 years ago
Damien George 38a2da68c2 py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t. 11 years ago
John R. Lenton 9c83ec0eda Merge remote-tracking branch 'upstream/master' into dict_feats 11 years ago
John R. Lenton c06763a020 This implements a better (more python-conformant) list.sort. 11 years ago
ian-v 7a16fadbf8 Co-exist with C++ (issue #85) 11 years ago
Paul Sokolovsky 860ffb0a43 Convert many object types structs to use C99 tagged initializer syntax. 11 years ago
Damien George 71c5181a8d Convert Python types to proper Python type hierarchy. 11 years ago
Damien George eb7bfcb286 Split qstr into pools, and put initial pool in ROM. 11 years ago
John R. Lenton 45a8744617 Implements list.insert. Fixes issue #61. 11 years ago
Damien George 66028ab6dc Basic implementation of import. 11 years ago