circuitpython/py
Paul Sokolovsky a80ff04fe7 Add dummy bytes() constructor.
Currently, MicroPython strings are mix between CPython byte and unicode
strings. So, conversion is null so far. This dummy implementation is
intended for compatibility with CPython (so, same code can run on both).
2014-01-20 20:37:01 +02: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
bc0.h Merge branch 'master' of github.com:dpgeorge/micropython 2014-01-11 09:37:41 +00:00
bc.h py: Add module/function/class name to exceptions. 2014-01-19 11:48:48 +00:00
builtin.c Add dummy bytes() constructor. 2014-01-20 20:37:01 +02:00
builtin.h Add dummy bytes() constructor. 2014-01-20 20:37:01 +02:00
builtineval.c Add source file name and line number to error messages. 2014-01-18 23:24:36 +00:00
builtinimport.c Implement modules as singletons Python semantics. 2014-01-20 00:38:39 +02:00
builtinmp.c py: Put micropython module init code in builtinmp.c. 2014-01-20 10:30:24 +00:00
compile.c py: Add module/function/class name to exceptions. 2014-01-19 11:48:48 +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 module/function/class name to exceptions. 2014-01-19 11:48:48 +00:00
emitbc.c py: Add module/function/class name to exceptions. 2014-01-19 11:48:48 +00:00
emitcommon.c Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
emitcpy.c Add source file name and line number to error messages. 2014-01-18 23:24:36 +00:00
emitinlinethumb.c Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
emitnative.c Add source file name and line number to error messages. 2014-01-18 23:24:36 +00:00
emitpass1.c Add source file name and line number to error messages. 2014-01-18 23:24:36 +00:00
gc.c Move BITS_PER_BYTE, BITS_PER_WORD to mpconfig.h for reuse. 2014-01-12 22:04:20 +02:00
gc.h Fix func decls with no arguments: () -> (void). 2013-10-23 20:20:17 +01:00
grammar.h Implement eval. 2014-01-15 22:14:03 +00:00
lexer.c Add source file name and line number to error messages. 2014-01-18 23:24:36 +00:00
lexer.h Add source file name and line number to error messages. 2014-01-18 23:24:36 +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 Implemented set.remove 2014-01-12 19:16:59 +00:00
map.h Implemented set.remove 2014-01-12 19:16:59 +00:00
misc.h Merge branch 'str2int' of github.com:xyb/micropython into xyb-str2int 2014-01-15 22:58:39 +00:00
mpconfig.h py: Add module/function/class name to exceptions. 2014-01-19 11:48:48 +00:00
mpqstr.h Split qstr into pools, and put initial pool in ROM. 2014-01-04 15:57:35 +00:00
mpqstrraw.h Add dummy bytes() constructor. 2014-01-20 20:37:01 +02: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 mp_identity(): Add generic identity function. 2014-01-20 18:42:08 +02:00
obj.h mp_identity(): Add generic identity function. 2014-01-20 18:42:08 +02:00
objarray.c Add skeleton implementation of array.array and bytearray. 2014-01-18 19:27:38 +02:00
objarray.h Add objarray.h . 2014-01-19 01:40:47 +02:00
objbool.c Make VM stack grow upwards, and so no reversed args arrays. 2014-01-18 14:10:48 +00:00
objboundmeth.c Make VM stack grow upwards, and so no reversed args arrays. 2014-01-18 14:10:48 +00:00
objcell.c Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
objclosure.c Make VM stack grow upwards, and so no reversed args arrays. 2014-01-18 14:10:48 +00:00
objcomplex.c Make VM stack grow upwards, and so no reversed args arrays. 2014-01-18 14:10:48 +00:00
objdict.c Change int to uint for n_args in function with variable arguments. 2014-01-19 16:02:09 +00:00
objenumerate.c Make VM stack grow upwards, and so no reversed args arrays. 2014-01-18 14:10:48 +00:00
objexcept.c py: Add full traceback to exception printing. 2014-01-19 12:38:49 +00:00
objfilter.c Make VM stack grow upwards, and so no reversed args arrays. 2014-01-18 14:10:48 +00:00
objfloat.c Make VM stack grow upwards, and so no reversed args arrays. 2014-01-18 14:10:48 +00:00
objfun.c Make VM stack grow upwards, and so no reversed args arrays. 2014-01-18 14:10:48 +00:00
objgenerator.c Add source file name and line number to error messages. 2014-01-18 23:24:36 +00:00
objint_longlong.c int: Add value accessors: mp_obj_int_get() & mp_obj_int_get_checked(). 2014-01-18 16:12:12 +02:00
objint.c Merge branch 'master' of github.com:dpgeorge/micropython 2014-01-18 14:15:48 +00:00
objint.h type->print(): Distinguish str() and repr() variety by passing extra param. 2014-01-15 02:15:38 +02:00
objlist.c Change int to uint for n_args in function with variable arguments. 2014-01-19 16:02:09 +00:00
objmap.c Make VM stack grow upwards, and so no reversed args arrays. 2014-01-18 14:10:48 +00:00
objmodule.c Implement modules as singletons Python semantics. 2014-01-20 00:38:39 +02:00
objnone.c type->print(): Distinguish str() and repr() variety by passing extra param. 2014-01-15 02:15:38 +02:00
objrange.c Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
objset.c Change int to uint for n_args in function with variable arguments. 2014-01-19 16:02:09 +00:00
objslice.c type->print(): Distinguish str() and repr() variety by passing extra param. 2014-01-15 02:15:38 +02:00
objstr.c Properly print MP_OBJ_QSTR objects. 2014-01-20 01:00:28 +02:00
objtuple.c Make VM stack grow upwards, and so no reversed args arrays. 2014-01-18 14:10:48 +00:00
objtuple.h type->print(): Distinguish str() and repr() variety by passing extra param. 2014-01-15 02:15:38 +02:00
objtype.c Improve method lookup in mp_obj_class_lookup. 2014-01-18 17:52:41 +00:00
objzip.c Make VM stack grow upwards, and so no reversed args arrays. 2014-01-18 14:10:48 +00:00
parse.c py: Add module/function/class name to exceptions. 2014-01-19 11:48:48 +00:00
parse.h py: Add module/function/class name to exceptions. 2014-01-19 11:48:48 +00:00
py.mk Expose memory stats functions via "micropython" module. 2014-01-20 02:20:40 +02:00
qstr.c Make qstr_init reinitialize last_pool. 2014-01-05 12:08:55 -08: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
runtime0.h py: Fix emitcpy and emitnative's binary_op. 2014-01-11 09:47:06 +00:00
runtime.c Add dummy bytes() constructor. 2014-01-20 20:37:01 +02:00
runtime.h Make VM stack grow upwards, and so no reversed args arrays. 2014-01-18 14:10:48 +00:00
scope.c py: Add module/function/class name to exceptions. 2014-01-19 11:48:48 +00:00
scope.h py: Add module/function/class name to exceptions. 2014-01-19 11:48:48 +00:00
showbc.c py: Add module/function/class name to exceptions. 2014-01-19 11:48:48 +00:00
stream.c stream_read(): Shrink memory block to actual read size. 2014-01-20 20:37:01 +02:00
stream.h stream: Add generic unbuffered iternext method. 2014-01-20 18:42:08 +02:00
strtonum.c Add errno=0 before call. 2014-01-15 23:08:33 +00:00
unicode.c Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
vm.c py: Add full traceback to exception printing. 2014-01-19 12:38:49 +00:00
vstr.c Add "buffer management" and "shrink" API calls to vstr. 2014-01-13 23:31:06 +02:00