micropython/py
Damien George d8675541a9 py, vm: Where possible, make variables local to each opcode.
This helps the compiler do its optimisation, makes it clear which
variables are local per opcode and which global, and makes it consistent
when extra variables are needed in an opcode (in addition to old obj1,
obj2 pair, for example).

Could also make unum local, but that's for another time.
2014-05-25 22:58:04 +01:00
..
argcheck.c
asmthumb.c py, emitters: Fix dummy_data size for bytecode and thumb. 2014-05-10 18:07:08 +01:00
asmthumb.h
asmx64.c
asmx64.h
bc.h py: Rename byte_code to bytecode everywhere. 2014-05-10 10:36:38 +01:00
bc0.h
binary.c
binary.h
builtin.c Change const byte* to const char* where sensible. 2014-05-25 22:27:57 +01:00
builtin.h unix modsocket: Make .makefile() method more compliant. 2014-05-24 21:24:37 +03:00
builtinevex.c
builtinimport.c Change const byte* to const char* where sensible. 2014-05-25 22:27:57 +01:00
builtintables.c Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
builtintables.h
compile.c py: Don't automatically intern strings in parser. 2014-05-25 22:06:06 +01:00
compile.h py: Rename BYTE_CODE to BYTECODE (this was missed in previous rename). 2014-05-12 22:35:37 +01:00
emit.h
emitbc.c py: Compress a little the bytecode emitter structure. 2014-05-10 18:16:21 +01:00
emitcommon.c
emitcpy.c py: Rename byte_code to bytecode everywhere. 2014-05-10 10:36:38 +01:00
emitglue.c py: Remove emit_glue init and deinit. Needed only for debugging. 2014-05-12 23:11:14 +01:00
emitglue.h py: Remove emit_glue init and deinit. Needed only for debugging. 2014-05-12 23:11:14 +01:00
emitinlinethumb.c py: Combine native emitters to 1 glue function; distinguish viper. 2014-05-10 13:40:46 +01:00
emitnative.c py: Combine native emitters to 1 glue function; distinguish viper. 2014-05-10 13:40:46 +01:00
emitpass1.c
formatfloat.c
formatfloat.h
gc.c py: Compress a little the bytecode emitter structure. 2014-05-10 18:16:21 +01:00
gc.h
grammar.h
lexer.c Tidy up some configuration options. 2014-05-21 20:32:59 +01:00
lexer.h
lexerstr.c
lexerunix.c Tidy up some configuration options. 2014-05-21 20:32:59 +01:00
lexerunix.h
makeqstrdata.py
malloc.c
map.c
misc.h objstr: Implement .lower() and .upper(). 2014-05-10 19:49:07 +03:00
mkenv.mk
mkrules.mk
modarray.c
modcmath.c Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
modcollections.c Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
modgc.c Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
modio.c Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
modmath.c Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
modmicropython.c
modstruct.c Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
modsys.c Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
mpconfig.h py: Don't automatically intern strings in parser. 2014-05-25 22:06:06 +01:00
mpz.c py: Improve mpz_and function. 2014-05-13 22:58:00 +01:00
mpz.h
nlr.h
nlrsetjmp.c
nlrthumb.S
nlrx64.S unix: Create __bss_start and _end symbols for Mach-O targets. 2014-05-12 00:13:10 +02:00
nlrx86.S
obj.c py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 2014-05-21 19:42:43 +01:00
obj.h Change const byte* to const char* where sensible. 2014-05-25 22:27:57 +01:00
objarray.c objlist: Implement support for arbitrary (3-arg) slices. 2014-05-25 22:12:56 +03:00
objarray.h
objbool.c py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 2014-05-21 19:42:43 +01:00
objboundmeth.c objboundmeth: If detailed reporting enabled, print object content. 2014-05-11 02:27:42 +03:00
objcell.c
objclosure.c
objcomplex.c py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 2014-05-21 19:42:43 +01:00
objdict.c py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 2014-05-21 19:42:43 +01:00
objenumerate.c
objexcept.c Change const byte* to const char* where sensible. 2014-05-25 22:27:57 +01:00
objfilter.c
objfloat.c py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 2014-05-21 19:42:43 +01:00
objfun.c py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 2014-05-21 19:42:43 +01:00
objfun.h
objgenerator.c py: More mp_identity usage. 2014-05-17 11:20:10 +03:00
objgenerator.h
objgetitemiter.c
objint.c py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 2014-05-21 19:42:43 +01:00
objint.h py: More const usage. 2014-05-17 11:20:10 +03:00
objint_longlong.c py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 2014-05-21 19:42:43 +01:00
objint_mpz.c py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 2014-05-21 19:42:43 +01:00
objlist.c objlist: Implement support for arbitrary (3-arg) slices. 2014-05-25 22:12:56 +03:00
objlist.h
objmap.c py: More mp_identity usage. 2014-05-17 11:20:10 +03:00
objmodule.c
objmodule.h
objnamedtuple.c Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
objnone.c py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 2014-05-21 19:42:43 +01:00
objobject.c py: Initial attempts to actually allow implementing __new__ in Python. 2014-05-22 00:32:00 +03:00
objproperty.c Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
objrange.c
objset.c Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
objslice.c objslice: Support arbitrary objects start, stop, and step. 2014-05-25 01:42:24 +03:00
objstr.c py: Slightly improve efficiency of mp_obj_new_str; rename str_new. 2014-05-25 22:34:34 +01:00
objstr.h py: Slightly improve efficiency of mp_obj_new_str; rename str_new. 2014-05-25 22:34:34 +01:00
objstringio.c py: Slightly improve efficiency of mp_obj_new_str; rename str_new. 2014-05-25 22:34:34 +01:00
objtuple.c objlist: Implement support for arbitrary (3-arg) slices. 2014-05-25 22:12:56 +03:00
objtuple.h py: Rename globally-accessible tuple functions, prefix with mp_obj_. 2014-05-11 18:00:45 +01:00
objtype.c Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
objtype.h
objzip.c py: Use mp_arg_check_num in more places. 2014-05-11 18:37:21 +01:00
opmethods.c
parse.c Change const byte* to const char* where sensible. 2014-05-25 22:27:57 +01:00
parse.h py: Don't automatically intern strings in parser. 2014-05-25 22:06:06 +01:00
parsehelper.c
parsehelper.h
parsenum.c
parsenum.h
parsenumbase.c py: Fix base "detection" for int('0<hexdigit>', 16). 2014-05-10 04:45:15 +03:00
parsenumbase.h
pfenv.c
pfenv.h
py-version.sh
py.mk
qstr.c Change const byte* to const char* where sensible. 2014-05-25 22:27:57 +01:00
qstr.h Change const byte* to const char* where sensible. 2014-05-25 22:27:57 +01:00
qstrdefs.h Add SystemExit exception and use it in unix/ and stmhal/ ports. 2014-05-24 23:32:19 +01:00
repl.c Tidy up some configuration options. 2014-05-21 20:32:59 +01:00
repl.h Tidy up some configuration options. 2014-05-21 20:32:59 +01:00
runtime.c py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 2014-05-21 19:42:43 +01:00
runtime.h py: Add support for __debug__ constant. 2014-05-12 23:07:34 +01:00
runtime0.h runtime0.h: Group binary ops by fives. 2014-05-10 04:44:55 +03:00
scope.c Tidy up some configuration options. 2014-05-21 20:32:59 +01:00
scope.h
sequence.c objlist: Implement support for arbitrary (3-arg) slices. 2014-05-25 22:12:56 +03:00
showbc.c Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
smallint.c
smallint.h
stream.c py: Slightly improve efficiency of mp_obj_new_str; rename str_new. 2014-05-25 22:34:34 +01:00
stream.h
unicode.c py: Rename some unichar functions for consistency. 2014-05-11 17:53:11 +01:00
vm.c py, vm: Where possible, make variables local to each opcode. 2014-05-25 22:58:04 +01:00
vmentrytable.h Fix some unused variables, and silence a clang warning about initialization override in vmentrytable.h 2014-05-12 09:06:18 +02:00
vstr.c