34 Commits (f2baa9ec245a66c4cd7d990e39a4af3f6fab1cb7)

Author SHA1 Message Date
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 0d10517a45 py/scope: Factor common code to find locals and close over them. 8 years ago
Damien George 3dea8c9e92 py/scope: Use lookup-table to determine a scope's simple name. 8 years ago
Damien George dd5353a405 py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts. 9 years ago
Damien George 65dc960e3b unix-cpy: Remove unix-cpy. It's no longer needed. 9 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 584ba6762f py: Move global/nonlocal decl code to compiler for proper SyntaxError. 10 years ago
Damien George 7ff996c237 py: Convert [u]int to mp_[u]int_t in emit.h and associated .c files. 10 years ago
Damien George 4abff7500f py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h. 10 years ago
Damien George 6be0b0a8ec py: Clean up and simplify functions in scope; add STATIC in compiler. 10 years ago
Paul Sokolovsky 59c675a64c py: Include mpconfig.h before all other includes. 11 years ago
Damien George 58ebde4664 Tidy up some configuration options. 11 years ago
Damien George 66e18f04d8 py: Turn down amount of RAM parser and compiler use. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 2827d62e8b py: Implement keyword-only args. 11 years ago
Damien George df8127a17e py: Remove unique_codes from emitglue.c. Replace with pointers. 11 years ago
Damien George 11d8cd54c9 py, compiler: Turn id_info_t.param into a set of flags. 11 years ago
Damien George 78035b995f py, compiler: Clean up and compress scope/compile structures. 11 years ago
xbe efe3422394 py: Clean up includes. 11 years ago
Damien George 8725f8f7de py: Pass all scope flags through to runtime. 11 years ago
Paul Sokolovsky ab5d08280b Allow qstr's with non-ident chars, construct good identifier for them. 11 years ago
Paul Sokolovsky fd31358505 mp_compile(): Properly free module_scope and all nested scopes. 11 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash. 11 years ago
Damien George cbd2f7482c py: Add module/function/class name to exceptions. 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 6baf76e28b py: make closures work. 11 years ago
Damien 732407f1bf Change memory allocation API to require size for free and realloc. 11 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs. 11 years ago
Damien 9ecbcfff99 py: work towards working closures. 11 years ago
Damien 27fb45eb1c Add local_num skeleton framework to deref/closure emit calls. 11 years ago
Damien c025ebb2dc Separate out mpy core and unix version. 11 years ago
Damien 6cdd3af601 Implement built-in decorators to select emit type. 11 years ago
Damien b05d707b23 Further factorise PASS_1 out of specific emit code. 11 years ago
Damien 415eb6f850 Restructure emit so it goes through a method table. 11 years ago
Damien 429d71943d Initial commit. 11 years ago