49 Commits (637aa9784dc96301cfa5c4ccdd0ab1ae7bad5744)

Author SHA1 Message Date
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
Alex March 69d9e7d27d py/repl: Check for an identifier char after the keyword. 9 years ago
Damien George 3aa7dd23c9 unix: Add exit and paste-mode hints to shell startup banner. 9 years ago
Damien George 0334058fa4 Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc. 9 years ago
Alex March 15018291b2 tests: Add escaped quotes tests for REPL. 9 years ago
Damien George 3ca84026db unix: Enable REPL auto-indent. 9 years ago
Paul Sokolovsky a3fe307400 tests: Consolidate all feature check snippets under feature_check/. 9 years ago
Tom Soulanille 20f40c3229 tests: Remove over-specification of startup banner 9 years ago
Tom Soulanille 89852d38ef run-tests: Test REPL emacs keys, but only if present. 9 years ago
Tom Soulanille 3dd0b69e46 run-tests: Use PTY when running REPL tests. 9 years ago
Damien George 59fba2d6ea py: Remove mp_load_const_bytes and instead load precreated bytes object. 10 years ago
Damien George c5029bcbf3 py: Add MP_BINARY_OP_DIVMOD to simplify and consolidate divmod builtin. 10 years ago
Damien George 9ae3fc6523 unix: Add option to use uPy readline, and enable by default. 10 years ago
Damien George c2a4e4effc py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function. 10 years ago
Damien George 9a42eb541e py: Fix naming of function arguments when function is a closure. 10 years ago
Damien George 367d4d1098 tests: Fix cmd_showbc now that LOAD_CONST_ELLIPSIS bytecode is gone. 10 years ago
Damien George 8c1d23a0e2 py: Modify bytecode "with" behaviour so it doesn't use any heap. 10 years ago
Damien George c9aa1883ed py: Simplify bytecode prelude when encoding closed over variables. 10 years ago
Damien George 9dd3640464 tests: Add missing tests for builtins, and many other things. 10 years ago
Damien George d478fc75b3 tests: Adjust expected output, since Travis can't do git describe. 10 years ago
Damien George 1004535237 tests: Make cmdline tests more stable by using regex for matching. 10 years ago
Damien George 0683c1ceef tests: Don't try to verify amount of memory used in cmd_showbc test. 10 years ago
Damien George 703c009681 tests: Add cmdline test to test showbc code. 10 years ago
Damien George 143c34109c tests: Add ability to test uPy cmdline executable. 10 years ago