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