73 Commits (752fe759104172af2e8cbd7a3713b29134bd5a7f)

Author SHA1 Message Date
David Lechner 1e99d29f36 py/runtime: Allow multiple **args in a function call. 5 years ago
Damien George 538c3c0a55 py: Change jump opcodes to emit 1-byte jump offset when possible. 3 years ago
David Lechner e7a92c0e69 tests/cmdline/cmd_showbc: Fix spelling of sequence. 3 years ago
Damien George 3c7cab4e98 py/parse: Put const bytes objects in parse tree as const object. 3 years ago
Damien George ac2293161e py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them. 3 years ago
Damien George f2040bfc7e py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
Damien George 78ab2eeda3 py/showbc: Print unary-op string when dumping bytecode. 3 years ago
Jim Mussared b326edf68c all: Remove MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE. 3 years ago
Jim Mussared 692d36d779 py: Implement partial PEP-498 (f-string) support. 3 years ago
stijn a66286f3a0 unix: Improve command line argument processing. 4 years ago
Damien George 817b80a102 unix/variants: Enable MICROPY_DEBUG_PARSE_RULE_NAME on coverage build. 4 years ago
Damien George 1783950311 py/compile: Implement PEP 572, assignment expressions with := operator. 4 years ago
David Lechner 3dc324d3f1 tests: Format all Python code with black, except tests in basics subdir. 5 years ago
David Lechner 4a97f7aaf3 tests/cmdline: Add test for MICROPYINSPECT environment variable. 5 years ago
David Lechner 7c24f55285 tests/cmdline/repl_inspect: Add new test for -i option. 5 years ago
Yonatan Goldschmidt 853aaa06f2 lib/mp-readline: Add word-based move/delete EMACS key sequences. 5 years ago
Petr Viktorin 25a9bccdee py/compile: Disallow 'import *' outside module level. 5 years ago
Damien George c8c0fd4ca3 py: Rework and compress second part of bytecode prelude. 5 years ago
Damien George b5ebfadbd6 py: Compress first part of bytecode prelude. 5 years ago
Damien George 02db91a7a3 py: Split RAISE_VARARGS opcode into 3 separate ones. 5 years ago
Damien George 67fdfebe64 tests: Update tests for changes to opcode ordering. 5 years ago
Damien George 2069c563f9 py: Add support for matmul operator @ as per PEP 465. 5 years ago
Milan Rossa 498e35219e tests: Add tests for sys.settrace feature. 5 years ago
Milan Rossa ae6fe8b43c py/compile: Improve the line numbering precision for comprehensions. 5 years ago
Damien George 5a2599d962 py: Replace POP_BLOCK and POP_EXCEPT opcodes with POP_EXCEPT_JUMP. 6 years ago
Damien George e1fb03f3e2 py: Fix VM crash with unwinding jump out of a finally block. 6 years ago
Damien George c2074e7b66 tests/cmdline/cmd_showbc.py: Fix test to explicitly declare nonlocal. 6 years ago
Damien George 165aab12a3 py/repl: Generalise REPL autocomplete to use qstr probing. 7 years ago
Damien George 35a759dc1d tests: Add some more tests to improve coverage of py/parse.c. 7 years ago
Damien George 0864a6957f py: Clean up unary and binary enum list to keep groups together. 7 years ago
Paul Sokolovsky 9d836fedbd py: Clarify which mp_unary_op_t's may appear in the bytecode. 7 years ago
Paul Sokolovsky b8ee7ab5b9 py/runtime0.h: Put inplace arith ops in front of normal operations. 7 years ago
Paul Sokolovsky 50b9329eba py/runtime0.h: Move MP_BINARY_OP_DIVMOD to the end of mp_binary_op_t. 7 years ago
Paul Sokolovsky d4d1c45a55 py/runtime0.h: Move relational ops to the beginning of mp_binary_op_t. 7 years ago
Damien George 30badd1ce1 tests: Add tests for calling super and loading a method directly. 8 years ago
Damien George 5335942b59 py/compile: Refactor handling of special super() call. 8 years ago
Damien George 5255255fb9 py: Create str/bytes objects in the parser, not the compiler. 8 years ago
Damien George c889f01b8d tests/cmdline/cmd_parsetree: Update to work with changes to grammar. 8 years ago
Damien George 0ec957d7c5 tests/cmdline: Update cmd_parsetree test for changes to grammar order. 8 years ago
Damien George 86b3db9cd0 tests/cmdline/cmd_showbc: Update to work with recent changes. 8 years ago
Damien George 861b001783 tests/cmdline: Update tests to pass with latest changes to bytecode. 8 years ago
Damien George f4df3aaa72 py: Allow bytecode/native to put iter_buf on stack for simple for loops. 9 years ago
Rami Ali b7024f0f64 tests/cmdline: Improve repl.c autocomplete test coverage. 8 years ago
Damien George cdec7ba30e tests: Add a coverage test for printing the parse-tree. 8 years ago
Damien George 453c2e8f55 tests/cmdline: Improve coverage test for printing bytecode. 8 years ago
Damien George 5e22afce41 tests: Improve test coverage of py/compile.c. 8 years ago
stijn 7f19b1c3eb tests: Fix expected output of verbose cmdline test 8 years ago
Damien George f65e4f0b8f tests/cmdline/cmd_showbc: Fix test now that 1 value is stored on stack. 8 years ago
Damien George bb954d80a4 tests: Get cmdline verbose tests running again. 8 years ago
Damien George 3b5affa0d1 tests/cmdline: Add test for -O option to check optimisation value. 8 years ago