37 Commits (85c51a548fc83d0776029b01b1be3748f82e296a)

Author SHA1 Message Date
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Damien George 1993c8cf9a py/builtinevex: Support passing in a bytearray/buffer to eval/exec. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George eee1e8841a py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Tom Collins bb3bddabb5 py/builtinevex: Add typechecking of globals/locals args to eval/exec. 7 years ago
Damien George 6b34107537 py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg. 8 years ago
Damien George 94c41bb06f py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible. 8 years ago
Damien George 1831034be1 py: Allow lexer to raise exceptions during construction. 8 years ago
Damien George 7d0d7215d2 py: Use mp_raise_msg helper function where appropriate. 8 years ago
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