summaryrefslogtreecommitdiff
path: root/py/lexer.c
AgeCommit message (Expand)Author
2017-08-13all: Raise exceptions via mp_raise_XXXJavier Candeira
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-07-07py,extmod: Some casts and minor refactors to quiet compiler warnings.Tom Collins
2017-05-12py/lexer: Process CR earlier to allow newlines checks on chr1.Tom Collins
2017-05-09py/lexer: Simplify lexer startup by using dummy bytes and next_char().Tom Collins
2017-03-29py/lexer: Simplify and reduce code size for operator tokenising.Damien George
2017-03-23py/lexer: Remove obsolete comment, since lexer can now raise exceptions.Damien George
2017-03-14py: Allow lexer to raise exceptions during construction.Damien George
2017-02-17py/lexer: Convert mp_uint_t to size_t where appropriate.Damien George
2017-02-17py: Do adjacent str/bytes literal concatenation in lexer, not compiler.Damien George
2017-02-17py/lexer: Simplify handling of line-continuation error.Damien George
2017-02-17py/lexer: Use strcmp to make keyword searching more efficient.Damien George
2017-02-17py/lexer: Move check for keyword to name-tokenising block.Damien George
2017-02-17py/lexer: Simplify handling of indenting of very first token.Damien George
2017-02-16py/lexer: Don't generate string representation for period or ellipsis.Damien George
2017-01-30extmod/vfs_fat: Remove MICROPY_READER_FATFS component.Damien George
2017-01-27extmod: Add generic VFS sub-system.Damien George
2016-12-22py/lexer: Permanently disable the mp_lexer_show_token function.Damien George
2016-12-22py/lexer: Remove unnecessary check for EOF in lexer's next_char func.Damien George
2016-12-22py/lexer: Remove unreachable code in string tokeniser.Damien George
2016-12-22tests/basics/lexer: Add a test for newline-escaping within a string.Damien George
2016-11-16py/lexer: Make lexer use an mp_reader as its source.Damien George
2016-11-16py/lexer: Rewrite mp_lexer_new_from_fd in terms of mp_reader.Damien George
2016-11-16py/lexer: Provide generic mp_lexer_new_from_file based on mp_reader.Damien George
2016-11-16py/lexer: Rewrite mp_lexer_new_from_str_len in terms of mp_reader_mem.Damien George
2016-10-12py/lexer: Remove unnecessary code, and unreachable code.Damien George
2016-09-19py/vstr: Remove vstr.had_error flag and inline basic vstr functions.Damien George
2016-05-20py: Declare constant data as properly constant.Damien George
2016-04-13py: add async/await/async for/async with syntaxpohmelie
2016-02-25py: Add MICROPY_DYNAMIC_COMPILER option to config compiler at runtime.Damien George
2015-12-18py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts.Damien George
2015-09-07py/lexer: Properly classify floats that look like hex numbers.Damien George
2015-09-07py/lexer: Raise SyntaxError when unicode char point out of range.Damien George
2015-09-07py/lexer: Raise NotImplError for unicode name escape, instead of assert.Damien George
2015-07-23py/lexer: Raise SyntaxError when str hex escape sequence is malformed.Damien George
2015-06-22py: Cast argument for printf to int, to be compatible with more ports.Damien George
2015-06-09py: Support unicode (utf-8 encoded) identifiers in Python source.Damien George
2015-05-20extmod: Add ubinascii.unhexlifyDave Hylands
2015-03-19py: Allow to compile with extra warnings (sign-compare, unused-param).Damien George
2015-02-08py: Parse big-int/float/imag constants directly in parser.Damien George
2015-01-30py: Convert CR to LF and CR LF to LF in lexer.Damien George
2015-01-28py: Be more precise about unicode type and disabled unicode behaviour.Damien George
2015-01-16py, unix: Allow to compile with -Wsign-compare.Damien George
2015-01-07py: Put all global state together in state structures.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-12-05py: Fix printing of size_t entity; fix qemu-arm for changes to lexer.Damien George
2014-12-05py: Optimise lexer by exposing lexer type.Damien George
2014-10-09py: Add further checks for failed malloc in lexer init functions.Damien George
2014-07-30py: Change lexer stream API to return bytes not chars.Damien George
2014-07-03lexer: Convert type (u)int to mp_(u)int_t.Damien George