summaryrefslogtreecommitdiff
path: root/py/lexer.c
AgeCommit message (Expand)Author
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
2014-06-27lexer, vstr: Add unicode support.Chris Angelico
2014-06-21py: Include mpconfig.h before all other includes.Paul Sokolovsky
2014-06-19Prefix ARRAY_SIZE with micropython prefix MP_Emmanuel Blot
2014-06-14unicode: String API is const byte*.Paul Sokolovsky
2014-06-03py: Instead of having "debug on" var, have "optimization level" var.Paul Sokolovsky
2014-06-02lexer: Add another comment for somewhat obscure way __debug__ is handled.Paul Sokolovsky
2014-05-21Tidy up some configuration options.Damien George
2014-05-12py: Add support for __debug__ constant.Damien George
2014-05-10py, lexer: Add allocation policy config; return NULL if can't allocate.Damien George
2014-05-03Add license header to (almost) all files.Damien George
2014-04-10py: Fix lexer so it doesn't allow ! and ..Damien George
2014-04-10py, lexer: Fix parsing of raw strings (allow escaping of quote).Damien George
2014-03-17py: Clean up includes.xbe
2014-03-15Add vstr_ins and vstr_cut_out; improve stmhal readline.Damien George
2014-02-15Implement proper exception type hierarchy.Damien George
2014-02-12Replace global "static" -> "STATIC", to allow "analysis builds". Part 2.Paul Sokolovsky
2014-01-25Implement mp_parse_node_free; print properly repr(string).Damien George