Commit Graph

33 Commits

Author SHA1 Message Date
Ilya Rezvov 46f95dd11d parse memory instructions 2023-08-21 21:11:39 -06:00
Ilya Rezvov 2d4ad42549 add syntax support for extended data segments 2023-08-21 21:11:39 -06:00
Ilya Rezvov c044f3f556 add return type for select 2023-08-21 21:11:39 -06:00
Ilya Rezvov f445340568 add elem.drop and extend call_indirect to accept table index 2023-08-21 21:11:39 -06:00
Ilya Rezvov fd72ee9d23 newtype for expressions to serialize in vectors 2023-08-21 21:11:39 -06:00
Ilya Rezvov b6c0ef4462 update text and binary parsers to new elem formats 2023-08-21 21:11:39 -06:00
Ilya Rezvov 0bf74253cb fix serialization/deserialization and complete saturated data conversions 2021-04-12 23:01:39 -07:00
Ilya Rezvov b816e04b6d type signature parsing for loop and if blocks 2021-04-04 17:30:38 -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 a0bdcae94a fix memarg binary parsing 2018-05-23 11:48:45 -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 8ca3319ba4 add wasm executable 2018-05-10 13:39:43 -07:00
Ilya Rezvov 78e59dea8f add length constraint check for LEB128 encoded integers 2018-04-16 21:47:38 -07:00
Ilya Rezvov b27ce14618 check if length of code section equals of length of function type section 2018-04-16 20:11:46 -07:00
Ilya Rezvov 09f4b15d2c implemented assert_malformed assertion and added NFData instances for all parsing types 2018-04-15 16:16:11 -07:00
Ilya Rezvov 98d9ca2399 fix parsing binary modules from text representation 2018-04-08 11:54:29 -07:00
Ilya Rezvov edbdeaec46 start instruction evaluator 2018-03-14 21:12:01 -07: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 809d5bbf38 serialize code and data segments 2018-02-19 13:52:46 -08:00
Ilya Rezvov 37656d868a add serializer for export, start and elem sections 2018-02-19 13:31:35 -08:00
Ilya Rezvov 9d784d03bd pack/unpack int values 2018-02-19 12:52:20 -08:00
Ilya Rezvov 0029c68115 add put implememntation for insturction 2018-02-19 09:37:02 -08:00
Ilya Rezvov f9239c52ee serialize more sections 2018-02-18 22:59:02 -08:00
Ilya Rezvov 78653b911c write import section 2018-02-18 22:46:19 -08:00
Ilya Rezvov 75bdf0637f start binary format support 2018-02-18 19:03:21 -08:00