summaryrefslogtreecommitdiff
path: root/py
AgeCommit message (Collapse)Author
2014-01-02py: __MACH__ also uses MAP_ANON.Damien George
2014-01-02py: change negative array indices with array - 1.Damien George
2014-01-02py: Add more bytecodes to showbc.c.Damien George
2014-01-02Add quick impl for MP_BC_LOAD_CONST_BYTES which just creates qstr so far.Paul Sokolovsky
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)).
2014-01-02py: remove depedence on strcat and stpcpy.Damien George
This fixes Issue #29, and means the core is no longer dependent on string functions, except strlen.
2014-01-02py: Add framework for built-in "type()" function.Damien George
2014-01-01On OpenBSD MAP_ANONYMOUS is called MAP_ANON.Edd Barrett
2014-01-01py: change declaration of mp_map_t in obj.h (for issue #24).Damien George
2014-01-01py: add int() and float() built-ins, partially implemented.Damien George
2013-12-30Merge pull request #12 from pfalcon/minor-fixesDamien George
Minor fixes
2013-12-30py: make closures work.Damien George
2013-12-30Typo fix in comment.Paul Sokolovsky
2013-12-30Put unicode functions in unicode.c, and tidy their names.Damien George
2013-12-30Make unix-cpy cross platform; remove dependency of asmx64 on mpconfig.Damien George
2013-12-30Merge branch 'cross-plat' of https://github.com/pfalcon/micropython into ↵Damien George
pfalcon-cross-plat
2013-12-30Make "unix" target be crossplatform and support x86, x64, ARM hosts.Paul Sokolovsky
2013-12-29py: add dict length function, and fix rt_store_set.Damien
2013-12-29Change memory allocation API to require size for free and realloc.Damien
2013-12-29py: implement POP_BLOCK in VM.Damien
2013-12-29Handle return value of read() call.Paul Sokolovsky
2013-12-29Add unix-cpy, used to test Micro Python byte code against CPython.Damien
2013-12-29py: implement some basic exception matching.Damien
2013-12-29Add code in VM to handle nested exceptions correctly.Damien
2013-12-29Parse upper-case hex numbers correctly.Damien
2013-12-21py: simplify __next__ method for generators.Damien
2013-12-21Change object representation from 1 big union to individual structs.Damien
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).
2013-12-20Fix a few compiler warnings.Damien
2013-12-17py: add more Python built-in functions.Damien
2013-12-17py: split runtime into map, obj, builtin.Damien
2013-12-12py: remove further unnecessary emit_verbatim code.Damien
2013-12-12py: fix bug with doc string not recognised after first newline of file.Damien
2013-12-12py: reduce use of emit_verbatim calls to minimum.Damien
2013-12-11py: work towards working closures.Damien
2013-12-10py: emit correct id for closed over variables.Damien
2013-12-10py: compiler supports string juxtaposition=concatenation.Damien
2013-12-10py: add skeletal import functionality.Damien
2013-11-28py: built-in range now accepts variable number of arguments.Damien
2013-11-28py: restrict further when for-range optimisation is done.Damien
2013-11-26py: add list pop and sort, unpack_sequence, and keywords in method_call.Damien
2013-11-26py: add UNPACK_SEQUENCE and keyword methods to VM.Damien
2013-11-26py: add more functionality to showbc.Damien
2013-11-25py: add call to __init__ when instantiating class object.Damien
2013-11-25py: add some more opcodes to showbc.Damien
2013-11-17Add function to decode and show byte code.Damien
2013-11-17Change some debugging/output messages for native code generation.Damien
2013-11-16Viper: function calls now convert constant arguments to objects.Damien
2013-11-09Add len and subscr (a hack) support for strings.Damien
2013-11-09Add JUMP_IF_x_OR_POP opcodes to VM.Damien
2013-11-09Fix but with optimised range being 1 over.Damien
2013-11-06Add optimisation for "for x in range".Damien