oak-wat 0.0.6

WebAssembly Text (WAT) language parser with support for web platform development and portable code generation.
Documentation

🚀 Oak WAT Parser

Crates.io Documentation

WebAssembly Text Format Parsing Made Simple — A high-performance, incremental WAT parser built on the Oak framework.

🎯 Why oak-wat?

The WebAssembly Text Format (WAT) is the human-readable representation of WebAssembly binaries. oak-wat provides industrial-grade parsing support for WebAssembly development, debugging, and analysis.

✨ Key Features

  • ⚡ Blazing Fast — Sub-millisecond parsing for build tools and IDEs
  • 🔄 Incremental Parsing — Re-parse only what changed
  • 🌳 High-Fidelity AST — Captures modules, components, functions, instructions, memory, tables, imports/exports
  • 🛡️ Robust Error Recovery — Precise diagnostics for debugging
  • 🧩 Deep Ecosystem Integration — Works with oak-lsp and oak-mcp

🏗️ Architecture

Follows the Green/Red Tree architecture with efficient immutability, lossless syntax trees, and type-safe traversal.

📖 Documentation

For usage examples and API details, see the API documentation.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.