2651 Commits (fcac4b07f1154ae5a354de3cd1fe5297edb75bff)

Author SHA1 Message Date
Damien George fcac4b07f1 py/asmxtensa: Add low-level Xtensa assembler. 8 years ago
Damien George 81316fa411 py/asmbase: Add MP_PLAT_COMMIT_EXEC option for handling exec code. 8 years ago
Damien George c8746e1e72 py: Move arch-specific assembler macros from emitnative to asmXXX.h. 8 years ago
Damien George c2713592bc py/emit.h: Remove long-obsolete declarations for cpython emitter. 8 years ago
Damien George 080a78b15e py/compile: Simplify configuration of native emitter. 8 years ago
Damien George 304cfda8c4 py/stream: Move ad-hoc ioctl constants to stream.h and rename them. 8 years ago
Damien George 63e82dcdfe py/asmthumb: Fix build for F7 MCUs after recent code refactoring. 8 years ago
Damien George 612599587b py: Factor out common code from assemblers into asmbase.[ch]. 8 years ago
Damien George e6cf5fb2cc py/compile: Remove comment about TODO for short circuiting for if-stmt. 8 years ago
Paul Sokolovsky 037e6912c6 py/objtype: Implement __call__ handling for an instance w/o heap alloc. 8 years ago
Paul Sokolovsky 8f5bc3ffc0 stmhal/moduselect: Move to extmod/ for reuse by other ports. 8 years ago
Damien George 5bdf1650de py/lexer: Make lexer use an mp_reader as its source. 8 years ago
Damien George 66d955c218 py/lexer: Rewrite mp_lexer_new_from_fd in terms of mp_reader. 8 years ago
Damien George e5ef15a9d7 py/lexer: Provide generic mp_lexer_new_from_file based on mp_reader. 8 years ago
Damien George 511c083811 py/lexer: Rewrite mp_lexer_new_from_str_len in terms of mp_reader_mem. 8 years ago
Damien George 6b239c271c py: Factor out persistent-code reader into separate files. 8 years ago
Damien George 6810f2c134 py: Factor persistent code load/save funcs into persistentcode.[ch]. 8 years ago
Damien George 9b525134d1 py/parse: Add code to fold logical constants in or/and/not operations. 8 years ago
Damien George ed9c93f0f1 py/parse: Make mp_parse_node_new_leaf an inline function. 8 years ago
Damien George b0cbfb0492 py/parse: Move function to check for const parse node to parse.[ch]. 8 years ago
Damien George 659b06b250 py/*.mk: Replace uses of 'sed' with $(SED). 8 years ago
Dave Hylands 0400fa45ba py/mkrules.mk: Rework find command so it works on OSX. 8 years ago
Paul Sokolovsky a0b2c6ad32 py/runtime: mp_resume: Fix exception handling for nanbox port. 8 years ago
Paul Sokolovsky 79d996a57b py/runtime: mp_resume: Handle exceptions in Python __next__(). 8 years ago
Paul Sokolovsky c3d96d387c py/objexcept: Allow clearing traceback with 'exc.__traceback__ = None'. 8 years ago
Paul Sokolovsky 59a1201da9 all: Remove readall() method, which is equivalent to read() w/o args. 8 years ago
Damien George 0f3388de1e py/emitnative: Fix native import emitter when in viper mode. 8 years ago
Damien George fcda6a2a78 py: Strip leading dirs from frozen mpy files, so any path can be used. 8 years ago
Damien George bdf33bc136 py: Move frozen bytecode Makefile rules from ports to common mk files. 8 years ago
Damien George 561844f3ba py: Add MICROPY_FLOAT_CONST macro for defining float constants. 8 years ago
Colin Hogben 828df54bfe py: Change config default so m_malloc0 uses memset if GC not enabled. 8 years ago
Colin Hogben f9b6b37cf6 py: Fix wrong assumption that m_renew will not move if shrinking 8 years ago
Jan Pochyla ffb04a5845 unix: fix symbol references for x86 Mac 9 years ago
Pavol Rusnak 7ffc959c00 py: remove asserts that are always true in emitbc.c 8 years ago
Pavol Rusnak 3679ee9b52 py: fix null pointer dereference in mpz.c, fix missing va_end in warning.c 8 years ago
Fabio Utzig 8908e505ce py/sequence: Fix reverse slicing of lists. 8 years ago
Paul Sokolovsky 76146b3d9a extmod/utime_mphal: Allow ticks functions period be configurable by a port. 8 years ago
Paul Sokolovsky 8a49905a2f py/stream: Typo fix in comment. 8 years ago
Paul Sokolovsky f00ecdb54d extmod/moduos_dupterm: Renamed to uos_dupterm. 8 years ago
Damien George 5076e5c339 py: Add "delattr" builtin, conditional on MICROPY_CPYTHON_COMPAT. 8 years ago
Damien George bdb0d2d0bc py/modbuiltins: Add builtin "slice", pointing to existing slice type. 8 years ago
Paul Sokolovsky 3730090d8f py/{modbuiltins,obj}: Use MP_PYTHON_PRINTER where possible. 8 years ago
Erik Moqvist f64e806f50 lib/utils/pyhelp.c: Use mp_printf() instead of printf() 8 years ago
Damien George 571e6f26db py: Specialise builtin funcs to use separate type for fixed arg count. 8 years ago
Damien George 4ebdb1f2b2 py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros. 8 years ago
Paul Sokolovsky b440307b4a py/py.mk: Automatically add frozen.c to source list if FROZEN_DIR is defined. 8 years ago
Damien George 7d0d7215d2 py: Use mp_raise_msg helper function where appropriate. 8 years ago
Damien George 2750a7b38e py/objdict: Actually provide the key that failed in KeyError exception. 8 years ago
Damien George a3edeb9ea5 py/objdict: Fix optimisation for allocating result in fromkeys. 8 years ago
Paul Sokolovsky a97284423e extmod/utime_mphal: Factor out implementations in terms of mp_hal_* for reuse. 8 years ago