128 Commits (cbf7674025814797f5c537d6d1c195efe58ccaaf)

Author SHA1 Message Date
Damien George ccc85ea0da py: Combine native emitters to 1 glue function; distinguish viper. 11 years ago
Damien George 3417bc2f25 py: Rename byte_code to bytecode everywhere. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Paul Sokolovsky 418aca976c objclosure, objcell: Print detailed representation if was requested. 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 7917b731f6 objfun: More debug logging. 11 years ago
Paul Sokolovsky 5ba58f4a1a objgenerator: Fix check for too few args passed to gen function. 11 years ago
Paul Sokolovsky c3103b55c1 objgenerator: .print(): Output real underlying function name. 11 years ago
Paul Sokolovsky 1f85d6255d py: Add tentative scheme for error messages configuration. 11 years ago
Paul Sokolovsky 68551a8428 objfun: Add function name accessor and .print slot method. 11 years ago
Paul Sokolovsky 22d0598818 objfun: Factor out function to report positional args mismatch. 11 years ago
Damien George 2827d62e8b py: Implement keyword-only args. 11 years ago
Paul Sokolovsky 353b0289f3 py: Add win32-specific header for alloca(). 11 years ago
Damien George a3f94e0030 py: Add arg checking helper functions. 11 years ago
Damien George b11b85adaa py: Allow to pass buffer protocol flags to get_buffer helper funcs. 11 years ago
Damien George 57a4b4f178 py: Add typecode to buffer protocol. 11 years ago
Damien George 3fd2d7fad2 py: Tidy up function argument error messages. 11 years ago
Damien George de7c425139 py: Simplify objfun/objgenerator connection, no need to call bc_get. 11 years ago
Paul Sokolovsky f26a30710c objfun: Add local header. 11 years ago
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