23 Commits (master)

Author SHA1 Message Date
Damien George 2b8e88c563 py/compile: Add option to allow compiling top-level await. 1 year ago
Damien George 2283b6d68f py: Pass in address to compiled module instead of returning it. 2 years ago
Damien George f2040bfc7e py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
Damien George af20c2ead3 py: Add global default_emit_opt variable to make emit kind persistent. 5 years ago
Damien George 3751512e9d py/emit: Move MP_EMIT_OPT_xxx enums from compile.h to emitglue.h. 6 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Alexander Steffen 299bc62586 all: Unify header guard usage. 7 years ago
Damien George ad297a1950 py: Allow inline-assembler emitter to be generic. 8 years ago
Damien George d4dba88236 py/compile: Add mp_compile_to_raw_code() to return raw code object. 9 years ago
Damien George 58e0f4ac50 py: Allocate parse nodes in chunks to reduce fragmentation and RAM use. 9 years ago
Damien George 0bfc7638ba py: Protect mp_parse and mp_compile with nlr push/pop block. 10 years ago
Paul Sokolovsky 8ab6f90674 py: Move to guarded includes for compile.h and related headers. 10 years ago
Damien George c4d0868df1 py: Implement proper context save/restore for eval/exec; factor code. 10 years ago
Damien George 52b5d76a6b py: Free non-interned strings in the parser when not needed. 10 years ago
Damien George 96f137b24a py: Rename BYTE_CODE to BYTECODE (this was missed in previous rename). 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 78035b995f py, compiler: Clean up and compress scope/compile structures. 11 years ago
Damien George 65cad12d38 py: Add option to compiler to specify default code emitter. 11 years ago
Damien George 08335004cf Add source file name and line number to error messages. 11 years ago
ian-v 5fd8fd2c16 Revert MP_BOOL, etc. and use <stdbool.h> instead 11 years ago
ian-v 7a16fadbf8 Co-exist with C++ (issue #85) 11 years ago
Damien George 1fb031744f Change mp_compile so that it returns a function object for the module. 11 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs. 11 years ago
Damien 5ac1b2efbd Implement REPL. 11 years ago
Damien 429d71943d Initial commit. 11 years ago