summaryrefslogtreecommitdiffstatshomepage
path: root/py
Commit message (Collapse)AuthorAge
* Implements list.insert. Fixes issue #61.John R. Lenton2014-01-04
|
* Implements list.index. Fixes issue #57.John R. Lenton2014-01-04
|
* Implemented list.countJohn R. Lenton2014-01-03
|
* Implemented list.copy. Fixes issue #54.John R. Lenton2014-01-03
|
* Added list.clear. Fixes issue #53.John R. Lenton2014-01-03
|
* Merge remote-tracking branch 'upstream/master'John R. Lenton2014-01-03
|\
| * Rename default config file to mpconfig.h, and port's to mpconfigport.h.Paul Sokolovsky2014-01-03
| | | | | | | | mpconfig.h will automatically pull mpconfigport.h.
| * Make it possible to turn off collecting memory stats (MICROPY_MEM_STATS).Paul Sokolovsky2014-01-03
| |
| * Add new alloc metric: peak_bytes_allocated.Paul Sokolovsky2014-01-03
| | | | | | | | This is just max value of current_bytes_allocated seen.
| * Add new alloc metric: current_bytes_allocated.Paul Sokolovsky2014-01-03
| | | | | | | | Unlike total_bytes_allocated, this tracks m_free()'s too.
| * m_realloc: Account only allocation size difference in total_bytes_allocated.Paul Sokolovsky2014-01-03
| |
| * Merge pull request #43 from chipaca/masterDamien George2014-01-03
| |\ | | | | | | Implement list addition.
| * | Change mp_compile so that it returns a function object for the module.Damien George2014-01-03
| | |
| * | Add note about implementing inplace operators.Damien George2014-01-03
| | |
| * | Basic implementation of import.Damien George2014-01-03
| | | | | | | | | | | | | | | | | | import works for simple cases. Still work to do on finding the right script, and setting globals/locals correctly when running an imported function.
* | | Worked on list.pop:John R. Lenton2014-01-03
| |/ |/| | | | | | | | | * Fixes issue #51 * Adds a specific error message for when you try to pop an empty list. * Releases some memory if the list has shurnk a lot.
* | Changed to use memcpy.John R. Lenton2014-01-03
| |
* | Add a bit of whitespace.John R. Lenton2014-01-03
| |
* | untabifiedJohn R. Lenton2014-01-03
| |
* | Add list addition (fixes: #39)John R. Lenton2014-01-03
|/
* Change old use of module creation to new proper use.Damien George2014-01-03
|
* Add module object, to be used eventually for import.Damien George2014-01-02
|
* py: Fix generator where state array was incorrectly indexed.Damien George2014-01-02
| | | | | Generator objects now allocate the object and the state in one malloc. This improvement fixes Issue #38.
* py: __MACH__ also uses MAP_ANON.Damien George2014-01-02
|
* py: change negative array indices with array - 1.Damien George2014-01-02
|
* py: Add more bytecodes to showbc.c.Damien George2014-01-02
|
* Add quick impl for MP_BC_LOAD_CONST_BYTES which just creates qstr so far.Paul Sokolovsky2014-01-02
| | | | | This is based on the fact that qstr so far behaves more like byte string than like Unicode string (for example, "012"[0] returns 48 (int)).
* py: remove depedence on strcat and stpcpy.Damien George2014-01-02
| | | | | This fixes Issue #29, and means the core is no longer dependent on string functions, except strlen.
* py: Add framework for built-in "type()" function.Damien George2014-01-02
|
* On OpenBSD MAP_ANONYMOUS is called MAP_ANON.Edd Barrett2014-01-01
|
* py: change declaration of mp_map_t in obj.h (for issue #24).Damien George2014-01-01
|
* py: add int() and float() built-ins, partially implemented.Damien George2014-01-01
|
* Merge pull request #12 from pfalcon/minor-fixesDamien George2013-12-30
|\ | | | | Minor fixes
| * Typo fix in comment.Paul Sokolovsky2013-12-30
| |
* | py: make closures work.Damien George2013-12-30
|/
* Put unicode functions in unicode.c, and tidy their names.Damien George2013-12-30
|
* Make unix-cpy cross platform; remove dependency of asmx64 on mpconfig.Damien George2013-12-30
|
* Merge branch 'cross-plat' of https://github.com/pfalcon/micropython into ↵Damien George2013-12-30
|\ | | | | | | pfalcon-cross-plat
| * Make "unix" target be crossplatform and support x86, x64, ARM hosts.Paul Sokolovsky2013-12-30
| |
* | py: add dict length function, and fix rt_store_set.Damien2013-12-29
|/
* Change memory allocation API to require size for free and realloc.Damien2013-12-29
|
* py: implement POP_BLOCK in VM.Damien2013-12-29
|
* Handle return value of read() call.Paul Sokolovsky2013-12-29
|
* Add unix-cpy, used to test Micro Python byte code against CPython.Damien2013-12-29
|
* py: implement some basic exception matching.Damien2013-12-29
|
* Add code in VM to handle nested exceptions correctly.Damien2013-12-29
|
* Parse upper-case hex numbers correctly.Damien2013-12-29
|
* py: simplify __next__ method for generators.Damien2013-12-21
|
* Change object representation from 1 big union to individual structs.Damien2013-12-21
| | | | | | | | | | 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).
* Fix a few compiler warnings.Damien2013-12-20
|