84 Commits (11d8cd54c992eee55f27d3779738626bdc095c03)

Author SHA1 Message Date
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
Paul Sokolovsky d440dc0513 unix: Use argv[0] for command name in usage. 11 years ago
Paul Sokolovsky a55a5469c3 unix: Support #if-able impl-specific cmdline options. 11 years ago
Paul Sokolovsky d4e7e06d7f unix: Properly recognize and report when script on cmdline not found. 11 years ago
Damien George 15d18069c5 py: Remove old "run time" functions that were 1 liners. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Damien George 9b196cddab Remove mp_obj_type_t.methods entry and use .locals_dict instead. 11 years ago
Damien George c12b2213c1 Change mp_method_t.name from const char * to qstr. 11 years ago
xbe c93a22197b unix: Clean up includes. 11 years ago
Damien George 5e34909a12 unix: Make usage info reflect actual usage of -X option. 11 years ago
Damien George 0c36da0b59 Implement ROMable modules. Add math module. 11 years ago
Damien George 635927bbce unix: Add to usage print-out telling about -X option. 11 years ago
Paul Sokolovsky a374d9c860 unix: Allow to set heap size using "-X heapsize=N" option. 11 years ago
Paul Sokolovsky 44739e280e Make DEBUG_printf() a proper function, implementation is port-dependent. 11 years ago
Damien George c5966128c7 Implement proper exception type hierarchy. 11 years ago
Damien George a71c83a1d1 Change mp_obj_type_t.name from const char * to qstr. 11 years ago
Paul Sokolovsky 910843e86d Allow ports to define statically builtin functions. 11 years ago
Paul Sokolovsky e7db8171d8 unix: Implement garbage collection support. 11 years ago
Paul Sokolovsky a075741c90 Rename str_join -> strjoin to make it not clash with objstr's one. 11 years ago
Paul Sokolovsky 9945f33886 Rename "rawsocket" module to "microsocket". 11 years ago
Damien George e09ffa1400 Search paths properly on import and execute __init__.py if it exists. 11 years ago
Paul Sokolovsky 9110896063 Remove older import helpers, no longer used. 11 years ago
Paul Sokolovsky 630d85120f unix: Be sure to add current/base dir of a script to sys.path. 11 years ago
Paul Sokolovsky 625d08a93e unix: Initialize sys.path from MICROPYPATH environment variable. 11 years ago
Paul Sokolovsky a9459bc723 unix: Add basic time module (with time() and clock() functions). 11 years ago
Paul Sokolovsky ed1239fce6 Add mpconfigport.mk file to configure which modules to include into build. 11 years ago
Damien George 4d5b28cd08 Add qstr_info() function and bindings for unix port. 11 years ago
Paul Sokolovsky 60a9fac8d4 unix: Initial implementation of FFI module. 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
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 fe2690da0a unix: Implement sys.argv. 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
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 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