summaryrefslogtreecommitdiffstatshomepage
path: root/py/compile.c
Commit message (Expand)AuthorAge
* all: Use the name MicroPython consistently in commentsAlexander Steffen2017-07-31
* py/compile: Fix enum variable declaration.Damien George2017-07-09
* py/compile: Use switch-case to match token and operator.Krzysztof Blazewicz2017-07-05
* py/compile: Combine arith and bit-shift ops into 1 compile routine.Krzysztof Blazewicz2017-07-05
* py/compile: Optimise emitter label indices to save a word of heap.Damien George2017-06-22
* py/compile: Fix bug with break/continue in else of optimised for-range.Damien George2017-06-22
* py/compile: Raise SyntaxError if positional args are given after */**.Damien George2017-06-14
* various: Spelling fixesVille Skyttä2017-05-29
* py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls.Damien George2017-04-22
* py/compile: Refactor handling of special super() call.Damien George2017-04-22
* py/compile: Don't do unnecessary check if iter parse node is a struct.Damien George2017-04-22
* py/compile: Add COMP_RETURN_IF_EXPR option to enable return-if-else opt.Damien George2017-04-22
* py/compile: Extract parse-node kind at start of func for efficiency.Damien George2017-04-22
* py/compile: Don't do unnecessary check if parse node is a struct.Damien George2017-04-22
* py: Raise a ValueError if range() step is zero.Damien George2017-04-05
* py/compile: Provide terse error message for invalid dict/set literals.Damien George2017-03-29
* py: Shorten a couple of error messages.Damien George2017-03-29
* py/compile: Simplify syntax-error messages for illegal assignments.Damien George2017-03-29
* py/compile: When compiling super(), handle closed-over self variable.Damien George2017-03-27
* py: Define and use MP_OBJ_ITER_BUF_NSLOTS to get size of stack iter buf.Damien George2017-03-23
* py: Create str/bytes objects in the parser, not the compiler.Damien George2017-02-24
* py: Do adjacent str/bytes literal concatenation in lexer, not compiler.Damien George2017-02-17
* py/grammar: Group no-compile grammar rules together to shrink tables.Damien George2017-02-16
* py/compile: Optimise list/dict/set comprehensions to use stack iter.Damien George2017-02-16
* py: Remove unused "use_stack" argument from for_iter_end emit function.Damien George2017-02-16
* py: Optimise storage of iterator so it takes only 4 slots on Py stack.Damien George2017-02-16
* py: Make FOR_ITER opcode pop 1+4 slots from the stack when finished.Damien George2017-02-16
* py: Allow bytecode/native to put iter_buf on stack for simple for loops.Damien George2017-02-16
* py/compile: Add an extra pass for Xtensa inline assembler.Damien George2016-12-19
* py/emitinline: Move common code for end of final pass to compiler.Damien George2016-12-09
* py/emitinline: Move inline-asm align and data methods to compiler.Damien George2016-12-09
* py: Add inline Xtensa assembler.Damien George2016-12-09
* py: Allow inline-assembler emitter to be generic.Damien George2016-12-09
* py: Integrate Xtensa assembler into native emitter.Damien George2016-12-09
* py/compile: Simplify configuration of native emitter.Damien George2016-12-07
* py/compile: Remove comment about TODO for short circuiting for if-stmt.Damien George2016-11-26
* py/parse: Make mp_parse_node_new_leaf an inline function.Damien George2016-11-15
* py/parse: Move function to check for const parse node to parse.[ch].Damien George2016-11-15
* py/compile: Remove debugging code for compiler dispatch.Damien George2016-10-12
* py/compile: Remove unreachable code.Damien George2016-10-11
* py/compile: Fix typo when checking for parse-node kind.Damien George2016-09-30
* py/scope: Factor common code to find locals and close over them.Damien George2016-09-30
* py/scope: Use lookup-table to determine a scope's simple name.Damien George2016-09-30
* py/compile: Fix async-for/async-with to work with simpler exc on stack.Damien George2016-09-28
* py: Only store the exception instance on Py stack in bytecode try block.Damien George2016-09-27
* py: Combine 3 comprehension emit functions (list/dict/set) into 1.Damien George2016-09-19
* py/compile: Don't compile assert statements when optimisations enabled.Damien George2016-08-26
* py: Declare constant data as properly constant.Damien George2016-05-20
* py: Fix constant folding and inline-asm to work with new async grammar.Damien George2016-04-13
* py: add async/await/async for/async with syntaxpohmelie2016-04-13