micropython/py
Damien d99b05282d Change object representation from 1 big union to individual structs.
A big change.  Micro Python objects are allocated as individual structs
with the first element being a pointer to the type information (which
is itself an object).  This scheme follows CPython.  Much more flexible,
not necessarily slower, uses same heap memory, and can allocate objects
statically.

Also change name prefix, from py_ to mp_ (mp for Micro Python).
2013-12-21 18:17:45 +00:00
..
asmthumb.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
asmthumb.h Support for for-loop in native thumb. 2013-11-03 14:25:43 +00:00
asmx64.c Implement crude viper emit stage. 2013-10-07 00:02:49 +01:00
asmx64.h Compiler computes labels and max_num_labels. 2013-10-05 13:44:41 +01:00
bc.h Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
bc0.h Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
builtin.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
builtin.h Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
compile.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
compile.h Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
emit.h Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
emitbc.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
emitcommon.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
emitcpy.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
emitinlinethumb.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
emitnative.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
emitpass1.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
gc.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
gc.h Fix func decls with no arguments: () -> (void). 2013-10-23 20:20:17 +01:00
grammar.h py: fix bug with doc string not recognised after first newline of file. 2013-12-12 15:24:38 +00:00
lexer.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
lexer.h Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
malloc.c Fix func decls with no arguments: () -> (void). 2013-10-23 20:20:17 +01:00
map.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
map.h Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
misc.c Initial commit. 2013-10-04 19:53:11 +01:00
misc.h Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
nlr.h Fix func decls with no arguments: () -> (void). 2013-10-23 20:20:17 +01:00
nlrthumb.s NLR and Python exceptions work on the board. 2013-10-16 00:46:39 +01:00
nlrx64.s Implement basic exception framework, and simple for loop. 2013-10-15 22:25:17 +01:00
nlrx86.s Implement basic exception framework, and simple for loop. 2013-10-15 22:25:17 +01:00
obj.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
obj.h Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objbool.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objboundmeth.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objcell.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objclass.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objclosure.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objcomplex.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objdict.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objexcept.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objfloat.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objfun.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objgenerator.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objinstance.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objlist.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objnone.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objrange.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objset.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objstr.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objtuple.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
objtype.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
parse.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
parse.h Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
qstr.c Fix func decls with no arguments: () -> (void). 2013-10-23 20:20:17 +01:00
repl.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
repl.h Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
runtime.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
runtime.h Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
runtime0.h Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
scope.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
scope.h Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
showbc.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
vm.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
vstr.c Add simple var-arg functions; add simple string.format. 2013-11-03 18:20:56 +00:00