Commit Graph

270 Commits

Author SHA1 Message Date
Ilya Rezvov d4a72089ba get rid of some rules 2021-04-04 17:30:38 -07:00
Ilya Rezvov d62f945b8b instuction_list parser 2021-04-04 17:30:38 -07:00
Ilya Rezvov b816e04b6d type signature parsing for loop and if blocks 2021-04-04 17:30:38 -07:00
Ilya Rezvov 2d58addefa refactor function parser 2021-04-04 17:30:38 -07:00
Ilya Rezvov 58fd11dfa8 refactor typeuse parser to accomodate raw instructions 2021-04-04 17:30:38 -07:00
Ilya Rezvov 72804d2210 get rid of some shift/reduce conflicts in grammar 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 2a49528a1f simplify grammar and parse block typeuses 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 f92754b572 change instansiating to be stateful 2021-04-04 17:30:17 -07:00
Ilya Rezvov 2451dc2ddc added line position for failed asserts and implemented mutable globals import/export proposal 2021-04-04 17:29:47 -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 511bae84e8 report multiple start sections in text representation as parsing error 2021-04-04 17:23:43 -07:00
Ilya Rezvov 1e7afd94fc change instansiating to be stateful 2021-04-04 17:23:43 -07:00
Ilya Rezvov 01e0ab8d44 added line position for failed asserts and implemented mutable globals import/export proposal 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 d61926e18a implement sign-extension operators 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 d01691338f add parsing of canonical nan, reinterpret instructions and check for mem idents uniqueness 2021-04-04 17:23:43 -07:00
Ilya Rezvov 88a31548b8 replace hardcoded tests with submodule to the official testsuit 2021-04-04 17:23:43 -07:00
Ilya Rezvov bb881f7ee8 Merge pull request #18 from GaloisInc/ver1_0_1_0
Update to cabal file instead of hpack package.yaml
2021-03-26 09:35:36 -06:00
Kevin Quick df75bd4791 Remove package.yaml and hpack dependency: use a standard cabal file. 2021-03-25 17:06:15 -07:00
Kevin Quick 1bea1756a3 Remove unneeded (and conflicting) test dependencies. 2021-03-25 12:58:10 -07:00
Kevin Quick 366a04eebc Update version of git source to be greater than the hackage version.
Helps ensure dependency resolution will choose the git version (if
available) over the hackage version.
2021-03-25 10:21:25 -07:00
Ilya Rezvov 36eacf1697 Merge pull request #16 from GaloisInc/crucibleExports
More Wasm exports needed for Galois crucible tool support.
2021-03-16 21:48:14 -07:00
Kevin Quick 3ec6832e5f Make the Structure module public to allow API access to it. 2021-03-15 22:06:55 -07:00
Kevin Quick 277b725b30 Add Valid.getModule to the Wasm exports. 2021-03-15 17:21:43 -07:00
Ilya Rezvov d36342d626 Merge pull request #10 from GaloisInc/expose-ast
Expose additional AST datatypes for downstream use
2021-01-08 15:57:31 -08:00
Rob Dockins fb315ccffa Expose additional AST datatypes for downstream use. 2021-01-08 15:04:03 -08:00
Ilya Rezvov 9a3d73baeb Merge pull request #9 from ggreif/master
Typos
2020-09-18 16:23:53 -07:00
Gabor Greif 03072d8f79 another 2020-09-13 15:44:16 +02:00
Gabor Greif 4bce493d8c catch some typos 2020-09-13 15:14:04 +02:00
Ilya Rezvov cd4e6dc326 Merge pull request #7 from TD5/master
Resolves build errors due to dependency issues
2020-07-15 11:04:24 -07:00
Tom Davies bce316ce45 Fix missing mtl version constraint fixes 2020-07-15 18:46:24 +01:00
Tom Davies 2ea0dab85f Upgrade dependencies
This resolves the build errors surrounding conflicting versions of
dependencies
2020-07-15 18:28:59 +01:00
Ilya Rezvov bcb83798cb implemented fast-path for aligned addresses on memory read/write 2020-02-19 16:07:18 -08:00
Ilya Rezvov 915b705ed2 using primitive's ByteArray for memory instance's backend storage in the interpreter instead of IOVector 2020-02-19 14:36:03 -08:00
Ilya Rezvov f8d008bb04 small clean up 2020-01-14 17:00:41 -08:00
Ilya Rezvov d7e1b803f5 fix build and tests for ghc >8.6 2020-01-13 21:56:06 -08:00
Ilya Rezvov adeabf7e30 Merge pull request #4 from agustinmista/master
Adding missing exports in Structure.hs
2019-07-16 15:48:53 -07:00
Agustín Mista 6a2b3fbfc2 Added missing type synonym to exports 2019-07-16 20:50:36 +02:00
Agustín Mista f5c9fb45ee Added missing exports in Structure 2019-07-16 18:03:18 +02:00
Ilya Rezvov 8b29d3f51b Merge pull request #3 from agustinmista/master
Upgraded resolver to lts-12.11
2018-10-07 02:51:57 -07:00
Agustín Mista 0ec7fb6feb Upgraded resolver to lts-12.11 2018-10-04 11:02:52 +02:00
Ilya Rezvov 1245707afa fix cabal file 2018-06-21 08:32:20 -07:00
Ilya Rezvov 709c8d994c bump version to 1.0 tag 2018-06-20 16:33:52 -07:00
Ilya Rezvov db18150ec9 expose label type from builder 2018-06-11 20:20:06 -07:00
Ilya Rezvov f862c74bf9 fix typos in sign suffixes 2018-06-02 11:01:01 -07:00
Ilya Rezvov 85dfac08f1 enforce type constraints for conversion operations 2018-06-02 10:57:49 -07:00