41 Commits (7d8b2d89cc6b3734b6ecef36c49354fbf1406687)

Author SHA1 Message Date
Damien George 96007e7de5 py/lexer: Add static assert that token enum values all fit in a byte. 4 months ago
Damien George 3c8089d1b1 py/lexer: Support raw f-strings. 5 months ago
Jim Mussared 5015779a6f py/builtinevex: Handle invalid filenames for execfile. 1 year ago
Damien George 5956466c0e py/builtin: Clean up and simplify import_stat and builtin_open config. 2 years ago
Jim Mussared 692d36d779 py: Implement partial PEP-498 (f-string) support. 3 years ago
Damien George 1783950311 py/compile: Implement PEP 572, assignment expressions with := operator. 4 years ago
Damien George 01e5802ee3 py: Remove 3 obsolete commented-out lines from header files. 5 years ago
Damien George 2069c563f9 py: Add support for matmul operator @ as per PEP 465. 5 years ago
Damien George 6ce7c051e8 py/lexer: Reorder operator tokens to match corresponding binary ops. 5 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Alexander Steffen 299bc62586 all: Unify header guard usage. 7 years ago
Damien George 5124a94067 py/lexer: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George 773278ec30 py/lexer: Simplify handling of line-continuation error. 8 years ago
Damien George ae43679792 py/lexer: Use strcmp to make keyword searching more efficient. 8 years ago
Damien George c305ae3243 py/lexer: Permanently disable the mp_lexer_show_token function. 8 years ago
Damien George 5bdf1650de py/lexer: Make lexer use an mp_reader as its source. 8 years ago
pohmelie 81ebba7e02 py: add async/await/async for/async with syntax 9 years ago
Damien George 031278f661 unix: Allow to cat a script into stdin from the command line. 10 years ago
Damien George 2e2e404ff7 py: Allow to compile with extra warnings (sign-compare, unused-param). 10 years ago
Damien George 7d414a1b52 py: Parse big-int/float/imag constants directly in parser. 10 years ago
Damien George b4b10fd350 py: Put all global state together in state structures. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Paul Sokolovsky 8ab6f90674 py: Move to guarded includes for compile.h and related headers. 10 years ago
Damien George a4c52c5a3d py: Optimise lexer by exposing lexer type. 10 years ago
Damien George 94fbe9711a py: Change lexer stream API to return bytes not chars. 10 years ago
Damien George 54eb4e723e lexer: Convert type (u)int to mp_(u)int_t. 10 years ago
Paul Sokolovsky d3439d0c60 py: Instead of having "debug on" var, have "optimization level" var. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George e09ffa1400 Search paths properly on import and execute __init__.py if it exists. 11 years ago
Damien George b829b5caec Implement mp_parse_node_free; print properly repr(string). 11 years ago
Damien George 08335004cf Add source file name and line number to error messages. 11 years ago
Damien George 9528cd66d7 Convert parse errors to exceptions. 11 years ago
Damien George 69a818d418 py: Improve memory management for parser; add lexer error for bad line cont. 11 years ago
Damien George 9193f89296 Move lexerstr to main py directory (everyone uses it). 11 years ago
ian-v 5fd8fd2c16 Revert MP_BOOL, etc. and use <stdbool.h> instead 11 years ago
ian-v 7a16fadbf8 Co-exist with C++ (issue #85) 11 years ago
Damien George e9906ac3d7 Add ellipsis object. 11 years ago
Damien George 66028ab6dc Basic implementation of import. 11 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs. 11 years ago
Damien fa2162bc77 Integrate new lexer stream with stm framework. 11 years ago
Damien a5185f4bc8 Abstract out back-end stream functionality from lexer. 11 years ago
Damien 91d387de7d Improve indent/dedent error checking and reporting. 11 years ago
Damien 429d71943d Initial commit. 11 years ago