1164 Commits (e69b7e82884cb7af5a3df4677da45f04060deac4)

Author SHA1 Message Date
Damien George 6f355fd3b9 py: Make labels unsigned ints (converted from int). 11 years ago
Damien George bf8ae4d96e py: Fix modstruct to compile on 64-bit machine. 11 years ago
Damien George 635543c72c py, compiler: Implement compiling of relative imports. 11 years ago
Damien George 2e9eb2d207 py: Fix lexer so it doesn't allow ! and .. 11 years ago
Damien George 175cecfa87 py: Make form-feed character a space (following C isspace). 11 years ago
Damien George a91f41407b py, lexer: Fix parsing of raw strings (allow escaping of quote). 11 years ago
Paul Sokolovsky 978607aeff objfun: Fix default arguments filling loop, was broken in presense of kwargs. 11 years ago
Paul Sokolovsky 41e2dea4ca objfun: More debug logging when calling a bytecode function. 11 years ago
Paul Sokolovsky e9db840480 py: Start implementing "struct" module. 11 years ago
Paul Sokolovsky acb133d1b1 makeqstrdata.py: Add support for conditionally defined qstrs. 11 years ago
Paul Sokolovsky 881d9af05e objstr: Add TODO-optimize for using .join with arbitrary iterable. 11 years ago
Damien George 5589db88c7 py: Implement complex division. 11 years ago
Damien George e2835c16f4 py: Oops, fix emitcpy to compile with latest changes. 11 years ago
Andrew Scheller f78cfaf8b5 Remove exception name from inside the exception message 11 years ago
Damien George b5fbd0ba87 py: Add mp_obj_is_integer; make mp_get_index check for long int. 11 years ago
Damien George d99944acdd py: Clear state to MP_OBJ_NULL before executing byte code. 11 years ago
Damien George a157e4caba py: str.join can now take arbitrary iterable as argument. 11 years ago
Damien George 13d6739cc7 py: Generators can have their locals closed over. 11 years ago
Damien George 2bf7c09222 py: Properly implement deletion of locals and derefs, and detect errors. 11 years ago
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
xbe 3d9a39e211 py: Implement str.[r]index() and add tests for them. 11 years ago
xbe 729be9b3c7 py: Update comment in str.replace(). 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