26 Commits (6caca3259f4ec8f298b1d35f15e4492efbcff6b1)

Author SHA1 Message Date
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 9 years ago
Damien George dd5353a405 py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts. 9 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Damien George 0868942e77 py: Check for valid file when creating lexer for execfile. 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 2a3e2b9033 py: Add execfile function (from Python 2); enable in stmhal port. 10 years ago
Damien George c9fc620723 py: Implement compile builtin, enabled only on unix port. 10 years ago
Damien George c4d0868df1 py: Implement proper context save/restore for eval/exec; factor code. 10 years ago
Damien George a91ac2011f py: Make compiler return a proper exception on SyntaxError. 10 years ago
Damien George 52b5d76a6b py: Free non-interned strings in the parser when not needed. 10 years ago
Damien George d182b98a37 py: Change all uint to mp_uint_t in obj.h. 10 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Paul Sokolovsky f54bcbf099 py, unix: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Damien George 4b01de44ba py: Add traceback info to syntax errors. 11 years ago
Damien George 65cad12d38 py: Add option to compiler to specify default code emitter. 11 years ago
Damien George 7efc5b3f34 py: Make globals and locals proper dictionary objects. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
xbe efe3422394 py: Clean up includes. 11 years ago
Damien George c5966128c7 Implement proper exception type hierarchy. 11 years ago
Paul Sokolovsky 2aa217b974 Implement full arg handling for exec(). 11 years ago
Paul Sokolovsky 520e2f58a5 Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. 11 years ago
Damien George 698ec21e46 Make mp_obj_str_get_data return char* instead of byte*. 11 years ago
Damien George ca4767984b py: Implement builtin exec. 11 years ago
Damien George b829b5caec Implement mp_parse_node_free; print properly repr(string). 11 years ago
Damien George 5fa93b6755 Second stage of qstr revamp: uPy str object can be qstr or not. 11 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash. 11 years ago
Damien George 08335004cf Add source file name and line number to error messages. 11 years ago
Damien George d02c6d8962 Implement eval. 11 years ago