901 Commits (3aa8ee7c9e2e9fd50ffb4b588518bd84b40fef84)

Author SHA1 Message Date
Damien George f08ddef676 py: Add comments to new gc_realloc, it has some bugs. 11 years ago
Damien George 73d579354b py: Small cosmetic changes to gc_realloc. 11 years ago
mux fbaa1479f4 Fix gc_realloc to expand in place 11 years ago
Damien George 25f5a30e73 py: Fix overriding of default arguments. 11 years ago
Damien George f41fdd05b0 py: Unify syntax error handling in compiler; check defualt arg syntax. 11 years ago
Damien George 715101580b py: Factor and improve issubclass. 11 years ago
Paul Sokolovsky e74f52b76c namedtuple: Inherit unary/binary ops from tuple base class. 11 years ago
Paul Sokolovsky d86d22e1e7 Add mp_obj_is_subclass_fast() - intended for fast argument checking. 11 years ago
Paul Sokolovsky d08fd68664 Add basic collections.namedtuple implementation. 11 years ago
Damien George 06201ff3d6 py: Implement bit-shift and not operations for mpz. 11 years ago
Paul Sokolovsky 9c7e984a05 nlrthumb.S: Comment out ".cpu cortex-m4", it causes problems on Cortex-A. 11 years ago
Paul Sokolovsky 82a165d9be nlr.h: Do proper arch selection, using the same tests as nlr*.S . 11 years ago
Damien George ce1162ab15 GC: Fix printf formats for debugging; add gc_dump_alloc_table. 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
Damien George 1dc76af7bf py: Remove name of var arg from macros with var args. 11 years ago
Damien George c5ac2ac590 py: Start to implement shl/shr for mpz. Fix return void. 11 years ago
Damien George aca141269e py: Fix mpn_sub, was increasing wrong source pointer. 11 years ago
Damien George 438c88dd2f Add arbitrary precision integer support. 11 years ago
Damien George 2077397118 py: Put number parsing code together in parsenum.c. 11 years ago
Damien George 2613ffde43 py: Rename strtonum to mp_strtonum. 11 years ago
Damien George 0379b55ab0 py: Fix casting and printing of small int. 11 years ago
Paul Sokolovsky 56e5ef203b parse: Refactor parse node encoding to support full range of small ints. 11 years ago
Paul Sokolovsky bbf0e2fe12 parse: Note that fact that parser's small ints are different than VM small int. 11 years ago
Paul Sokolovsky 1d30b11685 showbc: Update for recent int varlen storage refactor. 11 years ago
Paul Sokolovsky feacaa12ac __import__: Catch relative import attempts and throw NotImplementedError. 11 years ago
Paul Sokolovsky a8d31b28bc emitbc: Correct buffer sizes for varlen int encoding. 11 years ago
Paul Sokolovsky a1aba36feb compile: Add comments ergarding non-implemented relative imports. 11 years ago
Damien George 4d79d5dd7c py: Fix type of integer in decoding int. 11 years ago
Paul Sokolovsky fb7f94392d import: Implement "from pkg.mod import sym" syntax properly. 11 years ago
Paul Sokolovsky 047cd40313 Bytecode int varlen encoding: support arbitrary values for signed ints too. 11 years ago
Paul Sokolovsky 0f96ec8268 Bytecode uint varlen encoding: support arbitrary values. 11 years ago
Dave Hylands 51dabac096 Add pin mapping code. 11 years ago
Paul Sokolovsky 4d0588df56 objint_longlong: Don't assert on invalid syntax, raise SyntaxError instead. 11 years ago
Paul Sokolovsky 4aee119f94 stm: Initialize sys.path with ["0:/", "0:/src", "0:/lib"]. 11 years ago
Paul Sokolovsky ac2e28c654 Support passing positional args as keywords to bytecode functions. 11 years ago
Paul Sokolovsky 44739e280e Make DEBUG_printf() a proper function, implementation is port-dependent. 11 years ago
Paul Sokolovsky 5fd7bc3264 Propagate scope flags refactor to emitcpy.c. 11 years ago
Paul Sokolovsky 91ba7a54c5 builtinimport: Get the basic (and only basic) package imports work. 11 years ago
Paul Sokolovsky d3783570a4 builtinimport.c: Recognize "namespace package" and error out as unsupported. 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 96056a6272 py: Revent some long int configuration. 11 years ago
Damien George c8f78bc280 py: VM never throws an exception, instead returns a status and value. 11 years ago
Paul Sokolovsky ff4678c5b4 objexcept: Fix thinko with args to mp_obj_new_list(). 11 years ago
Damien George 36109d246f Small change to configuration of long int. 11 years ago
Damien George 22a0865d54 py: Improve exception bases, reduces ROM usage. 11 years ago
Damien George 8725f8f7de py: Pass all scope flags through to runtime. 11 years ago
Damien George c5966128c7 Implement proper exception type hierarchy. 11 years ago