micropython/py
Damien George b1bbe966c4 py: Combine load_attr and store_attr type methods into one (attr).
This simplifies the API for objects and reduces code size (by around 400
bytes on Thumb2, and around 2k on x86).  Performance impact was measured
with Pystone score, but change was barely noticeable.
2015-04-11 16:54:37 +01:00
..
argcheck.c
asmarm.c py: Adjust some spaces in code style/format, purely for consistency. 2015-04-09 15:29:54 +00:00
asmarm.h
asmthumb.c py: Implement full func arg passing for native emitter. 2015-04-07 22:43:28 +01:00
asmthumb.h py: Implement full func arg passing for native emitter. 2015-04-07 22:43:28 +01:00
asmx64.c py: Adjust some spaces in code style/format, purely for consistency. 2015-04-09 15:29:54 +00:00
asmx64.h py: Implement full func arg passing for native emitter. 2015-04-07 22:43:28 +01:00
asmx86.c py: Implement full func arg passing for native emitter. 2015-04-07 22:43:28 +01:00
asmx86.h py: Implement full func arg passing for native emitter. 2015-04-07 22:43:28 +01:00
bc.c py: Implement full func arg passing for native emitter. 2015-04-07 22:43:28 +01:00
bc.h vm: Initial support for calling bytecode functions w/o C stack ("stackless"). 2015-04-03 00:03:07 +03:00
bc0.h py: Parse big-int/float/imag constants directly in parser. 2015-02-08 01:57:40 +00:00
binary.c objarray: Support array('O'), array of objects, as extension to CPython. 2015-03-05 22:58:31 +02:00
binary.h
builtin.h py: Add setattr builtin. 2015-02-14 23:35:00 +00:00
builtinevex.c py: Check for valid file when creating lexer for execfile. 2015-02-15 00:02:27 +00:00
builtinimport.c builtinimport: Revamp&refactor handling of relative imports. 2015-02-16 12:11:34 +02:00
compile.c py: Provide typedefs for function types instead of writing them inline. 2015-04-09 15:31:53 +00:00
compile.h py: Protect mp_parse and mp_compile with nlr push/pop block. 2015-02-07 18:33:58 +00:00
emit.h py, compiler: When just bytecode, make explicit calls instead of table. 2015-03-26 16:52:45 +00:00
emitbc.c py: Provide typedefs for function types instead of writing them inline. 2015-04-09 15:31:53 +00:00
emitcommon.c py, compiler: Refactor load/store/delete_id logic to reduce code size. 2015-03-26 16:52:45 +00:00
emitcpy.c py, compiler: Remove emit_pass1 code, using emit_bc to do its job. 2015-03-26 16:52:45 +00:00
emitglue.c py: Implement full func arg passing for native emitter. 2015-04-07 22:43:28 +01:00
emitglue.h py: Implement full func arg passing for native emitter. 2015-04-07 22:43:28 +01:00
emitinlinethumb.c py: Implement full func arg passing for native emitter. 2015-04-07 22:43:28 +01:00
emitnative.c py: Implement full func arg passing for native emitter. 2015-04-07 22:43:28 +01:00
formatfloat.c
formatfloat.h
frozenmod.c
frozenmod.h
gc.c py: Make heap printing compatible with 16-bit word size. 2015-04-03 14:11:13 +01:00
gc.h
grammar.h py: Parse big-int/float/imag constants directly in parser. 2015-02-08 01:57:40 +00:00
lexer.c py: Allow to compile with extra warnings (sign-compare, unused-param). 2015-03-19 00:25:33 +00:00
lexer.h py: Allow to compile with extra warnings (sign-compare, unused-param). 2015-03-19 00:25:33 +00:00
lexerstr.c py: Use m_{new,renew,del} consistently. 2015-02-27 09:34:51 +00:00
lexerunix.c
makeqstrdata.py makeqstrdata.py: Add support for strings with backslash escapes. 2015-04-02 01:10:11 +03:00
malloc.c py: Add MICROPY_MALLOC_USES_ALLOCATED_SIZE to allow simpler malloc API. 2015-03-03 21:23:13 +00:00
map.c py: Some trivial cosmetic changes, for code style consistency. 2015-04-04 15:53:11 +01:00
misc.h py: Add MICROPY_MALLOC_USES_ALLOCATED_SIZE to allow simpler malloc API. 2015-03-03 21:23:13 +00:00
mkenv.mk
mkrules.mk
modarray.c
modbuiltins.c py: Use a dummy type for referring to extern structs 2015-04-09 15:03:22 +02:00
modcmath.c py: Fix cmath.log10; fix printing of complex number with negative imag. 2015-02-02 12:52:14 +00:00
modcollections.c py: Implement core of OrderedDict type. 2015-03-20 17:26:10 +00:00
modgc.c py: Put mp_sys_path, mp_sys_argv and gc_collected in mp_state_ctx_t. 2015-02-07 17:24:10 +00:00
modio.c py: Use TextIOWrapper only if PY_IO_FILEIO def'd; cast size_t for print. 2015-02-15 13:17:11 +00:00
modmath.c py: Make math special functions configurable and disabled by default. 2015-02-22 14:48:18 +00:00
modmicropython.c py: Use TextIOWrapper only if PY_IO_FILEIO def'd; cast size_t for print. 2015-02-15 13:17:11 +00:00
modstruct.c py: Parse big-int/float/imag constants directly in parser. 2015-02-08 01:57:40 +00:00
modsys.c py: Use a dummy type for referring to extern structs 2015-04-09 15:03:22 +02:00
mpconfig.h py: Adjust some spaces in code style/format, purely for consistency. 2015-04-09 15:29:54 +00:00
mpstate.c
mpstate.h py: Put mp_sys_path, mp_sys_argv and gc_collected in mp_state_ctx_t. 2015-02-07 17:24:10 +00:00
mpz.c py: Adjust some spaces in code style/format, purely for consistency. 2015-04-09 15:29:54 +00:00
mpz.h py: Allow MPZ_DIG_SIZE to be optionally configured by a port. 2015-04-03 14:11:13 +01:00
nativeglue.c py: Implement full func arg passing for native emitter. 2015-04-07 22:43:28 +01:00
nlr.h py: Guard against redef of nlr_push with DEBUG + MICROPY_NLR_SETJMP. 2015-03-03 14:34:40 +00:00
nlrsetjmp.c
nlrthumb.S
nlrx64.S
nlrx86.S
nlrxtensa.S
obj.c py: Use a dummy type for referring to extern structs 2015-04-09 15:03:22 +02:00
obj.h py: Combine load_attr and store_attr type methods into one (attr). 2015-04-11 16:54:37 +01:00
objarray.c py: Allow to compile with extra warnings (sign-compare, unused-param). 2015-03-19 00:25:33 +00:00
objbool.c
objboundmeth.c py: Combine load_attr and store_attr type methods into one (attr). 2015-04-11 16:54:37 +01:00
objcell.c py: Some trivial cosmetic changes, for code style consistency. 2015-04-04 15:53:11 +01:00
objclosure.c
objcomplex.c py: Combine load_attr and store_attr type methods into one (attr). 2015-04-11 16:54:37 +01:00
objdict.c objdict: Cast mp_obj_t to concrete types explicitly. 2015-03-26 12:28:56 +02:00
objenumerate.c py: Add MICROPY_PY_BUILTINS_ENUMERATE, disable for minimal ports. 2015-04-06 23:51:29 +03:00
objexcept.c py: Combine load_attr and store_attr type methods into one (attr). 2015-04-11 16:54:37 +01:00
objexcept.h py: Fix adding of traceback so that it appends to existing info. 2015-02-27 00:36:39 +00:00
objfilter.c
objfloat.c py, extmod: Remove include of unnecessary system headers. 2015-03-14 23:11:25 +00:00
objfun.c py: Combine load_attr and store_attr type methods into one (attr). 2015-04-11 16:54:37 +01:00
objfun.h
objgenerator.c py: Implement full func arg passing for native emitter. 2015-04-07 22:43:28 +01:00
objgenerator.h
objgetitemiter.c py: Some trivial cosmetic changes, for code style consistency. 2015-04-04 15:53:11 +01:00
objint.c py: Fix builtin abs so it works for bools and bignum. 2015-03-14 22:07:30 +00:00
objint.h py: Fix builtin abs so it works for bools and bignum. 2015-03-14 22:07:30 +00:00
objint_longlong.c py: Fix builtin abs so it works for bools and bignum. 2015-03-14 22:07:30 +00:00
objint_mpz.c py: Fix builtin abs so it works for bools and bignum. 2015-03-14 22:07:30 +00:00
objlist.c py: Cast mp_obj_t to concrete types explicitly. 2015-03-25 09:25:41 +02:00
objlist.h py: Fix adding of traceback so that it appends to existing info. 2015-02-27 00:36:39 +00:00
objmap.c
objmodule.c py: Combine load_attr and store_attr type methods into one (attr). 2015-04-11 16:54:37 +01:00
objmodule.h
objnamedtuple.c py: Combine load_attr and store_attr type methods into one (attr). 2015-04-11 16:54:37 +01:00
objnone.c
objobject.c
objproperty.c
objrange.c py: Combine load_attr and store_attr type methods into one (attr). 2015-04-11 16:54:37 +01:00
objreversed.c py: Add MICROPY_PY_BUILTINS_REVERSED, disable for minimal ports. 2015-04-07 00:17:11 +03:00
objset.c py: Clarify API for map/set lookup when removing&adding at once. 2015-03-20 17:41:37 +00:00
objslice.c
objstr.c py: Some trivial cosmetic changes, for code style consistency. 2015-04-04 15:53:11 +01:00
objstr.h py: Adjust some spaces in code style/format, purely for consistency. 2015-04-09 15:29:54 +00:00
objstringio.c
objstrunicode.c py: In str unicode, str_subscr will never be passed a bytes object. 2015-04-04 19:42:03 +01:00
objtuple.c py: Use m_{new,renew,del} consistently. 2015-02-27 09:34:51 +00:00
objtuple.h
objtype.c py: Combine load_attr and store_attr type methods into one (attr). 2015-04-11 16:54:37 +01:00
objtype.h py: Combine load_attr and store_attr type methods into one (attr). 2015-04-11 16:54:37 +01:00
objzip.c
opmethods.c
parse.c py: Update parse.c&mpconfig.h to reflect rename of mp_lexer_show_token. 2015-02-23 21:36:05 +00:00
parse.h py: Expose compile.c:list_get as mp_parse_node_extract_list. 2015-02-13 02:29:46 +00:00
parsenum.c py: Fix printing of error message when parsing malformed integer. 2015-03-16 10:42:50 +00:00
parsenum.h py: Parse big-int/float/imag constants directly in parser. 2015-02-08 01:57:40 +00:00
parsenumbase.c py: Parse big-int/float/imag constants directly in parser. 2015-02-08 01:57:40 +00:00
parsenumbase.h
pfenv.c py: Some trivial cosmetic changes, for code style consistency. 2015-04-04 15:53:11 +01:00
pfenv.h py: Remove unnecessary and unused sgn argument from pfenv_print_mp_int. 2015-03-14 22:32:40 +00:00
pfenv_printf.c py: In pfenv_vprintf, adjust type from mp_uint_t to unsigned int. 2015-03-14 23:09:57 +00:00
py-version.sh
py.mk py, compiler: Remove emit_pass1 code, using emit_bc to do its job. 2015-03-26 16:52:45 +00:00
qstr.c py: Add option to micropython.qstr_info() to dump actual qstrs. 2015-02-10 11:02:28 +00:00
qstr.h py: Adjust some spaces in code style/format, purely for consistency. 2015-04-09 15:29:54 +00:00
qstrdefs.h py: Implement delete for property and descriptors. 2015-04-04 20:15:31 +01:00
repl.c
repl.h
runtime.c py: Combine load_attr and store_attr type methods into one (attr). 2015-04-11 16:54:37 +01:00
runtime.h py: Add finer configuration of static funcs when not in stackless mode. 2015-04-02 22:56:58 +01:00
runtime0.h py: Implement full func arg passing for native emitter. 2015-04-07 22:43:28 +01:00
scope.c
scope.h
sequence.c
showbc.c py: Simplify bytecode prelude when encoding closed over variables. 2015-04-07 00:08:17 +01:00
smallint.c
smallint.h py: Allow configurable object representation, with 2 different options. 2015-04-03 14:11:13 +01:00
stackctrl.c vm: Support strict stackless mode, with proper exception reporting. 2015-04-03 00:26:47 +03:00
stackctrl.h
stream.c py: Change vstr so that it doesn't null terminate buffer by default. 2015-01-28 23:43:01 +00:00
stream.h
unicode.c py: Adjust some spaces in code style/format, purely for consistency. 2015-04-09 15:29:54 +00:00
unicode.h
vm.c py: Combine load_attr and store_attr type methods into one (attr). 2015-04-11 16:54:37 +01:00
vmentrytable.h py: Parse big-int/float/imag constants directly in parser. 2015-02-08 01:57:40 +00:00
vstr.c py: Change vstr_null_terminate -> vstr_null_terminated_str, returns str. 2015-01-29 13:57:23 +00:00
warning.c