Commit Graph

  • 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