- 17 Oct, 2015 1 commit
-
-
Damien George authored
Only available when MICROPY_CAN_OVERRIDE_BUILTINS is enabled.
-
- 16 Oct, 2015 1 commit
-
-
Damien George authored
Cortex-M0, M0+ and M1 only have ARMv6-M Thumb/Thumb2 instructions. M3, M4 and M7 have a superset of these, named ARMv7-M. This patch adds a config option to enable support of the superset of instructions.
-
- 15 Oct, 2015 1 commit
-
-
Damien George authored
Addresses issue #1182.
-
- 14 Oct, 2015 3 commits
-
-
Damien George authored
See issue #1500.
-
Damien George authored
-
Damien George authored
Addresses #1510.
-
- 13 Oct, 2015 1 commit
-
-
Damien George authored
-
- 12 Oct, 2015 6 commits
-
-
Damien George authored
-
Damien George authored
-
Paul Sokolovsky authored
The whole current port gets slurped into a static lib named "libmicropython.a". Maybe that's not ideal, but at least something to start with.
-
Damien George authored
-
Damien George authored
It makes much more sense to do constant folding in the parser while the parse tree is being built. This eliminates the need to create parse nodes that will just be folded away. The code is slightly simpler and a bit smaller as well. Constant folding now has a configuration option, MICROPY_COMP_CONST_FOLDING, which is enabled by default.
-
Paul Sokolovsky authored
Using 'P' format specifier (matches struct module). This is another shortcut for FFI, just as previously introduced "array of objects" ('O').
-
- 11 Oct, 2015 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
The usual cause would be that a cross-compiler for a port is not in PATH.
-
- 08 Oct, 2015 4 commits
-
-
Damien George authored
-
Damien George authored
This patch eliminates the need for a nested parse node for assignments and keyword arguments. It saves a little bit of RAM when parsing.
-
Damien George authored
-
Damien George authored
Also adds tests specifically for testing constant folding.
-
- 06 Oct, 2015 1 commit
-
-
Paul Sokolovsky authored
-
- 03 Oct, 2015 1 commit
-
-
Damien George authored
-
- 01 Oct, 2015 6 commits
-
-
Damien George authored
With this patch parse nodes are allocated sequentially in chunks. This reduces fragmentation of the heap and prevents waste at the end of individually allocated parse nodes. Saves roughly 20% of RAM during parse stage.
-
Damien George authored
-
Damien George authored
-
Damien George authored
Python semantics are that rhs of shift must be non-negative, so there's no need to handle negative values in the underlying mpz implementation.
-
Damien George authored
-
Damien George authored
This patch adds more fine grained error message control for errors when parsing integers (now has terse, normal and detailed). When detailed is enabled, the error now escapes bytes when printing them so they can be more easily seen.
-
- 28 Sep, 2015 1 commit
-
-
Tom Soulanille authored
-
- 24 Sep, 2015 1 commit
-
-
Damien George authored
It's relatively small (between 44 and 56 bytes) and helps to reduce heap pressure and fragmentation during compilation.
-
- 23 Sep, 2015 2 commits
-
-
Damien George authored
Saves a few bytes of code space and eliminates need for rot_two bytecode (hence saving RAM and execution time, by a tiny bit).
-
Delio Brignoli authored
-
- 19 Sep, 2015 1 commit
-
-
Alex March authored
Escaped quotes are now recognised correctly in REPL when used inside normal quotes. Fixes: #1419
-
- 15 Sep, 2015 3 commits
-
-
Tom Soulanille authored
-
Tom Soulanille authored
Configurable with MICROPY_PY_BUILTINS_SLICE_ATTRS. Disabled by default.
-
Damien George authored
When creating constant mpz's, the length of the mpz must be exactly how many digits are used (not allocated) otherwise these numbers are not compatible with dynamically allocated numbers. Addresses issue #1448.
-
- 12 Sep, 2015 1 commit
-
-
Damien George authored
4 spaces are added at start of line to match previous indent, and if previous line ended in colon. Backspace deletes 4 space if only spaces begin a line. Configurable via MICROPY_REPL_AUTO_INDENT. Disabled by default.
-
- 11 Sep, 2015 1 commit
-
-
Dave Hylands authored
Fixes #1435.
-
- 07 Sep, 2015 3 commits
-
-
Damien George authored
Eg 0e0 almost looks like a hex number but in fact is a float.
-
Damien George authored
-
Damien George authored
-