Commit Graph

40 Commits

Author SHA1 Message Date
Ilya Rezvov fe83e2c1a3 rebase artefacts 2021-04-04 17:34:03 -07:00
Ilya Rezvov b816e04b6d type signature parsing for loop and if blocks 2021-04-04 17:30:38 -07:00
Ilya Rezvov b64193b6a9 clean up the parser a little bit and relax arity checks on validation phase 2021-04-04 17:30:38 -07:00
Ilya Rezvov 2082a8557f start multivalue proposal implementation for block instruction 2021-04-04 17:30:38 -07:00
Ilya Rezvov ea7769aa9f more grammar fixes 2021-04-04 17:28:16 -07:00
Ilya Rezvov b1874dfcea start multivalue proposal implementation for block instruction 2021-04-04 17:23:43 -07:00
Ilya Rezvov 20c2623b1c fix align bug for I64Load32U and start mutable globals export/import proposal 2021-04-04 17:23:43 -07:00
Ilya Rezvov 4fb4da0f2f more grammar fixes 2021-04-04 17:23:43 -07:00
Ilya Rezvov d7e1b803f5 fix build and tests for ghc >8.6 2020-01-13 21:56:06 -08:00
Ilya Rezvov 709c8d994c bump version to 1.0 tag 2018-06-20 16:33:52 -07:00
Ilya Rezvov 05ad97a30e fix binary generation 2018-05-22 18:47:10 -07:00
Ilya Rezvov 1330eb41f6 start builder api 2018-05-12 22:37:50 -07:00
Ilya Rezvov 73124a3eff pass all assert_invalid tests 2018-04-14 17:11:47 -07:00
Ilya Rezvov 681e0e3eca fix br_if typing 2018-04-14 16:31:21 -07:00
Ilya Rezvov d0b1092064 simplify validation algorithm 2018-04-14 13:38:09 -07:00
Ilya Rezvov 23ed83a42e fix parsing of functions with incorrect type indexes 2018-04-13 16:56:25 -07:00
Ilya Rezvov 16bbc3d198 implement assert_invalid assertion 2018-04-13 14:25:23 -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 6b376ee4cb fix elems validator 2018-04-08 17:51:04 -07:00
Ilya Rezvov 98d9ca2399 fix parsing binary modules from text representation 2018-04-08 11:54:29 -07:00
Ilya Rezvov d7641bcee2 fix implicit type extraction 2018-04-08 10:25:05 -07:00
Ilya Rezvov edbdeaec46 start instruction evaluator 2018-03-14 21:12:01 -07:00
Ilya Rezvov 93d6d4a417 allocate memories and tables 2018-03-11 19:11:19 -07:00
Ilya Rezvov 867092c820 add globals allocation 2018-03-07 16:35:36 -08:00
Ilya Rezvov 1dab371720 calculate module instance 2018-03-07 14:40:19 -08:00
Ilya Rezvov 6075818a56 const expression get_global can refer only imported constant globals 2018-02-27 15:45:39 -08:00
Ilya Rezvov 8012373a96 finish validation phase 2018-02-27 15:28:38 -08:00
Ilya Rezvov e373066ef5 add more validators 2018-02-26 15:48:11 -08: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 d53611c1e5 pass more tests 2018-02-25 09:53:28 -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 d69f0fed99 check expression types 2018-02-24 19:29:06 -08:00
Ilya Rezvov 89e0fb89ed add instruction type signatures 2018-02-24 12:13:50 -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 75bdf0637f start binary format support 2018-02-18 19:03:21 -08:00