circuitpython/py
Damien George 0a587b85fb py: Pass keyword args to native functions by using the stack.
Passing keyword arguments to a native function now no longer requires
heap memory.  The kw_args map is created on the stack using the args
array as the table.
2014-02-08 18:53:41 +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 py: Partially fix native emitter to work with latest runtime. 2014-02-02 13:11:48 +00:00
asmx64.h Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
bc.h py: mp_execute_byte_code has 2 arg arrays, for more efficient default params. 2014-02-01 18:29:40 +00:00
bc0.h py: Tidy up BINARY_OPs; negation done by special NOT bytecode. 2014-02-01 23:04:09 +00:00
builtin.c Make mp_obj_str_get_data return char* instead of byte*. 2014-02-08 18:17:23 +00:00
builtin.h Expose __import__() function. 2014-02-04 00:47:06 +02:00
builtinevex.c Make mp_obj_str_get_data return char* instead of byte*. 2014-02-08 18:17:23 +00:00
builtinimport.c Make mp_obj_str_get_data return char* instead of byte*. 2014-02-08 18:17:23 +00:00
builtinmp.c Revamp qstrs: they now include length and hash. 2014-01-21 21:40:13 +00:00
compile.c py: Fix compile of class with keyword arguments in bases. 2014-02-06 20:30:16 +00:00
compile.h Add source file name and line number to error messages. 2014-01-18 23:24:36 +00:00
emit.h py: Add built-in super. 2014-02-05 00:51:47 +00:00
emitbc.c py: Tidy up BINARY_OPs; negation done by special NOT bytecode. 2014-02-01 23:04:09 +00:00
emitcommon.c Revamp qstrs: they now include length and hash. 2014-01-21 21:40:13 +00:00
emitcpy.c py: Tidy up BINARY_OPs; negation done by special NOT bytecode. 2014-02-01 23:04:09 +00:00
emitinlinethumb.c py: Improve freeing of emitters in mp_compile. 2014-01-24 22:42:28 +00:00
emitnative.c py: Partially fix native emitter to work with latest runtime. 2014-02-02 13:11:48 +00:00
emitpass1.c py: Add built-in super. 2014-02-05 00:51:47 +00:00
gc.c Revert "Move gc_collect to py/gc.c" 2014-01-24 22:54:09 +00:00
gc.h Fix func decls with no arguments: () -> (void). 2013-10-23 20:20:17 +01:00
grammar.h py: Add built-in super. 2014-02-05 00:51:47 +00:00
lexer.c Implement mp_parse_node_free; print properly repr(string). 2014-01-25 13:51:19 +00:00
lexer.h Search paths properly on import and execute __init__.py if it exists. 2014-02-05 23:57:48 +00:00
lexerstr.c Implement mp_parse_node_free; print properly repr(string). 2014-01-25 13:51:19 +00:00
lexerunix.c Remove older import helpers, no longer used. 2014-02-05 02:03:23 +02:00
lexerunix.h Move lexerstr to main py directory (everyone uses it). 2014-01-08 15:28:26 +00:00
makeqstrdata.py Retain file order of qstr definitions. 2014-01-24 22:22:00 +00:00
malloc.c realloc(): Log original memory ptr too. 2014-01-30 03:58:17 +02:00
map.c py: Allow mp_map_t to be initialised by a fixed-size, const table. 2014-02-08 18:47:46 +00:00
map.h py: Allow mp_map_t to be initialised by a fixed-size, const table. 2014-02-08 18:47:46 +00:00
misc.h Implement fixed buffer vstrs; use them for import path. 2014-02-06 21:11:19 +00:00
mkenv.mk Rework makefiles. Add proper dependency checking. 2014-01-24 08:46:48 -08:00
mkrules.mk Fixed dependency problem for qstrdefs.generated.h 2014-01-25 08:55:31 -08:00
mpconfig.h Implement fixed buffer vstrs; use them for import path. 2014-02-06 21:11:19 +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 Fixed problems with nlx86.S on Linux 2014-01-28 19:52:04 +01:00
obj.c py: Tidy up BINARY_OPs; negation done by special NOT bytecode. 2014-02-01 23:04:09 +00:00
obj.h Make mp_obj_str_get_data return char* instead of byte*. 2014-02-08 18:17:23 +00:00
objarray.c Make mp_obj_str_get_data return char* instead of byte*. 2014-02-08 18:17:23 +00:00
objarray.h Add objarray.h . 2014-01-19 01:40:47 +02:00
objbool.c Implement __bool__ and __len__ via unary_op virtual method for all types. 2014-01-30 04:37:19 +02:00
objboundmeth.c Revamp qstrs: they now include length and hash. 2014-01-21 21:40:13 +00:00
objcell.c Revamp qstrs: they now include length and hash. 2014-01-21 21:40:13 +00:00
objclosure.c Revamp qstrs: they now include length and hash. 2014-01-21 21:40:13 +00:00
objcomplex.c Implement __bool__ and __len__ via unary_op virtual method for all types. 2014-01-30 04:37:19 +02:00
objdict.c py: Tidy up BINARY_OPs; negation done by special NOT bytecode. 2014-02-01 23:04:09 +00:00
objenumerate.c Revamp qstrs: they now include length and hash. 2014-01-21 21:40:13 +00:00
objexcept.c Typo fixes in comments. 2014-01-31 19:47:23 +02:00
objfilter.c Revamp qstrs: they now include length and hash. 2014-01-21 21:40:13 +00:00
objfloat.c py: Tidy up BINARY_OPs; negation done by special NOT bytecode. 2014-02-01 23:04:09 +00:00
objfun.c py: Pass keyword args to native functions by using the stack. 2014-02-08 18:53:41 +00:00
objgenerator.c py: Simplify fastn in VM; reduce size of unique code struct. 2014-01-29 20:30:52 +00:00
objgetitemiter.c py: Implement iterator support for object that has __getitem__. 2014-01-25 00:17:36 +00:00
objint.c Make mp_obj_str_get_data return char* instead of byte*. 2014-02-08 18:17:23 +00:00
objint.h long int: Implement more operations. 2014-01-27 12:25:23 +02:00
objint_longlong.c py: Tidy up BINARY_OPs; negation done by special NOT bytecode. 2014-02-01 23:04:09 +00:00
objlist.c mp_obj_new_list(n, items): Copy items only if not-NULL. 2014-02-04 19:36:00 +02:00
objmap.c Revamp qstrs: they now include length and hash. 2014-01-21 21:40:13 +00:00
objmodule.c Search paths properly on import and execute __init__.py if it exists. 2014-02-05 23:57:48 +00:00
objnone.c Implement __bool__ and __len__ via unary_op virtual method for all types. 2014-01-30 04:37:19 +02:00
objrange.c Revamp qstrs: they now include length and hash. 2014-01-21 21:40:13 +00:00
objset.c py: Tidy up BINARY_OPs; negation done by special NOT bytecode. 2014-02-01 23:04:09 +00:00
objslice.c Revamp qstrs: they now include length and hash. 2014-01-21 21:40:13 +00:00
objstr.c Make mp_obj_str_get_data return char* instead of byte*. 2014-02-08 18:17:23 +00:00
objtuple.c Fix assert() usage. 2014-02-02 08:58:16 +02:00
objtuple.h type->print(): Distinguish str() and repr() variety by passing extra param. 2014-01-15 02:15:38 +02:00
objtype.c Add staticmethod and classmethod to builtin namespace. 2014-02-06 20:31:44 +00:00
objzip.c Revamp qstrs: they now include length and hash. 2014-01-21 21:40:13 +00:00
parse.c py: Fix bug with LOAD_METHOD; fix int->machine_int_t for small int. 2014-01-29 18:58:52 +00:00
parse.h Implement mp_parse_node_free; print properly repr(string). 2014-01-25 13:51:19 +00:00
py.mk py: Implement builtin exec. 2014-02-03 22:44:10 +00:00
qstr.c Add qstr_info() function and bindings for unix port. 2014-01-29 18:56:46 +00:00
qstr.h Add qstr_info() function and bindings for unix port. 2014-01-29 18:56:46 +00:00
qstrdefs.h Add staticmethod and classmethod to builtin namespace. 2014-02-06 20:31:44 +00:00
repl.c mp_repl_is_compound_stmt(): Thinko fix s/true/try/. 2014-01-11 00:12:06 +02:00
repl.h Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
runtime.c py: Put builtins into ROM table. 2014-02-06 22:57:51 +00:00
runtime.h Implement support for sys.path when loading modules. 2014-02-05 01:40:41 +02:00
runtime0.h py: Partially fix native emitter to work with latest runtime. 2014-02-02 13:11:48 +00:00
scope.c Allow qstr's with non-ident chars, construct good identifier for them. 2014-01-24 02:34:22 +02:00
scope.h mp_compile(): Properly free module_scope and all nested scopes. 2014-01-23 23:16:18 +02:00
sequence.c Implement str/bytes rich comparisons. 2014-02-02 08:58:16 +02:00
showbc.c py: More output in showbc. 2014-02-06 20:31:32 +00:00
stream.c Make mp_obj_str_get_data return char* instead of byte*. 2014-02-08 18:17:23 +00:00
stream.h stream: Add generic unbuffered iternext method. 2014-01-20 18:42:08 +02:00
strtonum.c Revamp qstrs: they now include length and hash. 2014-01-21 21:40:13 +00:00
unicode.c Implement octal and hex escapes in strings. 2014-01-22 22:48:25 +02:00
vm.c py: Tidy up BINARY_OPs; negation done by special NOT bytecode. 2014-02-01 23:04:09 +00:00
vstr.c Implement fixed buffer vstrs; use them for import path. 2014-02-06 21:11:19 +00:00