2155 Commits (713ea1800d1f0c82a0c75885ad034705556ab5ef)

Author SHA1 Message Date
Damien George 713ea1800d py: Add constant table to bytecode. 9 years ago
Damien George 3a3db4dcf0 py: Put all bytecode state (arg count, etc) in bytecode. 9 years ago
Damien George 9b7f583b0c py: Reorganise bytecode layout so it's more structured, easier to edit. 10 years ago
Damien George 1f92ffb5b7 py/emitinlinethumb: Allow to compile with -Wsign-compare. 9 years ago
Damien George 723d598d32 py/asmthumb: Allow to compile with -Wsign-compare and -Wunused-parameter. 9 years ago
Paul Sokolovsky 50f56227c6 py/objint_longlong: Instead of assert, throw OverflowError. 9 years ago
Dave Hylands 7f3c0d1ea8 py: Clear finalizer flag when calling gc_free. 9 years ago
Damien George 8b8d189bc0 py: Adjust object repr C (30-bit stuffed float) to reduce code size. 9 years ago
Damien George 731f359292 all: Add py/mphal.h and use it in all ports. 9 years ago
Paul Sokolovsky 2b080cf599 py/modstruct: Support repetition counters for all types, not just string. 9 years ago
adminpete d6201fc4b7 py: In inline asm, vldr and vstr offsets now in bytes not words. 9 years ago
omtinez 17c649da3d py/makeversionhdr.py: Work with backslashes in paths. 9 years ago
Paul Sokolovsky e0d7740a22 extmod/modlwip: slip: Use stream protocol and be port-independent. 9 years ago
Paul Sokolovsky 0dbd928cee Makefiles: Remove duplicate object files when linking. 9 years ago
Damien George 22521ea9e2 py/nlrthumb: Make compatible with Cortex-M0 (ARMv6M instr set). 9 years ago
Damien George 04353cc85e py: With obj repr "C", change raw str accessor from macro to function. 9 years ago
Damien George 183edefddd py: Add object repr "C", where 30-bit floats are stuffed in obj word. 9 years ago
Damien George aedb859177 py: Make float representation configurable with object representation. 9 years ago
Damien George 7e359c648b py: Move float e/pi consts to objfloat and make mp_obj_float_t private. 9 years ago
Damien George aaef1851a7 py: Add mp_obj_is_float function (macro) and use it where appropriate. 9 years ago
Paul Sokolovsky e0f5df579b all: Make netutils.h available to all ports by default. 9 years ago
Paul Sokolovsky 8ee153f234 unix/modtime: Implement ticks_ms(), ticks_us() and ticks_diff(). 9 years ago
Damien George 096d1e4512 py: Add lsl/lsr/asr opcode support to inline Thumb2 assembler. 9 years ago
Paul Sokolovsky 7799410950 py/stream: Allow to reuse is_nonblocking_error(). 9 years ago
Damien George 035a0a2b6e py: Add support for _ in REPL to hold last computed value. 9 years ago
Damien George e813541e3f py: Add option for inline assembler to support ARMv7-M instructions. 9 years ago
Damien George 4bf3f2d3c0 py: Fix with+for+return bug by popping for-iter when unwinding exc stack. 9 years ago
Damien George 4300c7dba2 py: Remove dependency on printf/fwrite in mp_plat_print. 9 years ago
Damien George d7e3b36a09 py/compile: Remove unnecessary label in compilation of for statement. 9 years ago
Damien George fcce1483fa py: Fix build of ARM native emitter due to recent viper changes. 9 years ago
Damien George 59a41e8fcd py/qstr: Fix calc of qstr memory usage, due to new qstr chunk allocation. 9 years ago
Damien George b8f9ac5411 py: Implement ptr32 load and store in viper emitter. 9 years ago
Damien George 3c9c3687d6 py: Add support to call __init__ from a builtin module on first import. 9 years ago
Paul Sokolovsky 408b74d74c py: Allow to to build MicroPython as a static library. 9 years ago
Damien George fdfcee7b1e py/parse: Make parser error handling cleaner, less spaghetti-like. 9 years ago
Damien George 64f2b213bb py: Move constant folding from compiler to parser. 9 years ago
Paul Sokolovsky 91fc075a33 py/objarray: Allow to create array of void pointers, as extension to CPython. 9 years ago
Paul Sokolovsky 1b586f3a73 py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 9 years ago
Paul Sokolovsky 53ca6ae1f3 py/makeqstrdata.py: Catch and report case of empty input file. 9 years ago
Damien George 366239b8b9 py/parse: Factor logic when creating parse node from and-rule. 9 years ago
Damien George b948de36fb py: Don't generate unnecessary parse nodes for assignment or kwargs. 9 years ago
Damien George 9f5f156b9d py/emitnative: Raise ViperTypeError for unsupported unary ops. 9 years ago
Damien George 7e12a601b8 py/compile: Fix edge case when constant-folding negation of integer. 9 years ago
Paul Sokolovsky aaa8867d4a modussl: SSL socket wrapper module based on axTLS. 9 years ago
Damien George 0496de26d3 py: Allow to enable inline assembler without native emitter. 9 years ago
Damien George 58e0f4ac50 py: Allocate parse nodes in chunks to reduce fragmentation and RAM use. 9 years ago
Damien George e5635f4ab3 py: Catch all cases of integer (big and small) division by zero. 9 years ago
Damien George 2065373f67 py/mpz: Fix bignum anding of large negative with smaller positive int. 9 years ago
Damien George 2f4e8511cd py/mpz: Force rhs of mpz_shl_inpl/mpz_shr_inpl to be unsigned. 9 years ago
Damien George 4c02e54298 py/mpz: Raise NotImplError instead of failing assertion. 9 years ago