3040 Commits (505671b698490918fe0ea6c6dfdab8c0b25339be)

Author SHA1 Message Date
Damien George 1831034be1 py: Allow lexer to raise exceptions during construction. 8 years ago
Paul Sokolovsky 776883cb80 py/objint_longlong: Implement mp_obj_int_from_bytes_impl(). 8 years ago
Damien George 52b6764894 py/nlrx64: Fixes to support Mac OS. 8 years ago
Paul Sokolovsky fd49ff9917 py/nlrx86: Add workaround for Zephyr. 8 years ago
Krzysztof Blazewicz 7e480e8a30 py: Use mp_obj_get_array where sequence may be a tuple or a list. 8 years ago
Krzysztof Blazewicz 1215dc47e2 py/runtime.c: Remove optimization of '*a,=b', it caused a bug. 8 years ago
Paul Sokolovsky 96aa3a3102 py/modsys: Use MP_SMALL_INT_MAX for sys.maxsize in case of LONGINT_IMPL_NONE. 8 years ago
Damien George 914648ce0e py/py.mk: Force nlr files to be compiled with -Os. 8 years ago
Damien George f0dddb688d py/nlrx86: Convert from assembler to C file with inline asm. 8 years ago
Damien George 321848470c py/nlrx64: Convert from assembler to C file with inline asm. 8 years ago
Damien George a85755aa22 py/nlrxtensa: Convert from assembler to C file with inline asm. 8 years ago
Damien George be3d7f91e5 py/nlr.h: Mark nlr_jump_fail as NORETURN. 8 years ago
Damien George 05fe66f68a py: Move locals/globals dicts to the thread-specific state. 8 years ago
Damien George 9275c18270 py/map: Fix bugs with deletion of elements from OrderedDict. 8 years ago
Damien George f4a12dca58 py/objarray: Disallow slice-assignment to read-only memoryview. 8 years ago
Paul Sokolovsky 4b3da60324 py/runtime: mp_raise_msg(): Accept NULL argument for message. 8 years ago
Damien George f615d82d5b py/parse: Simplify handling of errors by raising them directly. 8 years ago
Damien George 5255255fb9 py: Create str/bytes objects in the parser, not the compiler. 8 years ago
Damien George 74f4d2c659 py/parse: Allow parser/compiler consts to be bignums. 8 years ago
Damien George b1b090255c py/moduerrno: Make list of errno codes configurable. 8 years ago
Damien George f563406d2e py/moduerrno: Make uerrno.errorcode dict configurable. 8 years ago
Damien George 89267886cc py/objlist: For list slice assignment, allow RHS to be a tuple or list. 8 years ago
Damien George bdebfaa4bf py/grammar: Remove unused rule. 8 years ago
Damien George 5124a94067 py/lexer: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George 534b7c368d py: Do adjacent str/bytes literal concatenation in lexer, not compiler. 8 years ago
Damien George 773278ec30 py/lexer: Simplify handling of line-continuation error. 8 years ago
Damien George ae43679792 py/lexer: Use strcmp to make keyword searching more efficient. 8 years ago
Damien George a68c754688 py/lexer: Move check for keyword to name-tokenising block. 8 years ago
Damien George 98b3072da5 py/lexer: Simplify handling of indenting of very first token. 8 years ago
Damien George 6a11048af1 py/persistentcode: Bump .mpy version due to change in bytecode. 8 years ago
Damien George c264414746 py/lexer: Don't generate string representation for period or ellipsis. 8 years ago
Damien George 71019ae4f5 py/grammar: Group no-compile grammar rules together to shrink tables. 8 years ago
Damien George e6003f466e py: De-optimise some uses of mp_getiter, so they don't use the C stack. 8 years ago
Damien George 4d2bab1444 py/compile: Optimise list/dict/set comprehensions to use stack iter. 8 years ago
Damien George cb6300697c py/runtime: Optimise case of identity iterator so it doesn't alloc RAM. 8 years ago
Damien George 30b42dd72d py: Remove unused "use_stack" argument from for_iter_end emit function. 8 years ago
Damien George 088740ecc4 py: Optimise storage of iterator so it takes only 4 slots on Py stack. 8 years ago
Damien George 6e769da0da py: Make FOR_ITER opcode pop 1+4 slots from the stack when finished. 8 years ago
Damien George f4df3aaa72 py: Allow bytecode/native to put iter_buf on stack for simple for loops. 9 years ago
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Damien George 101886f529 py/vm: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George da36f5232d py/objint: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George fa5a591757 py/objexcept: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George efa629028a py/objclosure: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George dbcdb9f8d8 py/objfun: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George ccc5254224 py/objarray: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George c0d9500eee py/objstr: Convert mp_uint_t to size_t (and use int) where appropriate. 8 years ago
Damien George 68cd3a93f0 py/objset: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George 1ea2f7a8ce py/objdict: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George 58d9eeb8d9 py/objlist: Convert mp_uint_t to size_t where appropriate. 8 years ago