Commit Graph

  • a0d575f61f Implements __alloc_bytes__, uses it in the buffer example Johan B.W. de Vries 2022-08-09 20:21:59 +02:00
  • a13713d709 Cleanup to helpers, making use of runners Johan B.W. de Vries 2022-08-09 19:04:10 +02:00
  • 41b47e43d6 Implements RunnerWasmer, makes uses of its wat2wasm Johan B.W. de Vries 2022-08-07 14:46:20 +02:00
  • 0edd04c207 Adds RunnerWasmtime Johan B.W. de Vries 2022-08-07 14:12:37 +02:00
  • 58424cf2a0 Adds runner for pywasm Johan B.W. de Vries 2022-08-06 20:50:43 +02:00
  • 253974df24 Adds runner classes to tests, implements xor for u8, u32, u64 Johan B.W. de Vries 2022-08-06 20:11:39 +02:00
  • c5e2744b3e Moved stdlib.alloc to the new generator Johan B.W. de Vries 2022-08-06 14:52:57 +02:00
  • a5c68065d7 More ideas about easy code generation Johan B.W. de Vries 2022-08-06 13:44:11 +02:00
  • fea817ca00 Added more robust and easy way to generate WASM Johan B.W. de Vries 2022-08-04 21:18:53 +02:00
  • e03f038cf9 More work on allocator Johan B.W. de Vries 2022-08-04 20:51:59 +02:00
  • b42ae275b9 Start on new allocator Johan B.W. de Vries 2022-08-04 20:09:01 +02:00
  • fe864e6b9d Example code Johan B.W. de Vries 2022-07-20 20:39:55 +02:00
  • a83858aca7 Adds u32 and u64 Johan B.W. de Vries 2022-07-09 14:22:38 +02:00
  • 89ad648f34 Moved rendering to codestyle, parsing to parser Johan B.W. de Vries 2022-07-09 14:04:40 +02:00
  • cc762cfa44 Typing is a chapter of its own Johan B.W. de Vries 2022-07-09 12:48:54 +02:00
  • d32613d9b8 We have a name \o/ Johan B.W. de Vries 2022-07-09 12:35:32 +02:00
  • 14eede6b06 Cleanup to wasm.py Johan B.W. de Vries 2022-07-09 12:30:28 +02:00
  • c181c61040 Extended the import example a bit for sanity's sake Johan B.W. de Vries 2022-07-09 11:34:20 +02:00
  • 76d80f57cb Imports Johan B.W. de Vries 2022-07-08 21:06:13 +02:00
  • eb74c8770d Examples HTML now serve higlighted py Johan B.W. de Vries 2022-07-08 20:41:58 +02:00
  • 17aa5fd6f9 Examples HTML now serve higlighted WAT Johan B.W. de Vries 2022-07-08 20:23:12 +02:00
  • 27fa1cc76d bytes[idx] for any expression idx Johan B.W. de Vries 2022-07-02 21:48:39 +02:00
  • 374231d206 bytes, u8 types Johan B.W. de Vries 2022-06-25 20:45:33 +02:00
  • 467d409d80 Add tests for static checks Johan B.W. de Vries 2022-06-24 21:49:27 +02:00
  • 0afab89796 Memory access from outside with example setup Johan B.W. de Vries 2022-06-24 19:48:07 +02:00
  • b28df7fa74 Fix: Could not both export and use function Johan B.W. de Vries 2022-06-24 18:52:43 +02:00
  • 0da309a280 Remove old code Johan B.W. de Vries 2022-06-19 17:04:20 +02:00
  • ac0c49a92c Now runs on new code Johan B.W. de Vries 2022-06-19 16:54:14 +02:00
  • a480e60698 Buildin float ops Johan B.W. de Vries 2022-06-19 16:26:58 +02:00
  • 453c2865a8 Structs Johan B.W. de Vries 2022-06-19 16:09:06 +02:00
  • 9dbdb11732 Simple calls Johan B.W. de Vries 2022-06-19 15:25:58 +02:00
  • 83b0b705ae If statement, more operators Johan B.W. de Vries 2022-06-19 15:20:47 +02:00
  • 8c25227f40 Started on compilation, typing changes Johan B.W. de Vries 2022-06-19 15:10:13 +02:00
  • 658e442df2 - Tuple => () - All tests are now parsed by our own AST Johan B.W. de Vries 2022-06-06 12:18:09 +02:00
  • e7b72b6a6b Started on our own AST Johan B.W. de Vries 2022-05-26 15:52:49 +02:00
  • efba4e0daa pip fix, wasmer update Johan B.W. de Vries 2022-05-24 11:43:42 +02:00
  • 865eccd719 Testing with various wasm implementations Johan B.W. de Vries 2022-05-07 14:21:43 +02:00
  • 6b717dba0b Fix pathing issue when wat2wasm is not globally installed Johan B.W. de Vries 2022-05-07 12:14:34 +02:00
  • 249c00f6a2 Implements mult and sqrt Johan B.W. de Vries 2022-04-29 12:56:45 +02:00
  • c5d039aa1f Implements tuple creation / usage Johan B.W. de Vries 2022-04-29 12:30:31 +02:00
  • c16eb86e10 Adds type class, making it easier to lookup types Johan B.W. de Vries 2022-04-29 12:00:38 +02:00
  • efe24fb4b5 Locals support in wasm. You can now have multiple objects [skip-ci] Johan B.W. de Vries 2022-03-05 11:42:01 +01:00
  • b468ffa780 First memory test checks out [skip-ci] Johan B.W. de Vries 2022-03-04 15:50:53 +01:00
  • bd7e8d33bf Partial implementation [skip-ci] Johan B.W. de Vries 2022-03-04 13:35:08 +01:00
  • 1a35710da4 cleanup [skip-ci] Johan B.W. de Vries 2022-03-04 13:27:38 +01:00
  • 6932741ac5 Learning about stacks and locals [skip-ci] Johan B.W. de Vries 2022-03-04 13:18:32 +01:00
  • 541b3a3b62 Learning about data usage [skip-ci] Johan B.W. de Vries 2022-03-04 12:48:43 +01:00
  • 3aef459924 idea / scaffolding [skip-ci] Johan B.W. de Vries 2022-03-04 09:57:35 +01:00
  • 98d3d8848a i64, f32, f64 (some conversions) Johan B.W. de Vries 2021-08-07 15:24:10 +02:00
  • 9616d20460 fib works \o/ Johan B.W. de Vries 2021-08-07 15:02:20 +02:00
  • b26efc797d Cleanup, added tests Johan B.W. de Vries 2021-08-07 14:52:51 +02:00
  • 0c64973b2b UAdd, tests Johan B.W. de Vries 2021-08-07 14:40:15 +02:00
  • e972b37149 If statements \o/ Johan B.W. de Vries 2021-08-07 14:34:50 +02:00
  • c234f57283 More rewriting [skip-ci] Johan B.W. de Vries 2021-04-05 18:11:07 +02:00
  • 07aeb52560 more ideas [skip-ci] Johan B.W. de Vries 2021-04-05 14:40:18 +02:00
  • 58bd5f0889 More cleanup [skip-ci] Johan B.W. de Vries 2021-04-05 10:41:26 +02:00
  • 633267b37d ideas [skip-ci] Johan B.W. de Vries 2021-04-04 16:43:55 +02:00
  • edd12e5b7c cleanup [skip-ci] Johan B.W. de Vries 2021-04-04 16:32:56 +02:00
  • 2a93d6125e ideas [skip-ci] Johan B.W. de Vries 2021-04-03 18:37:09 +02:00
  • 473cd0b626 cleanups [skip-ci] Johan B.W. de Vries 2021-04-03 12:45:13 +02:00
  • 547576de00 New repo, containing the basic idea Johan B.W. de Vries 2021-04-03 12:26:06 +02:00