Commit Graph

42 Commits

Author SHA1 Message Date
Ilya Rezvov f6cae32148 fix float numbers parsing 2018-04-10 15:04:18 -07:00
Ilya Rezvov f4e008ab9a fix arguments order on function call 2018-04-10 09:17:26 -07:00
Ilya Rezvov d055a4ff6d fix call_indirect evaluation 2018-04-09 21:41:17 -07:00
Ilya Rezvov dac931b055 implement assert_return assertion 2018-04-09 15:08:48 -07:00
Ilya Rezvov 8cd33831a1 'fix' type of br_if and comment multiple table definitions in test module 2018-04-08 20:06:25 -07:00
Ilya Rezvov 8ef3eadc9a parse arithmetic nan 2018-04-08 19:47:10 -07:00
Ilya Rezvov 6b376ee4cb fix elems validator 2018-04-08 17:51:04 -07:00
Ilya Rezvov 7a66ff7150 provide imports for modules from registery 2018-04-08 12:50:36 -07:00
Ilya Rezvov 98d9ca2399 fix parsing binary modules from text representation 2018-04-08 11:54:29 -07:00
Ilya Rezvov 87758b2789 fix memory growing for empty data segments 2018-04-08 10:53:14 -07:00
Ilya Rezvov 8b5c7fa154 grow tables and memories on module initialization 2018-04-08 10:45:09 -07:00
Ilya Rezvov d7641bcee2 fix implicit type extraction 2018-04-08 10:25:05 -07:00
Ilya Rezvov 43feccbf08 load modules in wasm script commands 2018-04-08 09:43:41 -07:00
Ilya Rezvov 4ed8752744 add whole test files from Core Test Suit 2018-03-20 21:01:25 -07:00
Ilya Rezvov 4bf66b9295 fix module idents coding 2018-03-20 16:51:58 -07:00
Ilya Rezvov 51f4cdfa53 fix arguments ordering for int binary operations 2018-03-16 10:11:06 -07:00
Ilya Rezvov 3d9cb6132b make fact work 2018-03-15 21:53:02 -07:00
Ilya Rezvov 88696e4666 make tests green again 2018-02-25 16:12:56 -08:00
Ilya Rezvov fdfdd14ace pass more tests on validation stage 2018-02-25 12:28:51 -08:00
Ilya Rezvov 6a3a7d56a5 fix context building for typechecker 2018-02-25 11:28:51 -08:00
Ilya Rezvov 1366c63bf3 pass more tests 2018-02-25 08:52:44 -08:00
Ilya Rezvov e05bcdd0cb handle functions with empty body 2018-02-24 21:49:06 -08:00
Ilya Rezvov 55215f56de pass more tests 2018-02-24 21:08:18 -08:00
Ilya Rezvov 62bca80a3a make validation result monoid instance 2018-02-21 20:52:46 -08:00
Ilya Rezvov 7bd2914148 add some validation checks 2018-02-21 20:14:39 -08:00
Ilya Rezvov 55a6b482ef fix mem arg parsing 2018-02-19 18:48:50 -08:00
Ilya Rezvov f1eae1969a fix section parsing 2018-02-19 18:38:54 -08:00
Ilya Rezvov 928fa3a606 add deserializer for instructions and module 2018-02-19 18:36:17 -08:00
Ilya Rezvov 8dc40aa699 make serializer work correct 2018-02-19 14:30:06 -08:00
Ilya Rezvov f6a2daefcc fix tests 2018-02-18 10:20:24 -08:00
Ilya Rezvov 4f11058f4b desugarize exports 2018-02-18 10:19:12 -08:00
Ilya Rezvov e9e59f1a9b simplify function parsing code 2018-01-23 11:14:17 -08:00
Ilya Rezvov b517c2bb28 improve test runner 2018-01-22 20:41:58 -08:00
Ilya Rezvov 5618f59cc3 add more test files 2018-01-22 20:16:05 -08:00
Ilya Rezvov 0b593a4a8c fix block, loop and if folded forms parsing 2018-01-22 18:39:53 -08:00
Ilya Rezvov e78f07a19f parse if folded form correct 2018-01-22 18:21:28 -08:00
Ilya Rezvov 64fb4c0a35 support part of tables abbreviations 2018-01-22 15:18:18 -08:00
Ilya Rezvov 91ceecb51e improve parsing error message 2018-01-21 10:14:32 -08:00
Ilya Rezvov c0992fee62 parse module 2018-01-21 09:57:29 -08:00
Ilya Rezvov 5c4ca137a5 add nan and inf parsing 2018-01-19 10:26:10 -08:00
Ilya Rezvov d6395b490e add id parsing 2018-01-18 22:39:24 -08:00
Ilya Rezvov 10011f6fb2 initial 2018-01-18 16:07:04 -08:00