1871 Commits (0475de1350726871eca827d637fd423dfd836ca2)

Author SHA1 Message Date
Damien George 0ff883904a py: Fix generator where state array was incorrectly indexed. 11 years ago
Damien George ebd2e8702d py: __MACH__ also uses MAP_ANON. 11 years ago
Damien George 66327006fc py: change negative array indices with array - 1. 11 years ago
Damien George 27bf5b829b py: Add more bytecodes to showbc.c. 11 years ago
Paul Sokolovsky bdf822b3d8 Add quick impl for MP_BC_LOAD_CONST_BYTES which just creates qstr so far. 11 years ago
Damien George fe8fb9165c py: remove depedence on strcat and stpcpy. 11 years ago
Damien George 40563d56bd py: Add framework for built-in "type()" function. 11 years ago
Edd Barrett 67ab5ee779 On OpenBSD MAP_ANONYMOUS is called MAP_ANON. 11 years ago
Damien George df884fe4cc py: change declaration of mp_map_t in obj.h (for issue #24). 11 years ago
Damien George 209d1b1835 py: add int() and float() built-ins, partially implemented. 11 years ago
Damien George 6baf76e28b py: make closures work. 11 years ago
Paul Sokolovsky 2efbc622cb Typo fix in comment. 11 years ago
Damien George 8cc96a35e5 Put unicode functions in unicode.c, and tidy their names. 11 years ago
Damien George 212c296c0b Make unix-cpy cross platform; remove dependency of asmx64 on mpconfig. 11 years ago
Paul Sokolovsky e85c38992d Make "unix" target be crossplatform and support x86, x64, ARM hosts. 11 years ago
Damien dae7eb7226 py: add dict length function, and fix rt_store_set. 11 years ago
Damien 732407f1bf Change memory allocation API to require size for free and realloc. 11 years ago
Damien 02a7c41e76 py: implement POP_BLOCK in VM. 11 years ago
Paul Sokolovsky 44d0f3cfa2 Handle return value of read() call. 11 years ago
Damien de690d128b Add unix-cpy, used to test Micro Python byte code against CPython. 11 years ago
Damien b86e3f9293 py: implement some basic exception matching. 11 years ago
Damien 8f9e2ee157 Add code in VM to handle nested exceptions correctly. 11 years ago
Damien dd12d1378f Parse upper-case hex numbers correctly. 11 years ago
Damien d9d6201b52 py: simplify __next__ method for generators. 11 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs. 11 years ago
Damien e2880aa2fd Fix a few compiler warnings. 11 years ago
Damien a3dcd9e80c py: add more Python built-in functions. 11 years ago
Damien 660365e14c py: split runtime into map, obj, builtin. 11 years ago
Damien a1b2693161 py: remove further unnecessary emit_verbatim code. 11 years ago
Damien e388f1034e py: fix bug with doc string not recognised after first newline of file. 11 years ago
Damien 02f8941bf6 py: reduce use of emit_verbatim calls to minimum. 11 years ago
Damien 9ecbcfff99 py: work towards working closures. 11 years ago
Damien 318aec6ba9 py: emit correct id for closed over variables. 11 years ago
Damien 6332174ab4 py: compiler supports string juxtaposition=concatenation. 11 years ago
Damien db4c361f1c py: add skeletal import functionality. 11 years ago
Damien 033d17a633 py: built-in range now accepts variable number of arguments. 11 years ago
Damien d79338969b py: restrict further when for-range optimisation is done. 11 years ago
Damien 86c7fc7dd9 py: add list pop and sort, unpack_sequence, and keywords in method_call. 11 years ago
Damien 6f3e7fc505 py: add UNPACK_SEQUENCE and keyword methods to VM. 11 years ago
Damien ff099f36d6 py: add more functionality to showbc. 11 years ago
Damien d47f9d5a4f py: add call to __init__ when instantiating class object. 11 years ago
Damien c1075ddc8f py: add some more opcodes to showbc. 11 years ago
Damien f03001f8a6 Add function to decode and show byte code. 11 years ago
Damien 0446a0d76d Change some debugging/output messages for native code generation. 11 years ago
Damien 6d4f3462c4 Viper: function calls now convert constant arguments to objects. 11 years ago
Damien 6b92d451b2 Add len and subscr (a hack) support for strings. 11 years ago
Damien 94658e2e25 Add JUMP_IF_x_OR_POP opcodes to VM. 11 years ago
Damien f3822fc34c Fix but with optimised range being 1 over. 11 years ago
Damien f72fd0e875 Add optimisation for "for x in range". 11 years ago
Damien 5bf32c3b6b Built-in print function supports variable number of arguments. 11 years ago