Skip to content

Commit cfa6270

Browse files
committed
docs: BuddhiLW logo in the README header, changelog for the next release
The header shows the ClojureWasm logo beside the maintainer's (linked to github.com/BuddhiLW). [Unreleased] records wasm/exports and dot interop (ADR-0203), the zwasm pin move to fork main d74e63b4, and the shorter README; the README now says those features need v1.15.1, the patch the release preflight cuts from 1.15.0.
1 parent 49e23bf commit cfa6270

3 files changed

Lines changed: 29 additions & 3 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,30 @@ first stable `1.0.0` tag; pre-1.0 `alpha` / `rc` tags may still change surfaces.
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- **`wasm/exports` lists a core module's exports.** `(wasm/exports m)` returns
13+
a vector in export order: a function as `{:name "sum_f64" :kind :func
14+
:params [:i32 :i32] :results [:f64]}`, a memory, global or table as
15+
`{:name "memory" :kind :memory}`. Signatures come from the same runtime probe
16+
`wasm/call` uses (ADR-0203).
17+
18+
- **Dot interop on a Wasm module handle.** `(.sum_f64 m buf 4)`,
19+
`(. m sum_f64 buf 4)` and `(. m (sum_f64 buf 4))` call the export named by
20+
the method symbol, verbatim, through `wasm/call`'s own path, so results,
21+
fuel and errors are identical. A C function compiled to Wasm is called like a
22+
host method (ADR-0203).
23+
24+
### Changed
25+
26+
- **zwasm pinned to the fork's `main` (d74e63b4, upstream main of
27+
2026-10-21).** Upstream now carries the component re-export, wasip2
28+
`metadata-hash` and `PreparedWasi` fixes the fork's `cljw` branch existed
29+
for.
30+
31+
- **A shorter README** led by calling C from Clojure, with the architecture,
32+
size and startup charts kept.
33+
1034
## [1.15.0] - 2026-10-13
1135

1236
### Added

‎README.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<p align="center">
2-
<img src="docs/assets/clojurewasm_logo.png" alt="ClojureWasm" width="180" />
2+
<img src="docs/assets/clojurewasm_logo.png" alt="ClojureWasm" height="160" />
3+
&nbsp;&nbsp;&nbsp;
4+
<a href="https://github.com/BuddhiLW"><img src="docs/assets/buddhilw_logo.png" alt="BuddhiLW" height="160" /></a>
35
</p>
46

57
<h1 align="center">ClojureWasm</h1>
@@ -79,8 +81,8 @@ zig cc -target wasm32-freestanding -O2 -nostdlib \
7981
(.sum_f64 k buf 4) ;=> 10.0
8082
```
8183

82-
`wasm/exports` and the dot form arrive in the next release; on the current
83-
one, write `(wasm/call k "sum_f64" buf 4)`. A guest fault is a catchable
84+
`wasm/exports` and the dot form need v1.15.1 or later; `(wasm/call k "sum_f64"
85+
buf 4)` works on every version. A guest fault is a catchable
8486
exception, never a host crash, and a guest that runs out of fuel stops with an
8587
error while your process keeps going.
8688

‎docs/assets/buddhilw_logo.png‎

77.9 KB
Loading

0 commit comments

Comments
 (0)