001 kjs extension import

✓ Passing This code compiles and runs correctly.

Code

// Phase 2: a helper module with a `.kjs` extension is discovered and imported
// the same way a `.kz` helper would be. The proc body uses |zig variant —
// Phase 2 is about file discovery, not about wiring a JS emitter. The
// extension is purely organizational at this layer.

~import "$std/io"
~import "$app/helper"

~app.helper:greet(name: "World")
| greeted g |> std.io:print.ln("{{ g:s }}")
input.kz

Actual

Hello!

Must succeed:

Compile and run without errors.

Expected output

Hello!

Test Configuration

MUST_RUN