292 Commits (e30ba2f1c7d0cccaf62640aa97de9fd6e82dcab7)

Author SHA1 Message Date
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
Damien George 7ff996c237 py: Convert [u]int to mp_[u]int_t in emit.h and associated .c files. 10 years ago
Damien George c90f59ec3a py: Add support for emitting native x86 machine code. 10 years ago
Damien George dda46460ff Code style/whitespace cleanup; remove obsolete headers. 10 years ago
Damien George eb4e18f057 py: Add compiler optimisation for conditions in parenthesis. 10 years ago
Fabian Vogt fe3d16e8c2 Basic native ARM emitter 10 years ago
Damien George a5190a7dac py: Fix typing of viper locals; allow default types in annotation. 10 years ago
Damien George 2ac4af6946 py: Allow viper to have type annotations. 10 years ago
Damien George 6be0b0a8ec py: Clean up and simplify functions in scope; add STATIC in compiler. 10 years ago
Paul Sokolovsky 8215847b4d moductypes: Foreign data interface module, roughly based on ctype ideas. 11 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago