1713 Commits (2cf6dfa280a8149941aafc852fbaae8bdfc4999e)

Author SHA1 Message Date
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Paul Sokolovsky db1ac360c3 emitnative: Disable warning in delete_fast for now (breaks test). 10 years ago
Paul Sokolovsky 8a8c1fc82f py: Add basic framework for issuing compile/runtime warnings. 10 years ago
Damien George ebde3c694f py: Add guarded includes for asm-based headers. 10 years ago
Damien George 84e0cf0d21 py: Change namedtuple error messages to reduce code size. 10 years ago
Damien George 7f23384d49 py: Make terse_arg_mismatch a global function and use it elsewhere. 10 years ago
Paul Sokolovsky 276159e5dd objnamedtuple: Make sure to initialize type structure completely. 10 years ago
stijn 021dc44009 py: Allow keyword arguments for namedtuple 10 years ago
stijn 12340147b0 py: Use sequence of strings for named tuple initialization 10 years ago
Damien George e0ac194f4f py: Fix rshift and not of zero/one edge cases in mpz. 10 years ago
Paul Sokolovsky 2c75665445 objstr: Fix %d-formatting of floats. 10 years ago
Paul Sokolovsky 5f68094e10 py: mp_obj_new_int_from_float() supported only for MICROPY_PY_BUILTINS_FLOAT. 10 years ago
Paul Sokolovsky f79cd6a233 py: Implement mp_obj_new_int_from_float() for MICROPY_LONGINT_IMPL_NONE. 10 years ago
Paul Sokolovsky 12033df511 py: Partially fix float to int conversion. 10 years ago
Damien George 9ddbe291c4 py: Add include guards to mpconfig,misc,qstr,obj,runtime,parsehelper. 10 years ago
Damien George f89d659e3b py: In VM, for selective ip saving, store 1 byte past last opcode. 10 years ago
Paul Sokolovsky 23f1b5ff66 py: Add note about -fno-crossjumping when compiling vm.c. 10 years ago
Paul Sokolovsky 361909e3ca py: Add MP_LIKELY(), MP_UNLIKELY() macros to help branch prediction. 10 years ago
Paul Sokolovsky 1ee1785bed showbc: Print operation mnemonic in BINARY_OP. 10 years ago
Paul Sokolovsky df103462dc showbc: Make code object start pointer semi-public. 10 years ago
Paul Sokolovsky 749575097f vm: Record exception ip only for instructions where exceptions may happen. 10 years ago
Damien George 83204f3406 py: Allow to properly disable builtin slice operation. 10 years ago
Damien George e37dcaafb4 py: Allow to properly disable builtin "set" object. 10 years ago
Paul Sokolovsky 8ab6f90674 py: Move to guarded includes for compile.h and related headers. 10 years ago
Paul Sokolovsky 343266ea51 showbc: Refactor to allow inline instruction printing. 10 years ago
Damien George c55a4d82cf py: Make bytes objs work with more str methods; add tests. 10 years ago
Damien George 74eb44c392 py: Reduce size of VM exception stack element by 1 machine word. 10 years ago
Damien George 81836c28b3 py: Use str_to_int function in more places to reduce code size. 10 years ago
Damien George 01039b5bd8 py: Remove last uses of printf from compile; use proper SyntaxError. 10 years ago
Damien George 584ba6762f py: Move global/nonlocal decl code to compiler for proper SyntaxError. 10 years ago
Damien George b063b9b36d py: Fix iteration over map in 2 places. 10 years ago
Damien George 6efa66f125 py: Remove unnecessary RULE_none and PN_none from parser. 10 years ago
Damien George b47ea4eadd py: Add blank and ident flags to grammar rules to simplify parser. 10 years ago
Damien George 2870d85a11 py: Save a few code bytes in parser; make vars local where possible. 10 years ago
Damien George 2a3e2b9033 py: Add execfile function (from Python 2); enable in stmhal port. 10 years ago
Paul Sokolovsky c0bc3bd736 asmarm: Fix bug with encoding small negative ints using MVN instruction. 10 years ago
Damien George e181c0dc07 py: Fix optimised for-loop compiler so it follows proper semantics. 10 years ago
Damien George 7764f163fa py: Fix label printing in showbc; print sp in vm trace. 10 years ago
Damien George c33ce606cf py: Fix a semantic issue with range optimisation. 10 years ago
Damien George 5318cc028a py: Tidy up a few function declarations. 10 years ago
Damien George 7eb2317fa2 py: Remove static from definition of pfenv_printf. 10 years ago
Damien George 969a6b37bf py: Make functions static where appropriate. 10 years ago
Damien George b4fe6e28eb py: Fix function type: () -> (void). 10 years ago
Damien George 78d702c300 py: Allow builtins to be overridden. 10 years ago
Paul Sokolovsky 46c3ab2004 modsys: Add sys.print_exception(exc, file=sys.stdout) function. 10 years ago
Damien George be6d8be91e py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack. 10 years ago
Damien George 451a087075 py: Fix printing of size_t entity; fix qemu-arm for changes to lexer. 10 years ago
Damien George a4c52c5a3d py: Optimise lexer by exposing lexer type. 10 years ago
Damien George 32ef3a3517 py: Allow bytes/bytearray/array to be init'd by buffer protocol objects. 10 years ago
Damien George cd97a43f8d py, vm: Make unum a local variable for each opcode that uses it. 10 years ago