- 24 Jan, 2014 2 commits
-
-
Damien George authored
There can be multiple emitters allocated during compile (eg byte code and native).
-
Paul Sokolovsky authored
-
- 23 Jan, 2014 3 commits
-
-
Paul Sokolovsky authored
-
Damien George authored
Addresses Issue #207.
-
Damien George authored
-
- 21 Jan, 2014 2 commits
-
-
Damien George authored
Also fixes a bug in the for-in-range optimiser. I hope to remove break and continue byte codes in the future and just use jump (if possible).
-
Damien George authored
Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h
-
- 19 Jan, 2014 1 commit
-
-
Damien George authored
Exceptions know source file, line and block name. Also tidy up some debug printing functions and provide a global flag to enable/disable them.
-
- 18 Jan, 2014 1 commit
-
-
Damien George authored
Byte code has a map from byte-code offset to source-code line number, used to give better error messages.
-
- 15 Jan, 2014 1 commit
-
-
Damien George authored
-
- 12 Jan, 2014 1 commit
-
-
Damien George authored
-
- 11 Jan, 2014 1 commit
-
-
John R. Lenton authored
-
- 10 Jan, 2014 1 commit
-
-
Paul Sokolovsky authored
If step is not constant, in first approximation, we can't apply optimization, (well, we could, but need a special case for this).
-
- 06 Jan, 2014 2 commits
- 04 Jan, 2014 3 commits
-
-
Damien George authored
Now much more inline with how CPython does types.
-
Damien George authored
Qstr's are now split into a linked-list of qstr pools. This has 2 benefits: the first pool can be in ROM (huge benefit, since we no longer use RAM for the core qstrs), and subsequent pools use m_new for the next pool instead of m_renew (thus avoiding a huge single table for all the qstrs). Still would be better to use a hash table, but this scheme takes us part of the way (eventually convert the pools to hash tables). Also fixed bug with import. Also improved the way the module code is referenced (not magic number 1 anymore).
-
Damien George authored
With MICROPY_EMIT_X64 and MICROPY_EMIT_THUMB disabled, the respective emitters and assemblers will not be included in the code. This can significantly reduce binary size for unix version.
-
- 03 Jan, 2014 1 commit
-
-
Damien George authored
-
- 02 Jan, 2014 1 commit
-
-
Damien George authored
This fixes Issue #29, and means the core is no longer dependent on string functions, except strlen.
-
- 30 Dec, 2013 1 commit
-
-
Damien George authored
-
- 29 Dec, 2013 1 commit
-
-
Damien authored
-
- 21 Dec, 2013 1 commit
-
-
Damien authored
A big change. Micro Python objects are allocated as individual structs with the first element being a pointer to the type information (which is itself an object). This scheme follows CPython. Much more flexible, not necessarily slower, uses same heap memory, and can allocate objects statically. Also change name prefix, from py_ to mp_ (mp for Micro Python).
-
- 20 Dec, 2013 1 commit
-
-
Damien authored
-
- 12 Dec, 2013 3 commits
- 11 Dec, 2013 1 commit
-
-
Damien authored
-
- 10 Dec, 2013 3 commits
- 28 Nov, 2013 1 commit
-
-
Damien authored
-
- 17 Nov, 2013 1 commit
-
-
Damien authored
-
- 09 Nov, 2013 1 commit
-
-
Damien authored
-
- 06 Nov, 2013 1 commit
-
-
Damien authored
-
- 20 Oct, 2013 1 commit
-
-
Damien authored
-
- 18 Oct, 2013 1 commit
-
-
Damien authored
-
- 15 Oct, 2013 1 commit
-
-
Damien authored
-
- 12 Oct, 2013 2 commits