35 Commits (c99322f8d8ec6c288dd734e5f5fb344670215692)

Author SHA1 Message Date
Damien George 3f39d18c2b all: Add *FORMAT-OFF* in various places. 5 years ago
Damien George 2069c563f9 py: Add support for matmul operator @ as per PEP 465. 5 years ago
Damien George 25ae98f07c py/compile: Combine expr, xor_expr and and_expr into one function. 6 years ago
Damien George 36e474e83f py/compile: Combine or_test and and_test compile functions. 6 years ago
Damien George 1a7109d65a py/compile: Combine global and nonlocal statement compile functions. 6 years ago
Damien George d23bec3fc8 py/compile: Combine subscript_2 and subscript_3 into one function. 6 years ago
Damien George c149197928 py/compile: Combine break and continue compile functions. 6 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Krzysztof Blazewicz a040fb89e7 py/compile: Combine arith and bit-shift ops into 1 compile routine. 8 years ago
Damien George 5335942b59 py/compile: Refactor handling of special super() call. 8 years ago
Damien George bdebfaa4bf py/grammar: Remove unused rule. 8 years ago
Damien George 534b7c368d py: Do adjacent str/bytes literal concatenation in lexer, not compiler. 8 years ago
Damien George 71019ae4f5 py/grammar: Group no-compile grammar rules together to shrink tables. 8 years ago
Damien George 0c1de1cdee py: Simplify "and" action within parser by making ident-rules explicit. 9 years ago
pohmelie 81ebba7e02 py: add async/await/async for/async with syntax 9 years ago
Damien George 3acaa28b52 py: Don't allocate an extra parse node for power exponent. 9 years ago
Damien George 9a56912ad1 py/compile: Do proper checking of * and ** in function definition. 9 years ago
Damien George 2c83894257 py: Implement default and star args for lambdas. 9 years ago
Damien George b948de36fb py: Don't generate unnecessary parse nodes for assignment or kwargs. 9 years ago
Damien George 96f0dd3cbc py/parse: Fix handling of empty input so it raises an exception. 9 years ago
Damien George 4735c45c51 py: Clean up some bits and pieces in parser, grammar. 10 years ago
Damien George fa90ab1407 py: Simplify grammar for stmt rule (this is also how CPython has it). 10 years ago
Damien George 7d414a1b52 py: Parse big-int/float/imag constants directly in parser. 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 b47ea4eadd py: Add blank and ident flags to grammar rules to simplify parser. 10 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 2c0842b3c5 py: Change the way function arguments are compiled. 11 years ago
Paul Sokolovsky 2f0b026a44 Clean up handling of function return type annotation. 11 years ago
Damien George 35e2a4e6bb py: Add built-in super. 11 years ago
Damien George d02c6d8962 Implement eval. 11 years ago
Damien George e9906ac3d7 Add ellipsis object. 11 years ago
Damien e388f1034e py: fix bug with doc string not recognised after first newline of file. 11 years ago
Damien 3997be444c Add single_input rule to grammar, for REPL. 11 years ago
Damien 429d71943d Initial commit. 11 years ago