summaryrefslogtreecommitdiffstatshomepage
path: root/py/lexer.c
Commit message (Expand)AuthorAge
* py/lexer: Add static assert that token enum values all fit in a byte.Damien George2024-07-18
* py/lexer: Support raw f-strings.Damien George2024-06-06
* py/lexer: Support concatenation of adjacent f-strings.Damien George2024-06-06
* all: Remove the "STATIC" macro and just use "static" instead.Angus Gratton2024-03-07
* py/lexer: Change token position for new lines.Mathieu Serandour2023-11-03
* py/builtinevex: Handle invalid filenames for execfile.Jim Mussared2023-10-12
* py/lexer: Add missing initialisation for fstring_args_idx.Jim Mussared2023-09-29
* py/lexer: Allow conversion specifiers in f-strings (e.g. !r).Jared Hancock2023-06-14
* py/lexer: Wrap in parenthesis all f-string arguments passed to format.Jim Mussared2023-01-20
* py/persistentcode: Remove unicode feature flag from .mpy file.Damien George2022-05-17
* py/lexer: Support nested [] and {} characters within f-string params.Damien George2021-11-25
* py/lexer: Clear fstring_args vstr on lexer free.Jim Mussared2021-08-19
* py: Implement partial PEP-498 (f-string) support.Jim Mussared2021-08-14
* py, extmod: Introduce and use MP_FALLTHROUGH macro.Emil Renner Berthing2020-10-22
* py/compile: Implement PEP 572, assignment expressions with := operator.Damien George2020-06-16
* all: Use MP_ERROR_TEXT for all error messages.Jim Mussared2020-04-05
* all: Reformat C and Python source code with tools/codeformat.py.Damien George2020-02-28
* py: Add support for matmul operator @ as per PEP 465.Damien George2019-09-26
* py/lexer: Add support for underscores in numeric literals.Damien George2018-06-12
* all: Remove inclusion of internal py header files.Damien George2017-10-04
* all: Raise exceptions via mp_raise_XXXJavier Candeira2017-08-13
* all: Use the name MicroPython consistently in commentsAlexander Steffen2017-07-31
* py,extmod: Some casts and minor refactors to quiet compiler warnings.Tom Collins2017-07-07
* py/lexer: Process CR earlier to allow newlines checks on chr1.Tom Collins2017-05-12
* py/lexer: Simplify lexer startup by using dummy bytes and next_char().Tom Collins2017-05-09
* py/lexer: Simplify and reduce code size for operator tokenising.Damien George2017-03-29
* py/lexer: Remove obsolete comment, since lexer can now raise exceptions.Damien George2017-03-23
* py: Allow lexer to raise exceptions during construction.Damien George2017-03-14
* py/lexer: Convert mp_uint_t to size_t where appropriate.Damien George2017-02-17
* py: Do adjacent str/bytes literal concatenation in lexer, not compiler.Damien George2017-02-17
* py/lexer: Simplify handling of line-continuation error.Damien George2017-02-17
* py/lexer: Use strcmp to make keyword searching more efficient.Damien George2017-02-17
* py/lexer: Move check for keyword to name-tokenising block.Damien George2017-02-17
* py/lexer: Simplify handling of indenting of very first token.Damien George2017-02-17
* py/lexer: Don't generate string representation for period or ellipsis.Damien George2017-02-16
* extmod/vfs_fat: Remove MICROPY_READER_FATFS component.Damien George2017-01-30
* extmod: Add generic VFS sub-system.Damien George2017-01-27
* py/lexer: Permanently disable the mp_lexer_show_token function.Damien George2016-12-22
* py/lexer: Remove unnecessary check for EOF in lexer's next_char func.Damien George2016-12-22
* py/lexer: Remove unreachable code in string tokeniser.Damien George2016-12-22
* tests/basics/lexer: Add a test for newline-escaping within a string.Damien George2016-12-22
* py/lexer: Make lexer use an mp_reader as its source.Damien George2016-11-16
* py/lexer: Rewrite mp_lexer_new_from_fd in terms of mp_reader.Damien George2016-11-16
* py/lexer: Provide generic mp_lexer_new_from_file based on mp_reader.Damien George2016-11-16
* py/lexer: Rewrite mp_lexer_new_from_str_len in terms of mp_reader_mem.Damien George2016-11-16
* py/lexer: Remove unnecessary code, and unreachable code.Damien George2016-10-12
* py/vstr: Remove vstr.had_error flag and inline basic vstr functions.Damien George2016-09-19
* py: Declare constant data as properly constant.Damien George2016-05-20
* py: add async/await/async for/async with syntaxpohmelie2016-04-13
* py: Add MICROPY_DYNAMIC_COMPILER option to config compiler at runtime.Damien George2016-02-25