65 Commits (ef61b5ecb59e9b4e37e3e3c023c62d583c23eb16)

Author SHA1 Message Date
Damien George 4ec803a42a all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros.
6 years ago
Damien George 7d4a2f773c all: Make use of $(TOP) variable in Makefiles, instead of "..".
6 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments
6 years ago
Damien George 761e4c7ff6 all: Remove trailing spaces, per coding conventions.
6 years ago
Damien George 4c307bfba1 all: Move BYTES_PER_WORD definition from ports to py/mpconfig.h
6 years ago
Damien George 4afa782fb4 bare-arm/Makefile: Change C standard from gnu99 to c99.
6 years ago
Krzysztof Blazewicz 75589272ef all/Makefile: Remove -ansi from GCC flags, its ignored anyway.
6 years ago
Damien George c72a5f8c79 bare-arm/main: Move lexer constructor to within NLR handler block.
6 years ago
Damien George be3d7f91e5 py/nlr.h: Mark nlr_jump_fail as NORETURN.
6 years ago
Damien George 4ebdb1f2b2 py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros.
6 years ago
Delio Brignoli e2ac8bb3f1 py: Add MICROPY_USE_INTERNAL_PRINTF option, defaults to enabled.
7 years ago
Damien George 675d1c9c60 ports: Remove typedef of machine_ptr_t, it's no longer needed.
7 years ago
Colin Hogben 8aa3cbf153 lib/utils/pyexec: Condition-out GC calls from pyexec.
7 years ago
Damien George 6eb17c31a9 ports: Disable async/await on bare-arm, minimal, pic16bit, cc3200.
7 years ago
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args.
7 years ago
Damien George 1b0aab621b py: Change struct and macro for builtin fun so they can be type checked.
7 years ago
Damien George 731f359292 all: Add py/mphal.h and use it in all ports.
7 years ago
Paul Sokolovsky 0dbd928cee Makefiles: Remove duplicate object files when linking.
7 years ago
Paul Sokolovsky e0f5df579b all: Make netutils.h available to all ports by default.
7 years ago
Damien George 4300c7dba2 py: Remove dependency on printf/fwrite in mp_plat_print.
7 years ago
Damien George 58e0f4ac50 py: Allocate parse nodes in chunks to reduce fragmentation and RAM use.
7 years ago
Damien George 1934dca6de bare-arm: Disable enumerate and reversed builtins to make port more bare.
8 years ago
Damien George c3bd9415cc py: Make qstr hash size configurable, defaults to 2 bytes.
8 years ago
Damien George c4b592d379 bare-arm, minimal, qemu-arm: Make do_str() take parse-input-kind as arg.
8 years ago
Damien George 06593fb0f2 py: Use a wrapper to explicitly check self argument of builtin methods.
8 years ago
Damien George 5aa311d330 py: Add attrtuple object, for space-efficient tuples with attr access.
8 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism.
8 years ago
Damien George 42e0c59308 py: Add MICROPY_COMP_{DOUBLE,TRIPLE}_TUPLE_ASSIGN config options.
8 years ago
Damien George 0bfc7638ba py: Protect mp_parse and mp_compile with nlr push/pop block.
8 years ago
Damien George ddd1e18801 py: Add config option MICROPY_COMP_MODULE_CONST for module consts.
8 years ago
Damien George 4a5895c4eb py: Disable stack checking by default; enable on most ports.
8 years ago
Damien George b4b10fd350 py: Put all global state together in state structures.
8 years ago
Damien George c2e22d66da bare-arm: Prefix includes with py/; remove need for -I../py.
8 years ago
Paul Sokolovsky 3b74c91684 Makefiles: Support py/*.h includes per #1022.
8 years ago
Paul Sokolovsky 46c3ab2004 modsys: Add sys.print_exception(exc, file=sys.stdout) function.
8 years ago
Damien George a4c52c5a3d py: Optimise lexer by exposing lexer type.
8 years ago
Paul Sokolovsky 91386eee26 ports: Define mp_off_t.
8 years ago
Damien George 1e9a92f84f py: Use shorter, static error msgs when ERROR_REPORTING_TERSE enabled.
8 years ago
Sven Wegener 1a5a6d1403 bare-arm: Add dummy __assert_func and __fatal_error
8 years ago
Damien George dd4f4530ab py: Add builtin memoryview object (mostly using array code).
8 years ago
stijn 2fe4cf7761 Implement kwargs for builtin open() and _io.FileIO
8 years ago
Damien George a91ac2011f py: Make compiler return a proper exception on SyntaxError.
8 years ago
Damien George 52b5d76a6b py: Free non-interned strings in the parser when not needed.
8 years ago
Damien George 377b80b624 py: Print imported module's location (__file__) if available.
9 years ago
Damien George 3c658a4e75 py: Fix bug where GC collected native/viper/asm function data.
9 years ago
Damien George 75ec22bf11 py: #if guard qstrs that are optional.
9 years ago
Damien George 8dbbbbc793 Put call to qstr_init and mp_init_emergency_exc_buf in mp_init.
9 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t.
9 years ago
Paul Sokolovsky 7e4ec3bf4f bare-arm: Hint of setting MICROPY_ERROR_REPORTING to REPORTING_TERSE.
9 years ago
Paul Sokolovsky 81df1e6c98 bare-arm: Disable array module and even bytearray type.
9 years ago