Elektrine lite

← Feed

@jack@berlin.social

Post #1385935

2026-03-24 11:45 UTC

I couldn't leave it alone, so now it correctly refuses to emit C until it can ground every expression in a C-compatible type (type hints can be used to resolve ambiguities), and the generated C compiles to perfectly good WASM modules. This is now dangerously close to being useful. 🤔

Replies (1)

  • @jack@berlin.social 2026-03-29 13:13

    Okay, it now emits Zig and the process to get native and WASM modules out is very straightforward. I think the next step is adding array support so I can compile numeric code written interactively in Clojure to fast native code. It might be interesting to automatically generate JNA bindings so one can livecode native modules that get loaded into the JVM on the fly? 🤔

    Open ##1385936