Skip to content

Commit 913562d

Browse files
committed
feat: implement ImagePipe DSL with ZRTL plugin runtime execution
- Add ImagePipe DSL grammar, CLI, and sample pipelines for image processing - Fix plugin symbol table export to use C ABI compatible array format - Implement builtin resolution in ZynPEG runtime for grammar @Builtin mappings - Add string quote stripping and escape sequence handling in runtime - Fix Cranelift backend string alignment (4-byte) for ZRTL string format - Fix external call return types by looking up HIR type information - Register plugin symbols with Cranelift backend and rebuild JIT after loading - Add SIMD plugin stub for future vectorized image operations - Add comprehensive ImagePipe DSL documentation chapter
1 parent 2a08b4d commit 913562d

27 files changed

Lines changed: 3559 additions & 12 deletions

.github/workflows/wiki.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
cp book/13-async-runtime.md wiki/13-Async-Runtime.md
4040
cp book/14-runtime-plugins.md wiki/14-Runtime-Plugins.md
4141
cp book/15-building-dsls.md wiki/15-Building-DSLs.md
42+
cp book/16-image-pipeline-dsl.md wiki/16-Image-Pipeline-DSL.md
4243
4344
# Fix internal links for wiki format
4445
sed -i 's|\./01-introduction\.md|01-Introduction|g' wiki/*.md
@@ -56,6 +57,7 @@ jobs:
5657
sed -i 's|\./13-async-runtime\.md|13-Async-Runtime|g' wiki/*.md
5758
sed -i 's|\./14-runtime-plugins\.md|14-Runtime-Plugins|g' wiki/*.md
5859
sed -i 's|\./15-building-dsls\.md|15-Building-DSLs|g' wiki/*.md
60+
sed -i 's|\./16-image-pipeline-dsl\.md|16-Image-Pipeline-DSL|g' wiki/*.md
5961
6062
- name: Upload wiki
6163
uses: Andrew-Chen-Wang/github-wiki-action@v4

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ members = [
1212
"crates/zyntax_embed",
1313
"sdk/zrtl",
1414
"sdk/zrtl_macros",
15+
"examples/imagepipe",
1516
]
1617

1718

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@ cargo test --test end_to_end_simple
575575
13. [Async Runtime](https://github.com/darmie/zyntax/wiki/13-Async-Runtime) - Promise-based async native runtime
576576
14. [Runtime Plugins](https://github.com/darmie/zyntax/wiki/14-Runtime-Plugins) - ZRTL standard library plugins
577577
15. [Building DSLs](https://github.com/darmie/zyntax/wiki/15-Building-DSLs) - Creating domain-specific languages
578+
16. [Tutorial: Image Pipeline DSL](https://github.com/darmie/zyntax/wiki/16-Image-Pipeline-DSL) - Step-by-step DSL tutorial
578579

579580
### Technical Documentation
580581

0 commit comments

Comments
 (0)