Labels: medium-difficulty, wasm, parsers
Difficulty: Medium
Module: libs/parsers/
🧠 Concept
Integrate Tree-Sitter WebAssembly bindings for Solidity, Rust, and Vyper to standardize AST node representations across all target languages.
⚠️ Problem
Relying on disparate language-specific compilers for parsing introduces heavy local dependency chains and inconsistent AST interfaces.
📁 Implementation Scope
libs/parsers/src/tree-sitter-loader.ts
libs/parsers/src/solidity-parser.ts
libs/parsers/src/rust-parser.ts
🛠️ Requirements
- Load compiled Tree-Sitter
.wasm grammars dynamically.
- Export unified AST traversal interfaces (
findNodes(), getParent(), getNodeText()).
- Ensure parsing operates asynchronously without blocking the event loop.
🎯 Acceptance Criteria
Labels:
medium-difficulty,wasm,parsersDifficulty: Medium
Module:
libs/parsers/🧠 Concept
Integrate Tree-Sitter WebAssembly bindings for Solidity, Rust, and Vyper to standardize AST node representations across all target languages.
Relying on disparate language-specific compilers for parsing introduces heavy local dependency chains and inconsistent AST interfaces.
📁 Implementation Scope
libs/parsers/src/tree-sitter-loader.tslibs/parsers/src/solidity-parser.tslibs/parsers/src/rust-parser.ts🛠️ Requirements
.wasmgrammars dynamically.findNodes(),getParent(),getNodeText()).🎯 Acceptance Criteria