Commit Graph

  • 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