13188 Commits (1c53d85162007750d0708cf665a8bb7c062053be)
 

Author SHA1 Message Date
Damien d79338969b py: restrict further when for-range optimisation is done. 11 years ago
Damien 86c7fc7dd9 py: add list pop and sort, unpack_sequence, and keywords in method_call. 11 years ago
Damien 6f3e7fc505 py: add UNPACK_SEQUENCE and keyword methods to VM. 11 years ago
Damien ff099f36d6 py: add more functionality to showbc. 11 years ago
Damien d47f9d5a4f py: add call to __init__ when instantiating class object. 11 years ago
Damien c1075ddc8f py: add some more opcodes to showbc. 11 years ago
Damien 1895cf91af Link showbc.o in unix version. 11 years ago
Damien f03001f8a6 Add function to decode and show byte code. 11 years ago
Damien 0446a0d76d Change some debugging/output messages for native code generation. 11 years ago
Damien 6d4f3462c4 Viper: function calls now convert constant arguments to objects. 11 years ago
Damien 39c6c59868 STM: add LCD functions for pixel access; add RNG Py bindings. 11 years ago
Damien 5c13dbf6ee STM: add RNG support. 11 years ago
Damien 087d218d95 Unix: add machine-specific sqrt support. 11 years ago
Damien 6b92d451b2 Add len and subscr (a hack) support for strings. 11 years ago
Damien 94658e2e25 Add JUMP_IF_x_OR_POP opcodes to VM. 11 years ago
Damien f3822fc34c Fix but with optimised range being 1 over. 11 years ago
Damien 6d42ab6625 Small improvements to timer module. 11 years ago
Damien bd8e110207 Add to STM code timer functionality to call Python on interrupt. 11 years ago
Damien f72fd0e875 Add optimisation for "for x in range". 11 years ago
Damien 5bf32c3b6b Built-in print function supports variable number of arguments. 11 years ago
Damien ae0bc08a37 Viper supports inplace add (trivial). 11 years ago
Damien 40fdfe3000 Improve allocation of stack for byte code. 11 years ago
Damien 03c9cfb015 Make byte code jumps relative. 11 years ago
Damien 1c62d04e2e Add DAC, and simple audio driver to STM code. 11 years ago
Damien 6addc89e55 Byte code for SMALL_INT uses 3 bytes for integer. 11 years ago
Damien 0c70f88734 Add simple PWM control command to STM code. 11 years ago
Damien e8674399f1 Add vprintf, vsnprintf to STM code. 11 years ago
Damien 96a0addb18 Fixup include of stdarg and va_list definition. 11 years ago
Damien 2f06c57f8a Add simple var-arg functions; add simple string.format. 11 years ago
Damien 0e496733fe Add simple file support to board. 11 years ago
Damien 33af3bf028 Change Py API names, py_get_* -> py_obj_get_*. 11 years ago
Damien 014e19fc4d Fix compiler warnings in unix/main.c. 11 years ago
Damien 9b9e996df6 Support for for-loop in native thumb. 11 years ago
Damien 1a6633a74d Implement more thumb branch instructions. 11 years ago
Damien a53f694dc3 Test code for user objects. 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 fecee2b0ae Floats work with MP on board; function for LCD pixel manipulation. 11 years ago
Damien e0b1864337 Small hack to temporarily fix allocation of unique_code slots. 11 years ago
Damien ccfc9c51ba Py runtime: list.append returns None. 11 years ago
Damien 4ebb32fb95 Implement: str.join, more float support, ROT_TWO in VM. 11 years ago
Damien 4c51cbdc0b Add proper FPU compile flags; disable Python float support. 11 years ago
Damien e8217c2a9b Remove debugging print for SD card; add comment to possibly-buggy USB code. 11 years ago
Damien c1764e997c Add syscfg and SPI libraries from STM. 11 years ago
Damien 4a14eb0b8d PC13 (SDIO detect) can handle at most 2MHz speed config. 11 years ago
Damien 5892f4710e Working SD card, but no functionality yet (was hardware error). 11 years ago
Damien 8f7491a109 Add USART support, connected to stdio for REPL. 11 years ago
Damien 9281cd66c9 Add simple readline history. 11 years ago
Damien 8128941e6c Add support for RTC, used as a calendar. 11 years ago