760 Commits (48bdb21332079307be080cc620a1084c778d083b)

Author SHA1 Message Date
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
Damien George a71c83a1d1 Change mp_obj_type_t.name from const char * to qstr. 11 years ago
Damien George aa9b74fead py: Fix IMPORT_STAR, needs to pop the stack. 11 years ago
Paul Sokolovsky 76f8cedb52 mp_binary_get_val(): Fix value type. 11 years ago
Paul Sokolovsky 60a0d3f1db objexcept: Fix a case of initialized object field. 11 years ago
Paul Sokolovsky c203324e6c objarray: Refactor to use array accessors from binary.c . 11 years ago
Paul Sokolovsky 8bc3516389 ffi: Implement ffivar.get()/set() methods. 11 years ago
Paul Sokolovsky 910843e86d Allow ports to define statically builtin functions. 11 years ago
Paul Sokolovsky da1ce93da8 Implement "from module import *" construct. 11 years ago
Damien George 099a9cb575 Remove mp_obj_new_exception_msg_1_arg and _2_arg. 11 years ago
Paul Sokolovsky 2aa217b974 Implement full arg handling for exec(). 11 years ago
Paul Sokolovsky 520e2f58a5 Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. 11 years ago
Paul Sokolovsky d5df6cd44a Replace global "static" -> "STATIC", to allow "analysis builds". Part 1. 11 years ago
Paul Sokolovsky 550d804d95 Add prototype for gc_dump_info(). 11 years ago
Paul Sokolovsky 723a6ed371 More GC debugging improvements. 11 years ago
Paul Sokolovsky b62c30b4bc Generalize malloc-via-gc-heap support, make it available to unix port. 11 years ago
Paul Sokolovsky 4e2460852a objstr: Mark few local symbols as static, cleanup codestyle. 11 years ago
Paul Sokolovsky c0a8374103 gc: Don't segfault if gc_realloc() fails. 11 years ago
Paul Sokolovsky af19cbd201 gc: Make debug output configurable, revamp test function. 11 years ago
Paul Sokolovsky 4e836fb4ea mp_obj_equal(): Instead of assert(), throw NotImplementedError. 11 years ago
Paul Sokolovsky 0a25aba046 Typo fix in comment. 11 years ago
Damien George d46ca25757 Fix some int casting that failed on 64 bit architecture. 11 years ago