aboutsummaryrefslogtreecommitdiff
path: root/py/parse.c
AgeCommit message (Expand)Author
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
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-02-24py/parse: Simplify handling of errors by raising them directly.Damien George
2017-02-24py: Create str/bytes objects in the parser, not the compiler.Damien George
2017-02-24py/parse: Allow parser/compiler consts to be bignums.Damien George
2017-02-16py/grammar: Group no-compile grammar rules together to shrink tables.Damien George
2017-01-17py/parse: Refactor code to remove assert(0)'s.Damien George
2016-11-15py/parse: Add code to fold logical constants in or/and/not operations.Damien George
2016-11-15py/parse: Make mp_parse_node_new_leaf an inline function.Damien George
2016-11-15py/parse: Move function to check for const parse node to parse.[ch].Damien George
2016-11-02py: Fix wrong assumption that m_renew will not move if shrinkingColin Hogben
2016-09-23py/parse: Only replace constants that are standalone identifiers.Damien George
2016-06-06py/parse: Treat constants that start with underscore as private.Damien George
2016-05-20py: Declare constant data as properly constant.Damien George
2016-05-10py/parse: Add uerrno to list of modules to look for constants in.Damien George