summaryrefslogtreecommitdiff
path: root/py/parse.c
AgeCommit message (Expand)Author
4 dayspy/parse: Fix missing nlr_pop call in complex path of binary_op_maybe.Jeff Epler
6 dayspy/parse: Add support for math module constants and float folding.Yoctopuce dev
2024-09-27py/parse: Remove old esp32 compiler workaround.Alessandro Gatti
2024-06-06py/lexer: Support raw f-strings.Damien George
2024-03-22py/parse: Zero out dangling parse tree pointer to fix potential GC leak.Angus Gratton
2024-03-07all: Remove the "STATIC" macro and just use "static" instead.Angus Gratton
2023-09-14py/parse: Always free lexer even if an exception is raised.Damien George
2023-06-08all: Rename UMODULE to MODULE in preprocessor/Makefile vars.Jim Mussared
2023-06-08all: Rename mp_umodule*, mp_module_umodule* to remove the "u" prefix.Jim Mussared
2023-05-03py/parse: Fix build when COMP_CONST_FOLDING=0 and COMP_MODULE_CONST=1.Damien George
2023-04-27all: Fix spelling mistakes based on codespell check.Damien George
2022-09-23py/parse: Allow const types other than int to optimise as true/false.Angus Gratton
2022-06-23py/parsenum: Optimise when building with complex disabled.Damien George
2022-06-09py/parse: Work around xtensa esp-2020r3 compiler bug.Damien George
2022-05-18py/parse: Allow all constant objects to be used in "X = const(o)".Damien George
2022-04-14py/parse: Add MICROPY_COMP_CONST_TUPLE option to build const tuples.Damien George
2022-04-14py/parse: Print const object value in mp_parse_node_print.Damien George
2022-04-14py/parse: Factor obj extract code to mp_parse_node_extract_const_object.Damien George
2022-03-16py/parse: Handle check for target small-int size in parser.Damien George
2022-03-16py/parse: Put const bytes objects in parse tree as const object.Damien George
2022-03-16py/parse: Simplify handling of const int parse nodes.Damien George
2021-09-10py/parse: Simplify parse nodes representing a list.Damien George
2021-08-14py: Implement partial PEP-498 (f-string) support.Jim Mussared
2020-10-01py/parse: Expose rule-name printing as MICROPY_DEBUG_PARSE_RULE_NAME.Damien George
2020-09-11py/parse: Pass in an mp_print_t to mp_parse_node_print.Damien George
2020-05-09py/parse: Make mp_parse_node_extract_list return size_t instead of int.Damien George
2020-05-03py/parse: Support constant folding of power operator for integers.Damien George
2020-04-23all: Format code to add space after C++-style comment start.stijn
2020-04-09py/parse: Remove unnecessary check in const folding for ** 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
2020-02-28all: Add *FORMAT-OFF* in various places.Damien George
2020-02-28py/parse: Add parenthesis around calculated bit-width in struct.Damien George
2019-09-26py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions.Josh Lloyd
2019-09-26py: Add support for matmul operator @ as per PEP 465.Damien George
2019-09-26py/parse: Use calculation instead of table to convert token to operator.Damien George
2019-09-26py/lexer: Reorder operator tokens to match corresponding binary ops.Damien George
2019-02-12py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API.Damien George
2018-09-20py: Shorten error messages by using contractions and some rewording.Damien George
2017-12-29py/parse: Fix macro evaluation by avoiding empty __VA_ARGS__.Damien George
2017-12-29py/parse: Update debugging code to compile on 64-bit arch.Damien George
2017-12-29py/parse: Compress rule pointer table to table of offsets.Damien George
2017-12-28py/parse: Remove rule_t struct because it's no longer needed.Damien George
2017-12-28py/parse: Pass rule_id to push_result_token, instead of passing rule_t*.Damien George
2017-12-28py/parse: Pass rule_id to push_result_rule, instead of passing rule_t*.Damien George
2017-12-28py/parse: Break rule data into separate act and arg arrays.Damien George
2017-12-28py/parse: Split out rule name from rule struct into separate array.Damien George
2017-12-11py: Extend nan-boxing config to have 47-bit small integers.Damien George
2017-11-16py/objstr: Make mp_obj_new_str_of_type check for existing interned qstr.Damien George
2017-10-04all: Remove inclusion of internal py header files.Damien George