Wykres commitów

  • fecee2b0ae Floats work with MP on board; function for LCD pixel manipulation. Damien 2013-11-02 16:41:51 +0000
  • e0b1864337 Small hack to temporarily fix allocation of unique_code slots. Damien 2013-11-02 16:41:24 +0000
  • ccfc9c51ba Py runtime: list.append returns None. Damien 2013-11-02 15:10:37 +0000
  • 4ebb32fb95 Implement: str.join, more float support, ROT_TWO in VM. Damien 2013-11-02 14:33:10 +0000
  • 4c51cbdc0b Add proper FPU compile flags; disable Python float support. Damien 2013-11-01 23:25:37 +0000
  • e8217c2a9b Remove debugging print for SD card; add comment to possibly-buggy USB code. Damien 2013-11-01 23:25:08 +0000
  • c1764e997c Add syscfg and SPI libraries from STM. Damien 2013-11-01 22:27:51 +0000
  • 4a14eb0b8d PC13 (SDIO detect) can handle at most 2MHz speed config. Damien 2013-10-30 22:27:38 +0000
  • 5892f4710e Working SD card, but no functionality yet (was hardware error). Damien 2013-10-26 18:02:46 +0100
  • 8f7491a109 Add USART support, connected to stdio for REPL. Damien 2013-10-26 18:01:48 +0100
  • 9281cd66c9 Add simple readline history. Damien 2013-10-26 02:29:02 +0100
  • 8128941e6c Add support for RTC, used as a calendar. Damien 2013-10-26 02:06:37 +0100
  • 58a1b4c6cf Add USB HID support. Runs as an alternative to VCP+MSC. Damien 2013-10-25 20:53:54 +0100
  • 2839168340 Add py_get_array_fixed_n function. Damien 2013-10-25 00:40:38 +0100
  • 7ee80bac8e Add support for SD card (not working). Damien 2013-10-24 00:22:27 +0100
  • 6f08f8ce51 Add working MMA support. Damien 2013-10-23 22:17:26 +0100
  • d2c1a732e5 Call gc_free in gc_realloc after allocating new block. Damien 2013-10-23 21:03:27 +0100
  • 0f6545139b Implement simple servo control using PWM. Damien 2013-10-23 20:39:20 +0100
  • 8b3a7c2237 Fix func decls with no arguments: () -> (void). Damien 2013-10-23 20:20:17 +0100
  • 94186c8239 Implement boot-up commands; run main script after boot. Damien 2013-10-23 00:02:06 +0100
  • 9fc7933ff2 Add py_get_qstr. Damien 2013-10-23 00:01:10 +0100
  • e9f1e50be4 Board running boot.py, working REPL, soft reboot. Damien 2013-10-22 23:09:25 +0100
  • ec63cce470 Add simple support for C modules. Damien 2013-10-22 22:58:17 +0100
  • 92c06561a3 Improve REPL compount statement detection. Damien 2013-10-22 22:32:27 +0100
  • 9d63932b3d Add gchelper.s, to load registers and clean stack for GC. Damien 2013-10-22 21:13:59 +0100
  • 0c5827fc65 stm: improved GC, and cooked output for VCP. Damien 2013-10-22 21:13:36 +0100
  • bb5316b905 gc: reserve first block; lexer: free vstr. Damien 2013-10-22 21:12:29 +0100
  • fd8b6bcf55 Add gc_free function to force a block to be freed. Damien 2013-10-22 20:26:36 +0100
  • 7b2d3f38ce Implement some more operators, mostly for small ints. Damien 2013-10-22 16:53:02 +0100
  • 1b50affca8 Remove unnecessary USB files from stm. Damien 2013-10-22 16:23:53 +0100
  • d276f6357e Get unix version compling. Damien 2013-10-22 16:05:47 +0100
  • f086ecf57c Shrink py_obj_base_t size to 4 machine words. Damien 2013-10-22 16:05:11 +0100
  • eefcc79022 Clear ATBs on gc_init; better gc_info. Damien 2013-10-22 15:25:25 +0100
  • 3f69aca2e2 Make stm use garbage collector. Damien 2013-10-21 23:46:04 +0100
  • dcced92c26 Add mark-sweep garbage collector. Damien 2013-10-21 23:45:08 +0100
  • f48cf67108 Implement crude but working REPL for board. Damien 2013-10-21 10:42:06 +0100
  • cbb8868f74 VCP works, need to init comm port PC side; add some debugging output. Damien 2013-10-21 10:41:12 +0100
  • 4b6e85ca26 Try to get REPL working, but bug with CDC VCP... Damien 2013-10-21 09:56:56 +0100
  • fa2162bc77 Integrate new lexer stream with stm framework. Damien 2013-10-20 17:42:00 +0100
  • 27fb45eb1c Add local_num skeleton framework to deref/closure emit calls. Damien 2013-10-20 15:07:49 +0100
  • a5185f4bc8 Abstract out back-end stream functionality from lexer. Damien 2013-10-20 14:41:27 +0100
  • 68f59a96e3 Add vstr and its functions. Damien 2013-10-20 14:39:58 +0100
  • df4b4f31ef Make grammar rules const so the go in .text section. Damien 2013-10-19 18:28:01 +0100
  • 4d7adce9c5 Remove obsolete emitthumb.c (now use emitnative.c). Damien 2013-10-19 18:17:12 +0100
  • afe12bca23 Fix IRQ priority issue to give working USB; and some cleanup. Damien 2013-10-19 18:13:48 +0100
  • fb42ec17bc Try to re-add USB support... Damien 2013-10-19 15:37:09 +0100
  • d7a7a30a4f Make pfenv's const so they go in .text section. Damien 2013-10-19 15:36:20 +0100
  • 1595f3257e Make rt_fun_table const, so it goes in .text section. Damien 2013-10-19 15:09:32 +0100
  • 00ff04fc49 Working SysTick, code factoring, some boot-up code. Damien 2013-10-19 14:40:54 +0100
  • 995b8aabb1 Partially implement proper flash storage. Damien 2013-10-18 23:44:05 +0100
  • 5ac1b2efbd Implement REPL. Damien 2013-10-18 19:58:12 +0100
  • 7bbd110691 Remove line in emitbc.c to print code size. Damien 2013-10-18 19:57:17 +0100
  • 3997be444c Add single_input rule to grammar, for REPL. Damien 2013-10-18 19:56:48 +0100
  • 9f770c658f Fix up insertion of newline at end of lexer stream. Damien 2013-10-18 19:54:31 +0100
  • 4a175e1f11 Fix up linker script; improve startup code; printf to USB. Damien 2013-10-17 22:50:21 +0100
  • d2755ec538 Add iterators and comprehension to emitnative. Damien 2013-10-16 23:58:48 +0100
  • c12aa468a1 Add SET_ADD opcode to VM. Damien 2013-10-16 20:57:49 +0100
  • 5fd09668b7 Add MAP_ADD opcode to VM. Damien 2013-10-16 20:54:01 +0100
  • bd25445a82 Implement BC & runtime support for generator/yielding. Damien 2013-10-16 20:39:12 +0100
  • c226dca1f7 Support tuples and list comprehension, albeit crude. Damien 2013-10-16 16:12:52 +0100
  • 152568bcb6 NLR and Python exceptions work on the board. Damien 2013-10-16 00:46:39 +0100
  • c9f91976e1 Crude try-except working. Damien 2013-10-15 23:46:01 +0100
  • ce89a21ea4 Implement basic exception framework, and simple for loop. Damien 2013-10-15 22:25:17 +0100
  • 5dd455d06d Change VID/PID info so USB works on Windows. Damien 2013-10-14 00:03:29 +0100
  • fee89d520f Implement crude but functional CDC + MSC USB device. Damien 2013-10-13 19:02:15 +0100
  • ed65605edc Inital commit of stm32f4xx framework. Damien 2013-10-13 00:42:20 +0100
  • 3ef4abb446 Change ifdef/if defined to simple if's. Damien 2013-10-12 16:53:13 +0100
  • 0efb3a1b66 Tidy up SMALL_INT optimisations and CPython compatibility. Damien 2013-10-12 16:16:56 +0100
  • 3a205179ea Option in compile.c to emit compatible or not with CPython. Damien 2013-10-12 15:01:56 +0100
  • c025ebb2dc Separate out mpy core and unix version. Damien 2013-10-12 14:30:21 +0100
  • a56f292626 Remove obsolete emitx64.c (now in emitnative.c). Damien 2013-10-10 23:30:29 +0100
  • a1ddfcc213 Wrap out-native code in preprocessor declarations. Damien 2013-10-10 23:25:50 +0100
  • eb19efb27e Simplify and improve function & method calling. Damien 2013-10-10 22:06:54 +0100
  • 5609cca2ce Rename vm.h to bc.h. Damien 2013-10-10 20:00:08 +0100
  • 7f5dacf345 Implement basic class/object in native code. Damien 2013-10-10 11:24:39 +0100
  • a397776d6b Implement basic class/object functionality in runtime. Damien 2013-10-09 23:10:10 +0100
  • 91d387de7d Improve indent/dedent error checking and reporting. Damien 2013-10-09 15:09:52 +0100
  • ff8ed77cc1 Improve push/pop and register usage for native emit. Damien 2013-10-08 22:18:32 +0100
  • 13ed3a658d Native Python and Viper support for x64 and thumb all together. Damien 2013-10-08 09:05:10 +0100
  • 3410be8035 Merge viper types with standard native emitter. Damien 2013-10-07 23:09:10 +0100
  • acbf9a50d0 Rename r64->reg, i64->imm. Damien 2013-10-07 21:52:14 +0100
  • 016f75f434 Add comments. Damien 2013-10-07 21:22:39 +0100
  • 7af3d19a3c Implement crude viper emit stage. Damien 2013-10-07 00:02:49 +0100
  • e4af64f307 Functions to convert values to/from inline asm. Damien 2013-10-06 12:04:13 +0100
  • dc83382903 Make runtime able to call inline asm with 1 argument. Damien 2013-10-06 01:01:01 +0100
  • 03d4124320 Add b_n opcode to inline thumb asm. Damien 2013-10-06 00:36:05 +0100
  • b14de21fc8 Optimise typedargslist_name to not create a node if just an id. Damien 2013-10-06 00:28:28 +0100
  • a2f2f7db1f Almost supports arguments for inline asm functions. Damien 2013-10-06 00:14:13 +0100
  • 5fa5ae40be Make range of small int 24 bits. Damien 2013-10-06 00:13:15 +0100
  • 39cf3285c7 Oops: add emitpass1.c for new factorised emit code. Damien 2013-10-05 23:18:38 +0100
  • 826005c60b Add support for inline thumb assembly. Damien 2013-10-05 23:17:28 +0100
  • 5bfb759980 Incorporate emit_thumb into new emit framework. Damien 2013-10-05 18:41:24 +0100
  • 6cdd3af601 Implement built-in decorators to select emit type. Damien 2013-10-05 18:08:26 +0100
  • 4b03e77d4a Factorise EMIT_COMMON calls, mostly into emit_pass1. Damien 2013-10-05 14:17:09 +0100
  • 054848a1b8 Compiler computes labels and max_num_labels. Damien 2013-10-05 13:44:41 +0100
  • b05d707b23 Further factorise PASS_1 out of specific emit code. Damien 2013-10-05 13:37:10 +0100
  • 415eb6f850 Restructure emit so it goes through a method table. Damien 2013-10-05 12:19:06 +0100
  • 492d082455 Use macro EMIT_COMMON for emit_common calls. Damien 2013-10-04 20:35:08 +0100
  • d69adc19c7 Small fixes to Makefile. Damien 2013-10-04 20:34:47 +0100
  • 429d71943d Initial commit. Damien 2013-10-04 19:53:11 +0100