1. 20 Oct, 2016 2 commits
  2. 19 Oct, 2016 3 commits
  3. 18 Oct, 2016 1 commit
  4. 17 Oct, 2016 5 commits
  5. 14 Oct, 2016 3 commits
  6. 11 Oct, 2016 2 commits
  7. 10 Oct, 2016 4 commits
  8. 06 Oct, 2016 1 commit
  9. 05 Oct, 2016 3 commits
    • Kunshan Wang's avatar
      API: Creation and destruction. · 8d38c30d
      Kunshan Wang authored
      Creaation and destruction of MuVM, MuCtx and MuIRBuilder. Now the
      `mvm->new_context`, `ctx->new_ir_builder`, `ctx->close_context` and
      `b->abort` works. MuVM can also be created via a top-level "C"-style
      exported function `mu_fastimpl_new()` so that in theory, it can be used
      in C programs.
      8d38c30d
    • qinsoon's avatar
      remove warnings · f92bb162
      qinsoon authored
      f92bb162
    • qinsoon's avatar
      simple throw catch works fine · 8da9f1ed
      qinsoon authored
      internal id and machine id do not persist during serialization
      and restoration. Currently I use fixed ID for machine registers.
      But internal id is still generated, this might be a problem in
      the future.
      8da9f1ed
  10. 04 Oct, 2016 2 commits
    • Kunshan Wang's avatar
      API: Scaffold for API · 102a2e30
      Kunshan Wang authored
      Now it is the time to actually implement the public API. This commit
      only contains scaffolds so that it compiles, and I can fill in actual
      implementations later. Most of them should forward to the actual VM.*
      methods (with some adaptations).
      102a2e30
    • qinsoon's avatar
      [wip] going to implement catch part · 681ae5aa
      qinsoon authored
      681ae5aa
  11. 30 Sep, 2016 2 commits
  12. 29 Sep, 2016 7 commits
  13. 28 Sep, 2016 5 commits
    • Kunshan Wang's avatar
      API-GEN: Added linker flags. · f9e3d65e
      Kunshan Wang authored
      Added linker flags so it will work in Linux.
      f9e3d65e
    • Kunshan Wang's avatar
      API-GEN: Testing the API... · 67ba114c
      Kunshan Wang authored
      Test whether the generated stubs are reasonable.
      67ba114c
    • qinsoon's avatar
      [wip] add Arc<VM> to TLS, working on exception · 913aed14
      qinsoon authored
      913aed14
    • qinsoon's avatar
      frame done. · 5fbf8fa4
      qinsoon authored
      partially serialize compiled function into bootimage
      5fbf8fa4
    • Kunshan Wang's avatar
      [API-GEN]: Tests, CStr, comments. · 14b3ee5f
      Kunshan Wang authored
      Added the "localtest" directory for testing the API without touching
      other modules. (TODO: It could be moved somewhere else, but should not
      use src as an extern crate, or it will depend on the entire crate.)
      
      Use CStr for incoming strings from C. CString is for C-style strings
      **owned by Rust**.
      
      Added comments at the beginning of api_c.rs and api_bridge.rs to
      indicate some parts of the files are generated.
      14b3ee5f