- 01 Jan, 2015 5 commits
-
-
Damien George authored
Reduces code size when MICROPY_ERROR_REPORTING_TERSE is selected.
-
Paul Sokolovsky authored
-
stijn authored
-
stijn authored
- remove single string initialization style - take list of strings instead - store list in the type for fast lookup
-
stijn authored
-
- 31 Dec, 2014 3 commits
-
-
Damien George authored
Addresses issue #1027.
-
Damien George authored
-
Paul Sokolovsky authored
-
- 29 Dec, 2014 9 commits
-
-
Paul Sokolovsky authored
To make mp_obj_new_int_from_float() somehow work.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This fixes conversion when float type has more mantissa bits than small int, and float value has small exponent. This is for example the case of 32-bit platform using doubles, and converting value of time.time(). Conversion of floats with larg exponnet is still not handled correctly.
-
Damien George authored
We don't have an explicit ChangeLog file, but don't really need one because we use a good version control system. This script is useful if you need a pretty-printed ChangeLog for some reason.
-
Damien George authored
-
Damien George authored
This is for efficiency, so we don't need to subtract 1 from the ip before storing it to code_state->ip. It saves a lot of ROM bytes on unix and stmhal.
-
Paul Sokolovsky authored
-
Damien George authored
Should have done it before tagging...
-
- 28 Dec, 2014 4 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This allows to pring either absolute addresses or relative offsets in jumps and code references.
-
Paul Sokolovsky authored
Mirroring ip to a volatile memory variable for each opcode is an expensive operation. For quite a lot of often executed opcodes like stack manipulation or jumps, exceptions cannot actually happen. So, record ip only for opcode where that's possible.
-
- 27 Dec, 2014 11 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Patches to fatfs for our use will follow.
-
Damien George authored
This patch makes the MICROPY_PY_BUILTINS_SLICE compile-time option fully disable the builtin slice operation (when set to 0). This includes removing the slice sytanx from the grammar. Now, enabling slice costs 4228 bytes on unix x64, and 1816 bytes on stmhal.
-
Damien George authored
This patch makes MICROPY_PY_BUILTINS_SET compile-time option fully disable the builtin set object (when set to 0). This includes removing set constructor/comprehension from the grammar, the compiler and the emitters. Now, enabling set costs 8168 bytes on unix x64, and 3576 bytes on stmhal.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 24 Dec, 2014 3 commits
-
-
Damien George authored
-
Paul Sokolovsky authored
This script is rewrite of run-tests-exp.sh, and tries to achieve self-hosted testsuite running in environments where neither CPython nor unix shell is available. As run-tests-exp.sh, it requires complete set of .exp files pre-generated with ./run-test --write-exp.
-
Damien George authored
-
- 23 Dec, 2014 2 commits
-
-
Dave Hylands authored
It seems the Mac will happily wipe out at least some of the data on a freshly reset filesytem, if the filesystem was reset while plugged into the Mac.
-
Paul Sokolovsky authored
system() is the basic function to support automation of tasks, so have it available builtin, for example, for bootstrapping rest of micropython environment.
-
- 22 Dec, 2014 2 commits
-
-
Damien George authored
This renders it in yellow/orange box on RTD server.
-
Damien George authored
This optimisation reduces the VM exception stack element (mp_exc_stack_t) by 1 word, by using bit 1 of a pointer to store whether the opcode was a FINALLY or WITH opcode. This optimisation was pending, waiting for maturity of the exception handling code, which has now proven itself. Saves 1 machine word RAM for each exception (4->3 words per exception). Increases stmhal code by 4 bytes, and decreases unix x64 code by 32 bytes.
-
- 21 Dec, 2014 1 commit
-
-
Damien George authored
-