97 Commits (b25711ea8fdc1588b5a69f7d0941de09b50fa28c)

Author SHA1 Message Date
Damien George 62ad189a65 py: Add compile option to enable/disable source line numbers. 11 years ago
Damien George 4d5b28cd08 Add qstr_info() function and bindings for unix port. 11 years ago
Damien George 8bf91f2a87 unix: Fix compile warnings for ffi module on 64-bit machine. 11 years ago
Paul Sokolovsky 60a9fac8d4 unix: Initial implementation of FFI module. 11 years ago
Damien George 56bb636014 Change -Og to -O0 in unix-cpy/Makefile; cast to small int in socket.c. 11 years ago
Paul Sokolovsky a88c30c64a unix socket: Add setsockopt() method. 11 years ago
Paul Sokolovsky 5d362d3209 unix socket: Add few more socket constants. 11 years ago
Paul Sokolovsky db0b282d45 unix socket: Store module constants in data structure. 11 years ago
Paul Sokolovsky e2febe90e3 unix Makefile: -Og doesn't work (at least) with gcc 4.6 below. 11 years ago
Damien George b829b5caec Implement mp_parse_node_free; print properly repr(string). 11 years ago
Paul Sokolovsky aee2ba70de Add parse_node_free_struct() and use it to free parse tree after compilation. 11 years ago
Dave Hylands c89c681a9f Rework makefiles. Add proper dependency checking. 11 years ago
Paul Sokolovsky 2b2cb7b7f4 unix main: Free input line. 11 years ago
Damien George 5fa93b6755 Second stage of qstr revamp: uPy str object can be qstr or not. 11 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash. 11 years ago
Paul Sokolovsky 51ee44a718 unix file: Refactor and add sys.stdout/stdin/stderr. 11 years ago
Paul Sokolovsky f0cfb8cb45 Don't preimport socket module. 11 years ago
Paul Sokolovsky fc35aa6828 unix socket: Add send() and recv() methods. 11 years ago
Paul Sokolovsky decd597273 unix io.FileIO: Add iteration support. 11 years ago
Damien George 7d08935458 Rename unix binary to 'micropython'. 11 years ago
Paul Sokolovsky fe2690da0a unix: Implement sys.argv. 11 years ago
Damien George a11ceca807 Change int to uint for n_args in function with variable arguments. 11 years ago
Damien George 136b149e41 py: Add full traceback to exception printing. 11 years ago
Damien George cbd2f7482c py: Add module/function/class name to exceptions. 11 years ago
Paul Sokolovsky 50a2d6ff59 Fix incorrect prototype of mp_builtin_open() after args refactor. 11 years ago
Damien George a8a6db2a1d Fix warnings about int/pointer casting. 11 years ago
Damien George 08335004cf Add source file name and line number to error messages. 11 years ago
Paul Sokolovsky fc92608237 Add lean ("raw") socket module. 11 years ago
Damien George 20006dbba9 Make VM stack grow upwards, and so no reversed args arrays. 11 years ago
Paul Sokolovsky 966879cf59 Add long int implementation using C long long type, enable for unix port. 11 years ago
Paul Sokolovsky 9953ca432b Add unbuffered readline() implementation for Raw I/O files. 11 years ago
Damien George 9528cd66d7 Convert parse errors to exceptions. 11 years ago
Paul Sokolovsky 76d982ef34 type->print(): Distinguish str() and repr() variety by passing extra param. 11 years ago
xyb c178ea471e Implemented int(str) in UNIX 11 years ago
Paul Sokolovsky 5225450b9f Add generic impl of stream .readall() method. Use one for unix io.FileIO. 11 years ago
John R. Lenton 9549919349 made DEBUG control CFLAGS in Makefiles oter than stm as well. 11 years ago
Damien George 004cdcebfe py: Implement base class lookup, issubclass, isinstance. 11 years ago
Damien George 062478e66d Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr. 11 years ago
Dave Hylands 4646801181 Make build output quieter. 11 years ago
Damien George 6c73ca1e75 py: add variable argument exception constructor function. 11 years ago
Paul Sokolovsky e0e79ae6d6 unix: Add basic implementation of io.FileIO object. 11 years ago
John R. Lenton 9c83ec0eda Merge remote-tracking branch 'upstream/master' into dict_feats 11 years ago
Damien George d3ebe4829d Factor and simplify Makefile's and mpconfig, part 2. 11 years ago
Damien George 136f67523b Factor and simplify Makefile's and mpconfig. 11 years ago
ian-v 5fd8fd2c16 Revert MP_BOOL, etc. and use <stdbool.h> instead 11 years ago
ian-v 7a16fadbf8 Co-exist with C++ (issue #85) 11 years ago
Paul Sokolovsky 860ffb0a43 Convert many object types structs to use C99 tagged initializer syntax. 11 years ago
Damien George 71c5181a8d Convert Python types to proper Python type hierarchy. 11 years ago
Paul Sokolovsky d674bd5989 Convert USE_READLINE config option to be consistent with others. 11 years ago
Damien George eb7bfcb286 Split qstr into pools, and put initial pool in ROM. 11 years ago