38 Commits (48697f1dd2fbf45fda6de4277de976c23e7d8302)

Author SHA1 Message Date
Paul Sokolovsky 90750029df Implement default function arguments (for Python functions). 11 years ago
Paul Sokolovsky 91fb1c9b13 Add basic implementation of bytes type, piggybacking on str. 11 years ago
Damien George 0d028743aa py: Initialise loaded_module map in rt_init. 11 years ago
Damien George 20006dbba9 Make VM stack grow upwards, and so no reversed args arrays. 11 years ago
Damien George f62d33aa1d Consolidate rt_make_function_[0123] to rt_make_function_n. 11 years ago
John R. Lenton b8698fca75 unified the bops 11 years ago
Damien George eb7bfcb286 Split qstr into pools, and put initial pool in ROM. 11 years ago
Damien George 66028ab6dc Basic implementation of import. 11 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs. 11 years ago
Damien a3dcd9e80c py: add more Python built-in functions. 11 years ago
Damien 660365e14c py: split runtime into map, obj, builtin. 11 years ago
Damien 9ecbcfff99 py: work towards working closures. 11 years ago
Damien db4c361f1c py: add skeletal import functionality. 11 years ago
Damien 86c7fc7dd9 py: add list pop and sort, unpack_sequence, and keywords in method_call. 11 years ago
Damien 2f06c57f8a Add simple var-arg functions; add simple string.format. 11 years ago
Damien 33af3bf028 Change Py API names, py_get_* -> py_obj_get_*. 11 years ago
Damien d57eba51e5 Add user object to runtime. 11 years ago
Damien 6ba1314265 Fix bug: emit native didn't clear last_was_return in label_assign. 11 years ago
Damien 7410e440ab Add basic complex number support. 11 years ago
Damien 4ebb32fb95 Implement: str.join, more float support, ROT_TWO in VM. 11 years ago
Damien 2839168340 Add py_get_array_fixed_n function. 11 years ago
Damien 6f08f8ce51 Add working MMA support. 11 years ago
Damien 8b3a7c2237 Fix func decls with no arguments: () -> (void). 11 years ago
Damien 9fc7933ff2 Add py_get_qstr. 11 years ago
Damien ec63cce470 Add simple support for C modules. 11 years ago
Damien df4b4f31ef Make grammar rules const so the go in .text section. 11 years ago
Damien 1595f3257e Make rt_fun_table const, so it goes in .text section. 11 years ago
Damien 5ac1b2efbd Implement REPL. 11 years ago
Damien d2755ec538 Add iterators and comprehension to emitnative. 11 years ago
Damien c12aa468a1 Add SET_ADD opcode to VM. 11 years ago
Damien bd25445a82 Implement BC & runtime support for generator/yielding. 11 years ago
Damien c226dca1f7 Support tuples and list comprehension, albeit crude. 11 years ago
Damien ce89a21ea4 Implement basic exception framework, and simple for loop. 11 years ago
Damien eb19efb27e Simplify and improve function & method calling. 11 years ago
Damien 7f5dacf345 Implement basic class/object in native code. 11 years ago
Damien a397776d6b Implement basic class/object functionality in runtime. 11 years ago
Damien 826005c60b Add support for inline thumb assembly. 11 years ago
Damien 429d71943d Initial commit. 11 years ago