359 Commits (1b1ceb67b25e0ea56c1e972514a48468fe478ad3)

Author SHA1 Message Date
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
Damien George b601d9574a py: Improvements to native emitter. 11 years ago
Paul Sokolovsky 59c675a64c py: Include mpconfig.h before all other includes. 11 years ago
Emmanuel Blot f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ 11 years ago
Damien George f0778a7ccb py: Implement default keyword only args. 11 years ago
Damien George 5b5562c1d1 py: Fix stack underflow with optimised for loop. 11 years ago
Damien George 25c84643b6 py: Fix break from within a for loop. 11 years ago
Damien George d1e355ea8e py: Fix check of small-int overflow when parsing ints. 11 years ago
Damien George 5042bce8fb py: Don't automatically intern strings in parser. 11 years ago
Damien George 58ebde4664 Tidy up some configuration options. 11 years ago
Damien George 96f137b24a py: Rename BYTE_CODE to BYTECODE (this was missed in previous rename). 11 years ago
Damien George 3417bc2f25 py: Rename byte_code to bytecode everywhere. 11 years ago
Damien George ffae48d750 py, compiler: Add basic support for A=const(123). 11 years ago
Damien George 36db6bcf54 py, compiler: Improve passes; add an extra pass for native emitter. 11 years ago
Damien George ca25c15d56 py, compiler: Start adding support for compile-time constants. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 708c073250 py: Add '*' qstr for 'import *'; use blank qstr for comprehension arg. 11 years ago
Damien George 968bf34c4c py: Remove unnecessary LOAD_CONST_ID bytecode. 11 years ago
Damien George 9d181f62dc py: Save some ROM by shortening compiler error messages. 11 years ago
Damien George 2c0842b3c5 py: Change the way function arguments are compiled. 11 years ago
Damien George 2827d62e8b py: Implement keyword-only args. 11 years ago
Damien George 6d3c5e4301 Add ARRAY_SIZE macro, and use it where possible. 11 years ago
Damien George 1463c1fa82 py: Add MICROPY_ENABLE_DOC_STRING, disabled by default. 11 years ago
Damien George e5f8a77db6 py: Add 'align' and 'data' meta-instructions to inline assembler. 11 years ago
Damien George 3558f62fb5 py: Making closures now passes pointer to stack, not a tuple for vars. 11 years ago
Damien George 729f7b42d6 py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr. 11 years ago
Damien George df8127a17e py: Remove unique_codes from emitglue.c. Replace with pointers. 11 years ago
Damien George a26dc50968 py: Improve inline assembler; improve compiler constant folding. 11 years ago
Damien George 7b4330191f py, compiler: Fix up creation of default positionals tuple. 11 years ago
Damien George 8b19db00aa py, compiler: Fix compiling of keyword args following named star. 11 years ago
Damien George 69b89d21b2 py: Change compile order for default positional and keyword args. 11 years ago
Damien George 0e3329a6b8 py, compiler: Allow lambda's to yield. 11 years ago
Damien George 0288cf020e py: Implement compiling of *-expr within parenthesis. 11 years ago
Damien George 57e99ebc86 py: Add simple way of looking up constants in compiler. 11 years ago