- 15 Feb, 2014 1 commit
-
-
Damien George authored
Ultimately all static strings should be qstr. This entry in the type structure is only used for printing error messages (to tell the type of the bad argument), and printing objects that don't supply a .print method.
-
- 12 Feb, 2014 2 commits
-
-
Damien George authored
-
Paul Sokolovsky authored
Some tools do not support local/static symbols (one example is GNU ld map file). Exposing all functions will allow to do detailed size comparisons, etc. Also, added bunch of statics where they were missing, and replaced few identity functions with global mp_identity().
-
- 08 Feb, 2014 1 commit
-
-
Damien George authored
-
- 06 Feb, 2014 1 commit
-
-
Damien George authored
-
- 05 Feb, 2014 2 commits
-
-
Damien George authored
Fixes Issue #261.
-
Damien George authored
-
- 02 Feb, 2014 2 commits
-
-
Damien George authored
Only works on modules and class instances.
-
Damien George authored
Native emitter has been broken since stack order has changed from reverse to standard. This fix gets it partially working.
-
- 01 Feb, 2014 1 commit
-
-
Damien George authored
IS_NOT and NOT_IN are now compiled to IS + NOT and IN + NOT, with a new special NOT bytecode.
-
- 30 Jan, 2014 1 commit
-
-
Damien George authored
-
- 25 Jan, 2014 2 commits
-
-
Damien George authored
-
Damien George authored
Addresses Issue #203.
-
- 22 Jan, 2014 1 commit
-
-
Damien George authored
-
- 21 Jan, 2014 1 commit
-
-
Damien George authored
Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h
-
- 18 Jan, 2014 3 commits
-
-
Damien George authored
Now searches both locals_dict and methods. Partly addresses Issue #145.
-
Damien George authored
Now working for class-defined methods: __getitem__, __setitem__, __add__, __sub__. Easy to add others.
-
Damien George authored
Change state layout in VM so the stack starts at state[0] and grows upwards. Locals are at the top end of the state and number downwards. This cleans up a lot of the interface connecting the VM to C: now all functions that take an array of Micro Python objects are in order (ie no longer in reverse). Also clean up C API with keyword arguments (call_n and call_n_kw replaced with single call method that takes keyword arguments). And now make_new takes keyword arguments. emitnative.c has not yet been changed to comply with the new order of stack layout.
-
- 15 Jan, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 11 Jan, 2014 1 commit
-
-
Damien George authored
Still need to make built-ins by these names, and write tests.
-
- 09 Jan, 2014 2 commits
-
-
Damien George authored
-
Damien George authored
Creating of classes (types) and instances is much more like CPython now. You can use "type('name', (), {...})" to create classes.
-
- 08 Jan, 2014 1 commit
-
-
Damien George authored
-
- 07 Jan, 2014 3 commits
-
-
John R. Lenton authored
-
John R. Lenton authored
-
John R. Lenton authored
It's not really about that, though; it's about me figuring out a sane way forward for keyword-argument functions (and function metadata). But it's useful as is, and shouldn't break any existing code, so here you have it; I'm going to park it in my mind for a bit while sorting out the rest of the dict branch.
-
- 06 Jan, 2014 1 commit
-
-
ian-v authored
-
- 05 Jan, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 04 Jan, 2014 1 commit
-
-
Damien George authored
Now much more inline with how CPython does types.
-
- 02 Jan, 2014 1 commit
-
-
Damien George 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).
-