Skip to content

Implement zero-dependency Wasm binary parser#754

Draft
bbyalcinkaya wants to merge 6 commits intomasterfrom
binary-parser
Draft

Implement zero-dependency Wasm binary parser#754
bbyalcinkaya wants to merge 6 commits intomasterfrom
binary-parser

Conversation

@bbyalcinkaya
Copy link
Copy Markdown
Member

This PR adds a new zero-dependency binary parser directly in pykwasm that parses Wasm bytecode and produces KAst terms of wasm-semantics. Previously, our parser relied on a py-wasm fork, as described in issue #524
. That dependency has been unmaintained for years and limited our ability to implement fixes, add new features, and stay up-to-date with the Wasm specification. This new parser eliminates the py-wasm dependency.

Changes

  • Implement the Wasm binary parser
  • Enable all binary parsing integration tests for the new parser
  • Add unit tests for individual parsing components
  • Implement differential testing to compare the old py-wasm-based parser with the new parser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants