micropython/py
Damien George 062478e66d Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr.
Creating of classes (types) and instances is much more like CPython now.
You can use "type('name', (), {...})" to create classes.
2014-01-09 20:57:50 +00:00
..
asmthumb.c Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
asmthumb.h Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
asmx64.c Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
asmx64.h Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
bc.h Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
bc0.h Add ellipsis object. 2014-01-04 18:44:46 +00:00
builtin.c Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr. 2014-01-09 20:57:50 +00:00
builtin.h py: Improve __build_class__. 2014-01-08 11:47:55 +00:00
builtinimport.c Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
compile.c Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
compile.h Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
emit.h Typo fix in comment. 2014-01-07 22:51:08 +00:00
emitbc.c Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
emitcommon.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
emitcpy.c Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
emitinlinethumb.c Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
emitnative.c Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
emitpass1.c Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
gc.c Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
gc.h Fix func decls with no arguments: () -> (void). 2013-10-23 20:20:17 +01:00
grammar.h Add ellipsis object. 2014-01-04 18:44:46 +00:00
lexer.c Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
lexer.h Move lexerstr to main py directory (everyone uses it). 2014-01-08 15:28:26 +00:00
lexerstr.c Move lexerstr to main py directory (everyone uses it). 2014-01-08 15:28:26 +00:00
lexerunix.c Move lexerstr to main py directory (everyone uses it). 2014-01-08 15:28:26 +00:00
lexerunix.h Move lexerstr to main py directory (everyone uses it). 2014-01-08 15:28:26 +00:00
malloc.c Rename default config file to mpconfig.h, and port's to mpconfigport.h. 2014-01-03 19:03:11 +02:00
map.c py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t. 2014-01-08 17:33:12 +00:00
map.h Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr. 2014-01-09 20:57:50 +00:00
misc.h Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
mpconfig.h Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
mpqstr.h Split qstr into pools, and put initial pool in ROM. 2014-01-04 15:57:35 +00:00
mpqstrraw.h Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
nlr.h Fix func decls with no arguments: () -> (void). 2013-10-23 20:20:17 +01:00
nlrthumb.S Make "unix" target be crossplatform and support x86, x64, ARM hosts. 2013-12-30 03:38:32 +02:00
nlrx64.S OSX: fixes to make nlrx64.S with Apple's clang (switched to Apple-specific define instead of __llvm__) 2014-01-04 20:27:13 +01:00
nlrx86.S Make "unix" target be crossplatform and support x86, x64, ARM hosts. 2013-12-30 03:38:32 +02:00
obj.c py: add variable argument exception constructor function. 2014-01-08 18:11:23 +00:00
obj.h Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr. 2014-01-09 20:57:50 +00:00
objbool.c py: add variable argument exception constructor function. 2014-01-08 18:11:23 +00:00
objboundmeth.c Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
objcell.c Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
objclosure.c Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
objcomplex.c Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
objdict.c Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr. 2014-01-09 20:57:50 +00:00
objexcept.c py: add variable argument exception constructor function. 2014-01-08 18:11:23 +00:00
objfloat.c py: Proper framework for built-in 'type'. 2014-01-08 18:48:12 +00:00
objfun.c py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t. 2014-01-08 17:33:12 +00:00
objgenerator.c Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
objint.c Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
objlist.c py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t. 2014-01-08 17:33:12 +00:00
objmodule.c Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr. 2014-01-09 20:57:50 +00:00
objnone.c Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
objrange.c Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
objset.c Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
objslice.c Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
objstr.c Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
objtuple.c Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
objtype.c Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr. 2014-01-09 20:57:50 +00:00
parse.c Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
parse.h Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
py.mk Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr. 2014-01-09 20:57:50 +00:00
qstr.c Make qstr_init reinitialize last_pool. 2014-01-05 12:08:55 -08:00
repl.c Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
repl.h Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
runtime.c Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr. 2014-01-09 20:57:50 +00:00
runtime.h Split qstr into pools, and put initial pool in ROM. 2014-01-04 15:57:35 +00:00
runtime0.h Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
scope.c Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
scope.h Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
showbc.c Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
stream.c py: add variable argument exception constructor function. 2014-01-08 18:11:23 +00:00
stream.h Add generic implementations of Python read()/write methods for streams. 2014-01-08 17:38:38 +02:00
unicode.c Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
vm.c Use constructor to create small int (avoid exposing mp_obj_t internals to VM). 2014-01-07 22:51:08 +00:00
vstr.c Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00