- 05 Dec, 2014 1 commit
-
-
Damien George authored
mp_lexer_t type is exposed, mp_token_t type is removed, and simple lexer functions (like checking current token kind) are now inlined. This saves 784 bytes ROM on 32-bit unix, 348 bytes on stmhal, and 460 bytes on bare-arm. It also saves a tiny bit of RAM since mp_lexer_t is a bit smaller. Also will run a bit more efficiently.
-
- 30 Jul, 2014 1 commit
-
-
Damien George authored
Lexer is now 8-bit clean inside strings.
-
- 03 Jul, 2014 1 commit
-
-
Damien George authored
-
- 03 Jun, 2014 1 commit
-
-
Paul Sokolovsky authored
This allows to have multiple "optimization" levels (CPython has two (-OO removes docstrings), we can have more).
-
- 03 May, 2014 1 commit
-
-
Damien George authored
Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
-
- 05 Feb, 2014 1 commit
-
-
Damien George authored
-
- 25 Jan, 2014 1 commit
-
-
Damien George authored
-
- 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
Parser no longer prints an error, but instead returns an exception ID and message.
-
- 12 Jan, 2014 1 commit
-
-
Damien George authored
-
- 08 Jan, 2014 1 commit
-
-
Damien George authored
-
- 06 Jan, 2014 2 commits
- 04 Jan, 2014 1 commit
-
-
Damien George authored
-
- 03 Jan, 2014 1 commit
-
-
Damien George authored
import works for simple cases. Still work to do on finding the right script, and setting globals/locals correctly when running an imported function.
-
- 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 Oct, 2013 2 commits
- 09 Oct, 2013 1 commit
-
-
Damien authored
-
- 04 Oct, 2013 1 commit
-
-
Damien authored
-