binaryen icon indicating copy to clipboard operation
binaryen copied to clipboard

[Parser] Parse wast scripts

Open tlively opened this issue 1 year ago • 1 comments

The spec tests use an extension of the standard text format that includes various commands and assertions used to test WebAssembly implementations. Add a utility to parse this extended WebAssembly script format and use it in wasm-shell to check that it parses our spec tests without error. Fix a few errors the new parser found in our spec tests.

A future PR will rewrite wasm-shell to interpret the results of the new parser, but for now to keep the diff smaller, do not do anything with the new parser except check for errors.

tlively avatar May 10 '24 20:05 tlively

  • #6581 Graphite 👈
  • main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tlively and the rest of your teammates on Graphite Graphite

tlively avatar May 10 '24 20:05 tlively