Skip to content

Commit 25b44af

Browse files
committed
feat: add async runtime documentation chapter
- Add new chapter 13 covering Promise-based async native runtime - Update wiki workflow to include async runtime documentation - Add cross-references in embedding SDK documentation - Improve cranelift backend error handling with better diagnostics for missing value_map entries
1 parent b597b08 commit 25b44af

15 files changed

Lines changed: 1238 additions & 233 deletions

File tree

.github/workflows/wiki.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
cp book/10-packaging-distribution.md wiki/10-Packaging-Distribution.md
3737
cp book/11-hir-builder.md wiki/11-HIR-Builder.md
3838
cp book/12-embedding-sdk.md wiki/12-Embedding-SDK.md
39+
cp book/13-async-runtime.md wiki/13-Async-Runtime.md
3940
4041
# Fix internal links for wiki format
4142
sed -i 's|\./01-introduction\.md|01-Introduction|g' wiki/*.md
@@ -50,6 +51,7 @@ jobs:
5051
sed -i 's|\./10-packaging-distribution\.md|10-Packaging-Distribution|g' wiki/*.md
5152
sed -i 's|\./11-hir-builder\.md|11-HIR-Builder|g' wiki/*.md
5253
sed -i 's|\./12-embedding-sdk\.md|12-Embedding-SDK|g' wiki/*.md
54+
sed -i 's|\./13-async-runtime\.md|13-Async-Runtime|g' wiki/*.md
5355
5456
- name: Upload wiki
5557
uses: Andrew-Chen-Wang/github-wiki-action@v4

book/12-embedding-sdk.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,6 +1026,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
10261026

10271027
## Next Steps
10281028

1029+
- See [Async Runtime](./13-async-runtime.md) for detailed async/Promise documentation
10291030
- See [Grammar Syntax](./04-grammar-syntax.md) for writing `.zyn` grammars
10301031
- See [TypedAST](./06-typed-ast.md) for understanding the intermediate representation
10311032
- See [ZRTL Plugins](./10-packaging-distribution.md) for creating native runtime libraries

0 commit comments

Comments
 (0)