Package: rzig 0.3.0
rzig: Safe Zig Bindings
Scaffolds packages backed by Zig and generates a safe native boundary for plain Zig functions. The generated integration converts objects at the language boundary, registers native routines, propagates errors, and compiles across platforms without requiring C++. Each step of the workflow is a function: locating a supported Zig compiler, scaffolding the package, scanning the Zig source for exported functions, rendering and writing the bindings, checking the package before compilation, and building it with the compiler errors reported by file and line. The scan, the checks and the generated bindings are pure R; a Zig compiler is needed only to build a package created with the scaffold.
Authors:
rzig_0.3.0.tar.gz
rzig_0.3.0.zip(r-4.7-any)rzig_0.3.0.zip(r-4.6-any)rzig_0.3.0.zip(r-4.5-any)
rzig_0.3.0.tgz(r-4.6-any)rzig_0.3.0.tgz(r-4.5-any)
rzig_0.3.0.tar.gz(r-4.7-any)rzig_0.3.0.tar.gz(r-4.6-any)
rzig_0.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rzig/json (API)
| # Install 'rzig' in R: |
| install.packages('rzig', repos = c('https://marekdejauj.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/marekdejauj/rzig/issues
Last updated from:0a83b3925a. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 111 | ||
| source / vignettes | OK | 156 | ||
| linux-release-x86_64 | OK | 101 | ||
| macos-release-arm64 | OK | 101 | ||
| macos-oldrel-arm64 | OK | 73 | ||
| windows-devel-x86_64 | OK | 80 | ||
| windows-release-x86_64 | OK | 78 | ||
| windows-oldrel-x86_64 | OK | 83 | ||
| wasm-release | OK | 113 |
Exports:build_zigdocumentfind_zigrender_bindingsrzig_statusscan_exportsuse_rzig
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Safe Zig Bindings | rzig-package rzig |
| Compile and install a Zig-backed package, and report the first errors | build_zig |
| Generate R bindings from Zig exports | document |
| Locate a supported Zig compiler | find_zig |
| Render the generated bindings for a set of exported functions | render_bindings |
| Report the state of a Zig-backed package | rzig_status |
| Scan the Zig source of a package for exported functions | scan_exports |
| Add RZig to a package | use_rzig |