bind/

directory
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2026 License: MIT

Directories

Path Synopsis
Command capi is the JSON-in / JSON-out C-ABI front door of the DART-01 core: a cgo `package main` exposing //export PressRender / PressFree, built as a c-shared/c-archive library (see scripts/build-capi-host.sh) so a native host -- ultimately 07-05's Dart FFI client -- renders a Marp deck without mirroring any Go struct.
Command capi is the JSON-in / JSON-out C-ABI front door of the DART-01 core: a cgo `package main` exposing //export PressRender / PressFree, built as a c-shared/c-archive library (see scripts/build-capi-host.sh) so a native host -- ultimately 07-05's Dart FFI client -- renders a Marp deck without mirroring any Go struct.
core
Package core is the pure-Go, platform-agnostic JSON marshalling seam of the DART-01 C-ABI core (RenderJSON): the SINGLE JSON-in / JSON-out boundary over press.Render that every front door calls -- the cgo shim (bind/capi, this objective's TRD 07-01), the syscall/js wasm shim (07-02), and, through the compiled artifacts, 07-05's Dart client.
Package core is the pure-Go, platform-agnostic JSON marshalling seam of the DART-01 C-ABI core (RenderJSON): the SINGLE JSON-in / JSON-out boundary over press.Render that every front door calls -- the cgo shim (bind/capi, this objective's TRD 07-01), the syscall/js wasm shim (07-02), and, through the compiled artifacts, 07-05's Dart client.
Package conformance proves DART-05: that the two compiled artifacts Objective 7 ships -- the syscall/js wasm module (bind/wasm, 07-02) and the cgo c-shared library (bind/capi, 07-01) -- answer IDENTICALLY to in-process press.Render when driven through the exact same JSON entrypoint (bind/capi/core.RenderJSON's "eden-press.capi/v1" envelope) a real Dart client uses.
Package conformance proves DART-05: that the two compiled artifacts Objective 7 ships -- the syscall/js wasm module (bind/wasm, 07-02) and the cgo c-shared library (bind/capi, 07-01) -- answer IDENTICALLY to in-process press.Render when driven through the exact same JSON entrypoint (bind/capi/core.RenderJSON's "eden-press.capi/v1" envelope) a real Dart client uses.
Command wasm is the DART-03 WEB front door: a standard-Go GOOS=js GOARCH=wasm module that registers a JS-global `pressRender` calling the SAME pure-Go bind/capi/core.RenderJSON seam (07-01) the cgo shim (bind/capi) calls.
Command wasm is the DART-03 WEB front door: a standard-Go GOOS=js GOARCH=wasm module that registers a JS-global `pressRender` calling the SAME pure-Go bind/capi/core.RenderJSON seam (07-01) the cgo shim (bind/capi) calls.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL