micropython/py
Damien George c8e9c0d89a py: Add MICROPY_PERSISTENT_CODE so code can persist beyond the runtime.
Main changes when MICROPY_PERSISTENT_CODE is enabled are:

- qstrs are encoded as 2-byte fixed width in the bytecode
- all pointers are removed from bytecode and put in const_table (this
  includes const objects and raw code pointers)

Ultimately this option will enable persistence for not just bytecode but
also native code.
2015-11-13 12:49:18 +00:00
..
argcheck.c
asmarm.c
asmarm.h
asmthumb.c py/asmthumb: Allow to compile with -Wsign-compare and -Wunused-parameter. 2015-11-09 14:11:21 +00:00
asmthumb.h py: Add lsl/lsr/asr opcode support to inline Thumb2 assembler. 2015-10-19 14:26:19 +01:00
asmx64.c py: Implement ptr32 load and store in viper emitter. 2015-10-13 00:50:17 +01:00
asmx64.h py: Implement ptr32 load and store in viper emitter. 2015-10-13 00:50:17 +01:00
asmx86.c
asmx86.h
bc.c py: Add constant table to bytecode. 2015-11-13 12:49:18 +00:00
bc.h py: Add constant table to bytecode. 2015-11-13 12:49:18 +00:00
bc0.h
binary.c py/objarray: Allow to create array of void pointers, as extension to CPython. 2015-10-12 10:13:51 +03:00
binary.h
builtin.h extmod/modlwip: slip: Use stream protocol and be port-independent. 2015-10-27 00:04:59 +03:00
builtinevex.c
builtinimport.c
compile.c py: Put all bytecode state (arg count, etc) in bytecode. 2015-11-13 12:49:18 +00:00
compile.h
emit.h
emitbc.c py: Add MICROPY_PERSISTENT_CODE so code can persist beyond the runtime. 2015-11-13 12:49:18 +00:00
emitcommon.c
emitglue.c py: Add constant table to bytecode. 2015-11-13 12:49:18 +00:00
emitglue.h py: Add constant table to bytecode. 2015-11-13 12:49:18 +00:00
emitinlinethumb.c py: Add constant table to bytecode. 2015-11-13 12:49:18 +00:00
emitnative.c py: Add MICROPY_PERSISTENT_CODE so code can persist beyond the runtime. 2015-11-13 12:49:18 +00:00
formatfloat.c
formatfloat.h
frozenmod.c
frozenmod.h
gc.c py: Clear finalizer flag when calling gc_free. 2015-11-07 14:26:11 +00:00
gc.h py: Clear finalizer flag when calling gc_free. 2015-11-07 14:26:11 +00:00
grammar.h py: Don't generate unnecessary parse nodes for assignment or kwargs. 2015-10-08 14:26:01 +01:00
lexer.c
lexer.h
lexerstr.c
lexerunix.c
makeqstrdata.py py/makeqstrdata.py: Catch and report case of empty input file. 2015-10-11 11:09:57 +03:00
makeversionhdr.py py/makeversionhdr.py: Work with backslashes in paths. 2015-10-30 11:34:53 +03:00
malloc.c
map.c
misc.h
mkenv.mk py: Allow to to build MicroPython as a static library. 2015-10-12 15:32:06 +03:00
mkrules.mk Makefiles: Remove duplicate object files when linking. 2015-10-24 15:46:53 +03:00
modarray.c
modbuiltins.c py: Add mp_obj_is_float function (macro) and use it where appropriate. 2015-10-20 12:35:17 +01:00
modcmath.c py: Move float e/pi consts to objfloat and make mp_obj_float_t private. 2015-10-20 12:35:17 +01:00
modcollections.c
modgc.c py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 2015-10-11 15:18:15 +03:00
modio.c
modmath.c py: Move float e/pi consts to objfloat and make mp_obj_float_t private. 2015-10-20 12:35:17 +01:00
modmicropython.c
modstruct.c py/modstruct: Support repetition counters for all types, not just string. 2015-10-31 18:47:08 +03:00
modsys.c
mpconfig.h py: Add MICROPY_PERSISTENT_CODE so code can persist beyond the runtime. 2015-11-13 12:49:18 +00:00
mphal.h all: Add py/mphal.h and use it in all ports. 2015-10-31 19:14:30 +03:00
mpprint.c all: Add py/mphal.h and use it in all ports. 2015-10-31 19:14:30 +03:00
mpprint.h
mpstate.c
mpstate.h extmod/modlwip: slip: Use stream protocol and be port-independent. 2015-10-27 00:04:59 +03:00
mpz.c
mpz.h
nativeglue.c py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 2015-10-11 15:18:15 +03:00
nlr.h
nlrsetjmp.c
nlrthumb.S py/nlrthumb: Make compatible with Cortex-M0 (ARMv6M instr set). 2015-10-20 13:26:34 +01:00
nlrx64.S
nlrx86.S
nlrxtensa.S
obj.c py: Make float representation configurable with object representation. 2015-10-20 12:35:40 +01:00
obj.h py: Add constant table to bytecode. 2015-11-13 12:49:18 +00:00
objarray.c py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 2015-10-11 15:18:15 +03:00
objattrtuple.c
objbool.c
objboundmeth.c
objcell.c
objclosure.c
objcomplex.c py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 2015-10-11 15:18:15 +03:00
objdict.c py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 2015-10-11 15:18:15 +03:00
objenumerate.c
objexcept.c
objexcept.h
objfilter.c
objfloat.c py: Add object repr "C", where 30-bit floats are stuffed in obj word. 2015-10-20 12:38:54 +01:00
objfun.c py: Add MICROPY_PERSISTENT_CODE so code can persist beyond the runtime. 2015-11-13 12:49:18 +00:00
objfun.h py: Add constant table to bytecode. 2015-11-13 12:49:18 +00:00
objgenerator.c py: Add constant table to bytecode. 2015-11-13 12:49:18 +00:00
objgenerator.h
objgetitemiter.c
objint.c py: Add mp_obj_is_float function (macro) and use it where appropriate. 2015-10-20 12:35:17 +01:00
objint.h
objint_longlong.c py/objint_longlong: Instead of assert, throw OverflowError. 2015-11-09 01:34:56 +02:00
objint_mpz.c py: Add mp_obj_is_float function (macro) and use it where appropriate. 2015-10-20 12:35:17 +01:00
objlist.c py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 2015-10-11 15:18:15 +03:00
objlist.h
objmap.c
objmodule.c extmod/modlwip: slip: Use stream protocol and be port-independent. 2015-10-27 00:04:59 +03:00
objmodule.h
objnamedtuple.c
objnone.c
objobject.c
objproperty.c
objrange.c py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 2015-10-11 15:18:15 +03:00
objreversed.c
objset.c py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 2015-10-11 15:18:15 +03:00
objsingleton.c
objslice.c
objstr.c py: With obj repr "C", change raw str accessor from macro to function. 2015-10-20 12:38:54 +01:00
objstr.h py: With obj repr "C", change raw str accessor from macro to function. 2015-10-20 12:38:54 +01:00
objstringio.c
objstrunicode.c py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 2015-10-11 15:18:15 +03:00
objtuple.c py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 2015-10-11 15:18:15 +03:00
objtuple.h
objtype.c
objtype.h
objzip.c
opmethods.c
parse.c py/parse: Make parser error handling cleaner, less spaghetti-like. 2015-10-12 12:59:18 +01:00
parse.h
parsenum.c
parsenum.h
parsenumbase.c
parsenumbase.h
py.mk extmod/modlwip: slip: Use stream protocol and be port-independent. 2015-10-27 00:04:59 +03:00
qstr.c py/qstr: Fix calc of qstr memory usage, due to new qstr chunk allocation. 2015-10-13 15:52:06 +01:00
qstr.h
qstrdefs.h extmod/modlwip: slip: Use stream protocol and be port-independent. 2015-10-27 00:04:59 +03:00
repl.c
repl.h
runtime.c py: Add mp_obj_is_float function (macro) and use it where appropriate. 2015-10-20 12:35:17 +01:00
runtime.h
runtime0.h py: Put all bytecode state (arg count, etc) in bytecode. 2015-11-13 12:49:18 +00:00
scope.c
scope.h py: Put all bytecode state (arg count, etc) in bytecode. 2015-11-13 12:49:18 +00:00
sequence.c
showbc.c py: Add MICROPY_PERSISTENT_CODE so code can persist beyond the runtime. 2015-11-13 12:49:18 +00:00
smallint.c
smallint.h py: Add object repr "C", where 30-bit floats are stuffed in obj word. 2015-10-20 12:38:54 +01:00
stackctrl.c
stackctrl.h
stream.c py/stream: Allow to reuse is_nonblocking_error(). 2015-10-18 15:39:33 +03:00
stream.h py/stream: Allow to reuse is_nonblocking_error(). 2015-10-18 15:39:33 +03:00
unicode.c
unicode.h
vm.c py: Add MICROPY_PERSISTENT_CODE so code can persist beyond the runtime. 2015-11-13 12:49:18 +00:00
vmentrytable.h
vstr.c
warning.c