You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository provides a header-only C++20 implementation of the WebAssembly Component Model canonical ABI. The code mirrors the official [Python Reference](`ref/component-model/design/mvp/canonical-abi/definitions.py`) and the [Specification](`ref/component-model/design/mvp/CanonicalABI.md`). All behavior (naming, state transitions, error conditions) should remain aligned with the reference.
13
+
This repository provides a header-only C++20 implementation of the WebAssembly Component Model canonical ABI. The code mirrors the official [Python Reference](https://github.com/GordonSmith/component-model-cpp/blob/main/ref/component-model/design/mvp/canonical-abi/definitions.py) and the [Specification](https://github.com/GordonSmith/component-model-cpp/blob/main/ref/component-model/design/mvp/CanonicalABI.md). All behavior (naming, state transitions, error conditions) should remain aligned with the reference.
4
14
5
15
## Official Documentation, Issues, and Discussions
Copy file name to clipboardExpand all lines: test/README.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ cd build && ctest -R component-model-test
27
27
28
28
Validates the ANTLR4-based WIT parser against official test files from the [wit-bindgen](https://github.com/bytecodealliance/wit-bindgen) project.
29
29
30
-
**📖 See [TESTING_GRAMMAR.md](TESTING_GRAMMAR.md) for complete grammar testing documentation.**
30
+
**📖 Detailed grammar testing instructions are included in this section.**
Generate C++ host function stubs from all WIT test files. Useful for testing the code generator and creating reference implementations.
65
65
66
-
**📖 See [STUB_GENERATION.md](STUB_GENERATION.md) for stub generation scripts.**
67
-
**📖 See [CODEGEN_VALIDATION.md](CODEGEN_VALIDATION.md) for the validation framework.**
66
+
**📖 Stub generation and validation guidance appears throughout this section.**
68
67
69
68
#### Quick Start
70
69
@@ -142,7 +141,7 @@ The framework also validates generated code by attempting to compile it:
142
141
cmake --build build --target test-stubs-full
143
142
```
144
143
145
-
**⚠️ IMPORTANT**: Compilation failures are **expected and useful**! They indicate bugs in `wit-codegen` that need fixing. See [CODEGEN_VALIDATION.md](CODEGEN_VALIDATION.md) for details on interpreting failures.
144
+
**⚠️ IMPORTANT**: Compilation failures are **expected and useful**! They indicate bugs in `wit-codegen` that need fixing. Detailed validation notes are included in the following section.
146
145
147
146
#### Generated Files
148
147
@@ -478,6 +477,6 @@ Grammar tests automatically pick up all `.wit` files in the test directory. To t
0 commit comments