summaryrefslogtreecommitdiff
path: root/py/parse.c
AgeCommit message (Expand)Author
2017-08-30py: Add MICROPY_USE_SMALL_HEAP_COMPILER option, disabled by default.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
2015-02-23py: Update parse.c&mpconfig.h to reflect rename of mp_lexer_show_token.nhtshot
2015-02-13py: Expose compile.c:list_get as mp_parse_node_extract_list.Damien George
2015-02-08py: Initialise variables in mp_parse correctly, to satisfy gcc warning.Damien George
2015-02-08py: Parse big-int/float/imag constants directly in parser.Damien George
2015-02-07py: Protect mp_parse and mp_compile with nlr push/pop block.Damien George
2015-01-24py: Be more machine-portable with size of bit fields.Damien George
2015-01-20py, unix, stmhal: Allow to compile with -Wshadow.Damien George
2015-01-16py, unix: Allow to compile with -Wsign-compare.Damien George
2015-01-14py: Add "default" to switches to allow better code flow analysis.Damien George
2015-01-13py: Never intern data of large string/bytes object; add relevant tests.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-12-20py: Remove unnecessary RULE_none and PN_none from parser.Damien George