128 Commits (4d91723587b27c5a1da7e759e3f761a16b35d4bd)

Author SHA1 Message Date
Damien George 9c4cbe2ac0 py: Make tuple and list use mp_int_t/mp_uint_t. 10 years ago
Damien George 3c658a4e75 py: Fix bug where GC collected native/viper/asm function data. 10 years ago
Damien George 8f81b5cb4b py: Put SystemExit in builtin namespace. 10 years ago
Damien George 8dbbbbc793 Put call to qstr_init and mp_init_emergency_exc_buf in mp_init. 10 years ago
Paul Sokolovsky d0f5e61ab5 py: Implement __file__ attribute for modules. 10 years ago
Dave Hylands 5b7fd20fea Add support for storing args during an exception raised by an irq. 11 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky caa7334141 stackctrl: Add "mp_" prefix. 11 years ago
stijn ec6fa8732b windows: Sync mpconfigport.h with the unix' version 11 years ago
Paul Sokolovsky 8a96ebea75 py: Move stack_ctrl_init() to mp_init(). 11 years ago
Paul Sokolovsky 23668698cb py: Add portable framework to query/check C stack usage. 11 years ago
Paul Sokolovsky 141df2d350 unix: Dump default heap size in usage message. 11 years ago
Paul Sokolovsky 69d0a1c540 unix: uClibc doesn't like NULL as a buffer arg to realpath(). 11 years ago
stijn df3ab07994 unix: Fix path seperator used depending on OS 11 years ago
Paul Sokolovsky d3439d0c60 py: Instead of having "debug on" var, have "optimization level" var. 11 years ago
Paul Sokolovsky dd0dee3afc unix: Properly print script filename in case of error. 11 years ago
Paul Sokolovsky 3dfa76cb85 unix: 64-bit cleanness. 11 years ago
Paul Sokolovsky 914bcf16d8 unix: Add poorman's stack usage info to mem_info() dump. 11 years ago
Damien George 7a4ddd2428 Add SystemExit exception and use it in unix/ and stmhal/ ports. 11 years ago
Damien George cc97446ca5 unix: Implement -O option to turn off __debug__ flag. 11 years ago
Damien George 96f137b24a py: Rename BYTE_CODE to BYTECODE (this was missed in previous rename). 11 years ago
stijn 9e040b7cd8 unix: Use standard return codes for main 11 years ago
Paul Sokolovsky d99e9083cb modsys, unix: Add sys.exit(), should be implemented by a port. 11 years ago
Dave Hylands 117c46d9eb Add input command for unix 11 years ago
Paul Sokolovsky f9e54e0ea5 modgc: Add new module for GC-related functionality. 11 years ago
Paul Sokolovsky 6b344d7816 py, unix: Add -v option, print bytecode dump if used. 11 years ago
Damien George c327c0de5d unix: Remove test class and code. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 6ec835dfef Don't print git hash as well as git tag in banner. 11 years ago
Damien George 977a0ce287 py: Print tag/version/git describe in uPy banner. 11 years ago
stijn 4cd21deebc mingw: Add implementation of realpath() 11 years ago
Paul Sokolovsky f54bcbf099 py, unix: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Paul Sokolovsky a196d08dfc unix windows: mingw32 doesn't have realpath(), use _fullpath() instead. 11 years ago
Paul Sokolovsky b76fd842f0 unix mem_info(): Dump GC info only if it's enabled. 11 years ago
Paul Sokolovsky 4abaa1b12b unix modffi: Convert to static module structures. 11 years ago
Paul Sokolovsky e1e4249a67 unix modsocket: Convert to static module structures. 11 years ago
Paul Sokolovsky 59a2f4828d unix: Make mem_info() dump GC info too. 11 years ago
Paul Sokolovsky eb2fc9787a unix modtime: Convert to static module structures. 11 years ago
Damien George d553be5982 build: Simplify build directory layout by putting all headers in genhdr. 11 years ago
Paul Sokolovsky 5500cdeec7 py, unix: Convert sys module to static representation. 11 years ago
Damien George f22626ee4f unix: Add option to only compile, and not execute code. 11 years ago
Damien George 72cfc6ef0a unix: Oops, remove nlr_jump test in main. 11 years ago
Damien George 26cf55ae05 Add a check for NULL nlr_top in nlr_jump. 11 years ago
Damien George 97790455fe Improve REPL detecting when input needs to continue. 11 years ago
Paul Sokolovsky b8cf948550 unix, windows: There's no "help" builtin. 11 years ago
Damien George 6827f9fc55 Add uPy welcome message to UNIX and Windows ports; update Teensy port. 11 years ago
Damien George 65cad12d38 py: Add option to compiler to specify default code emitter. 11 years ago
Paul Sokolovsky cd31d826bf unix: Use STATIC modifier to enable code size analysis via map file. 11 years ago
Paul Sokolovsky 70193b2b4c unix: Routines related to terminal reading should use system malloc. 11 years ago
Damien George bd17e1b3ae unix: Allocate more heap memory by default on 64 bit machines. 11 years ago