202 Commits (b9d850227dabb628e0f75c8d3c7b5160e2cc2083)

Author SHA1 Message Date
Damien George 4112590a60 py, compiler: When just bytecode, make explicit calls instead of table. 10 years ago
Damien George a210c774f9 py, compiler: Remove emit_pass1 code, using emit_bc to do its job. 10 years ago
Damien George 542bd6b4a1 py, compiler: Refactor load/store/delete_id logic to reduce code size. 10 years ago
Damien George 44f65c0e2f py: Fix bug in compiler which allowed through illegal augmented assign. 10 years ago
Damien George aedf583af2 py: Simplify some logic in compiler; add comments about CPython compat. 10 years ago
Damien George 1ef26b35c1 py, extmod: Remove include of unnecessary system headers. 10 years ago
Damien George 42e0c59308 py: Add MICROPY_COMP_{DOUBLE,TRIPLE}_TUPLE_ASSIGN config options. 10 years ago
Damien George a77ffe66b2 py: In compiler, put macro guard around potentially unused asm vars. 10 years ago
Damien George 3665d0b2ff py: Simplify some inline-assembler error messages, but retain meaning. 10 years ago
Damien George 9c5cabb502 py: Give error for duplicate label in inline assembler. 10 years ago
Damien George 62a3a287d9 py: Set compiler scope before folding constants so error messages work. 10 years ago
Damien George 7711afbb4a py: Combine complie functions for or_test/and_test to reduce code size. 10 years ago
Damien George 63f3832e81 py: Combine emit functions for jump true/false to reduce code size. 10 years ago
Damien George 0b2fd91890 py: Combine logic for compiling and/or tests, to reduce code size. 10 years ago
Damien George 0bb971370b py: Transform assert logic in compiler to save code space. 10 years ago
Damien George 3d7bf5d4b1 py: More robust checking in inline assembler compiler. 10 years ago
Damien George dfe944c3e5 py: Expose compile.c:list_get as mp_parse_node_extract_list. 10 years ago
Damien George 8dfbd2d589 py: Make inline assembler raise proper SyntaxError exception on error. 10 years ago
Damien George 7d414a1b52 py: Parse big-int/float/imag constants directly in parser. 10 years ago
Damien George 0bfc7638ba py: Protect mp_parse and mp_compile with nlr push/pop block. 10 years ago
Damien George 0d3cb6726d py: Change vstr so that it doesn't null terminate buffer by default. 10 years ago
Damien George 05005f679e py: Remove mp_obj_str_builder and use vstr instead. 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Damien George 50912e7f5d py, unix, stmhal: Allow to compile with -Wshadow. 10 years ago
Damien George 963a5a3e82 py, unix: Allow to compile with -Wsign-compare. 10 years ago
Damien George 0abb5609b0 py: Remove unnecessary id_flags argument from emitter's load_fast. 10 years ago
Damien George d2d64f00fb py: Add "default" to switches to allow better code flow analysis. 10 years ago
Damien George 65ef6b768c py: Only allocate strings/bytes once for load_const_obj. 10 years ago
Damien George 1e1779eacf py: Reluctantly add an extra pass to bytecode compiler. 10 years ago
Damien George c935d69f74 py: Make compiler not crash when default except is not last. 10 years ago
Damien George 4c81ba8015 py: Never intern data of large string/bytes object; add relevant tests. 10 years ago
Damien George ddd1e18801 py: Add config option MICROPY_COMP_MODULE_CONST for module consts. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 83204f3406 py: Allow to properly disable builtin slice operation. 10 years ago
Damien George e37dcaafb4 py: Allow to properly disable builtin "set" object. 10 years ago
Damien George 01039b5bd8 py: Remove last uses of printf from compile; use proper SyntaxError. 10 years ago
Damien George 584ba6762f py: Move global/nonlocal decl code to compiler for proper SyntaxError. 10 years ago
Damien George 6efa66f125 py: Remove unnecessary RULE_none and PN_none from parser. 10 years ago
Damien George e181c0dc07 py: Fix optimised for-loop compiler so it follows proper semantics. 10 years ago
Damien George c33ce606cf py: Fix a semantic issue with range optimisation. 10 years ago
Damien George 969a6b37bf py: Make functions static where appropriate. 10 years ago
Paul Sokolovsky 039887a0ac py: Fix bug with right-shifting small ints by large amounts. 10 years ago
Damien George 391db8669b py: Add more compiler optimisations for constant if/while conditions. 10 years ago
Damien George 235f9b33c8 py: Simplify compilation of elif blocks. 10 years ago
Damien George 090c9236e8 py: Fix compiling of nested while/for and exception handler. 10 years ago
Damien George a91ac2011f py: Make compiler return a proper exception on SyntaxError. 10 years ago
Damien George 00be7a849a py: Fix unix-cpy to compile with uint->mp_uint_t changes. 10 years ago
Damien George 39dc145478 py: Change [u]int to mp_[u]int_t in qstr.[ch], and some other places. 10 years ago
Damien George 42f3de924b py: Convert [u]int to mp_[u]int_t where appropriate. 10 years ago
Damien George 52b5d76a6b py: Free non-interned strings in the parser when not needed. 10 years ago