summaryrefslogtreecommitdiff
path: root/py/parse.c
AgeCommit message (Expand)Author
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
2016-04-14py: Simplify "and" action within parser by making ident-rules explicit.Damien George
2016-04-13py: Fix constant folding and inline-asm to work with new async grammar.Damien George
2016-03-19py/parse: When looking up consts, check they exist before checking type.Damien George
2016-02-23py/parse: Use m_renew_maybe to ensure that memory is shrunk in-place.Damien George
2016-01-12py: unary_op enum type fix, and a cast to remove clang warningAntonin ENFRUN
2016-01-08py/parse: Include unistd.h for ssize_t definition.Damien George
2016-01-07py/parse: Improve constant folding to operate on small and big ints.Damien George
2016-01-07py/parse: Optimise away parse node that's just parenthesis around expr.Damien George
2015-12-18py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts.Damien George
2015-12-17py/parse: Replace mp_int_t/mp_uint_t with size_t etc, where appropriate.Damien George
2015-11-29py: Add support for 64-bit NaN-boxing object model, on 32-bit machine.Damien George
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-11-29py: Add MP_ROM_* macros and mp_rom_* types and use them.Damien George
2015-11-17py: Implement default and star args for lambdas.Damien George
2015-10-12py/parse: Make parser error handling cleaner, less spaghetti-like.Damien George
2015-10-12py: Move constant folding from compiler to parser.Damien George
2015-10-08py/parse: Factor logic when creating parse node from and-rule.Damien George
2015-10-02py: Allocate parse nodes in chunks to reduce fragmentation and RAM use.Damien George
2015-08-17unix-cpy: Remove unix-cpy. It's no longer needed.Damien George
2015-07-24py/parse: Fix handling of empty input so it raises an exception.Damien George
2015-07-24py/parse: De-duplicate and simplify code for parser "or" rule.Damien George
2015-07-14py: Improve allocation policy of qstr data.Damien George
2015-04-21py: Clean up some bits and pieces in parser, grammar.Damien George