911 Commits (11d8cd54c992eee55f27d3779738626bdc095c03)

Author SHA1 Message Date
Damien George 11d8cd54c9 py, compiler: Turn id_info_t.param into a set of flags. 11 years ago
Damien George b140bff877 py, compile: Simplify initialisation of compiler structure. 11 years ago
Damien George 02a4c05c5f py, compile: Reduce size of compiler structure. 11 years ago
Damien George 922ddd6415 py, compile: Combine have_star_arg, have_dbl_star_arg into star_flags. 11 years ago
Damien George 78035b995f py, compiler: Clean up and compress scope/compile structures. 11 years ago
Paul Sokolovsky 03b9ad7b01 gc.c: Remove superfluous typedef (bute defined in misc.h). 11 years ago
Damien George 88d7bba961 py: Make it so that printing a small int does not allocate heap memory. 11 years ago
Damien George eec91057b8 py: Add comment mpz function, and free memory used for string printing. 11 years ago
Paul Sokolovsky a985b4593d objint: Implement int.from_bytes() class method and .to_bytes() method. 11 years ago
Paul Sokolovsky 3aa8ee7c9e py: Add mp_get_buffer(), mp_get_buffer_raise() convenience functions to API. 11 years ago
Damien George 348435d279 py: Reinstate old pfenv_print_int function for stmhal's printf. 11 years ago
Damien George a9837bbf8b py: Remove obsolete mp_delete_subscr declaration. 11 years ago
Damien George f4c9b33abf py: Remove DELETE_SUBSCR opcode, combine with STORE_SUBSCR. 11 years ago
Damien George 1d24ea5207 py: Finish implementation of all del opcodes. 11 years ago
Paul Sokolovsky 4dcb605ac4 py: Make bytearray a proper type. 11 years ago
Damien George 47e1b85d9c py: Improve inline assembler; add a few more opcodes. 11 years ago
Damien George 495d781a36 py: implement UNPACK_EX byte code (for: a, *b, c = d) 11 years ago
Paul Sokolovsky 7a70a3ae9a bytes: Support buffer protocol. 11 years ago
Paul Sokolovsky b9cf3d3730 bytearray: Support bytearray(int) constructor. 11 years ago
Damien George e753d916c0 py: Raise exception for unimplemented byte codes. 11 years ago
Damien George b7ffdcc1c7 py: Improve compiler syntax errors; catch more errors. 11 years ago
Damien George 26cf55ae05 Add a check for NULL nlr_top in nlr_jump. 11 years ago
Damien George 73c79b9925 py: Continue line if last character is backslash. 11 years ago
Damien George 443e018a3f py: Improve GC locking/unlocking, and make it part of the API. 11 years ago
Damien George 97790455fe Improve REPL detecting when input needs to continue. 11 years ago
Andrew Scheller 12968fb6b2 Display \r and \t escape codes in string repr 11 years ago
Damien George a12a0f78b0 py: Rename pfenv_print_int to pfenv_print_mp_int, and add back former. 11 years ago
Dave Hylands 23dc6d0ace Fix truncation problem when using longlong implementation. 11 years ago
Dave Hylands c4029e5079 Add string formatting support for longlong and mpz. 11 years ago
Damien George a28507ab2b py: Detect unmatched tripple quote in repl helper. 11 years ago
Andrew Scheller 902d9552c5 Replace some Makefile commands with variables in py/mkenv.mk 11 years ago
Damien George 2bfd2dc770 py: Revert revert for allocation policy of set hash table. 11 years ago
Paul Sokolovsky 46bd12d57e objset: Fix incorrect workaround against mp_set_init() munging alloc size. 11 years ago
Damien George c75427baaa py: Revert change to allocation policy for mp_set_t. 11 years ago
Damien George ff715429ea py: Fix str.replace for case when arg 0 or 1 is empty string. 11 years ago
Paul Sokolovsky 7cf057aeeb objdict: Implement equality operator. 11 years ago
Paul Sokolovsky 5fedd0c3b7 py: Fix dict.copy() and low-level map/set allocation. 11 years ago
Paul Sokolovsky ea85a121f2 objdict: Support creating dict from another dict. 11 years ago
Damien George cdd96dff2c py: Implement more features in native emitter. 11 years ago
Damien George 65cad12d38 py: Add option to compiler to specify default code emitter. 11 years ago
Damien George deed087e2c py: str.split: handle non-default separator. 11 years ago
Paul Sokolovsky 36dd19ae27 py: Revert mp_load_attr() to its previous state (not supporting default val). 11 years ago
Damien George d0e824387e py: Make mp_map_lookup not allocate memory on removal. 11 years ago
Paul Sokolovsky 080d99b7a8 py: Optimize locals()/globals() implementation. 11 years ago
Damien George 27e735fd18 py: Replace stream_p with *stream_p in mp_obj_type_t. 11 years ago
Paul Sokolovsky cc0af3d727 py: Implement globals() and locals() builtins. 11 years ago
Damien George 17520224fa py: Make all objects and instances derive from object. 11 years ago
Damien George 7efc5b3f34 py: Make globals and locals proper dictionary objects. 11 years ago
Damien George 8b0535e23f py: Change module globals from mp_map_t* to mp_obj_dict_t*. 11 years ago
Damien George 60be1cf3b9 py: Fix float printing on stmhal. 11 years ago