aboutsummaryrefslogtreecommitdiff
path: root/py/lexer.c
AgeCommit message (Expand)Author
2022-05-17py/persistentcode: Remove unicode feature flag from .mpy file.Damien George
2021-11-25py/lexer: Support nested [] and {} characters within f-string params.Damien George
2021-08-19py/lexer: Clear fstring_args vstr on lexer free.Jim Mussared
2021-08-14py: Implement partial PEP-498 (f-string) support.Jim Mussared
2020-10-22py, extmod: Introduce and use MP_FALLTHROUGH macro.Emil Renner Berthing
2020-06-16py/compile: Implement PEP 572, assignment expressions with := operator.Damien George
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2019-09-26py: Add support for matmul operator @ as per PEP 465.Damien George
2018-06-12py/lexer: Add support for underscores in numeric literals.Damien George
2017-10-04all: Remove inclusion of internal py header files.Damien George
2017-08-13all: Raise exceptions via mp_raise_XXXJavier Candeira
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-07-07py,extmod: Some casts and minor refactors to quiet compiler warnings.Tom Collins
2017-05-12py/lexer: Process CR earlier to allow newlines checks on chr1.Tom Collins
2017-05-09py/lexer: Simplify lexer startup by using dummy bytes and next_char().Tom Collins
2017-03-29py/lexer: Simplify and reduce code size for operator tokenising.Damien George
2017-03-23py/lexer: Remove obsolete comment, since lexer can now raise exceptions.Damien George
2017-03-14py: Allow lexer to raise exceptions during construction.Damien George
2017-02-17py/lexer: Convert mp_uint_t to size_t where appropriate.Damien George
2017-02-17py: Do adjacent str/bytes literal concatenation in lexer, not compiler.Damien George
2017-02-17py/lexer: Simplify handling of line-continuation error.Damien George
2017-02-17py/lexer: Use strcmp to make keyword searching more efficient.Damien George
2017-02-17py/lexer: Move check for keyword to name-tokenising block.Damien George
2017-02-17py/lexer: Simplify handling of indenting of very first token.Damien George
2017-02-16py/lexer: Don't generate string representation for period or ellipsis.Damien George
2017-01-30extmod/vfs_fat: Remove MICROPY_READER_FATFS component.Damien George
2017-01-27extmod: Add generic VFS sub-system.Damien George
2016-12-22py/lexer: Permanently disable the mp_lexer_show_token function.Damien George
2016-12-22py/lexer: Remove unnecessary check for EOF in lexer's next_char func.Damien George
2016-12-22py/lexer: Remove unreachable code in string tokeniser.Damien George
2016-12-22tests/basics/lexer: Add a test for newline-escaping within a string.Damien George
2016-11-16py/lexer: Make lexer use an mp_reader as its source.Damien George
2016-11-16py/lexer: Rewrite mp_lexer_new_from_fd in terms of mp_reader.Damien George
2016-11-16py/lexer: Provide generic mp_lexer_new_from_file based on mp_reader.Damien George
2016-11-16py/lexer: Rewrite mp_lexer_new_from_str_len in terms of mp_reader_mem.Damien George
2016-10-12py/lexer: Remove unnecessary code, and unreachable code.Damien George
2016-09-19py/vstr: Remove vstr.had_error flag and inline basic vstr functions.Damien George
2016-05-20py: Declare constant data as properly constant.Damien George
2016-04-13py: add async/await/async for/async with syntaxpohmelie
2016-02-25py: Add MICROPY_DYNAMIC_COMPILER option to config compiler at runtime.Damien George
2015-12-18py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts.Damien George
2015-09-07py/lexer: Properly classify floats that look like hex numbers.Damien George
2015-09-07py/lexer: Raise SyntaxError when unicode char point out of range.Damien George
2015-09-07py/lexer: Raise NotImplError for unicode name escape, instead of assert.Damien George
2015-07-23py/lexer: Raise SyntaxError when str hex escape sequence is malformed.Damien George
2015-06-22py: Cast argument for printf to int, to be compatible with more ports.Damien George
2015-06-09py: Support unicode (utf-8 encoded) identifiers in Python source.Damien George
2015-05-20extmod: Add ubinascii.unhexlifyDave Hylands
2015-03-19py: Allow to compile with extra warnings (sign-compare, unused-param).Damien George