This library is in flux. APIs may change without notice. Generated from source with koruc 0.1.7 on 10/5/2026.
Compiler.dump
~import std/compiler.dumpKoru Standard Library: the `dump` part of compiler.kz.
compiler.dump.kz · 1 tors
Koru Standard Library: the `dump` part of compiler.kz.
Joined via `~part dump` in compiler.kz; merged into the compiler
module at load.
Helper: Dump AST as JSON for introspection
Usage: Insert at key points in pipeline to inspect AST state
Void tor - just prints and continues
Example: ast-dump(ctx: c, flag: "elaborate") |> ...
// Koru Standard Library: the `dump` part of compiler.kz.
// Joined via `~part dump` in compiler.kz; merged into the compiler
// module at load.
//
// Helper: Dump AST as JSON for introspection
// Usage: Insert at key points in pipeline to inspect AST state
// Void tor - just prints and continues
// Example: ast-dump(ctx: c, flag: "elaborate") |> ...
~[comptime] pub tor ast-dump { ctx: CompilerContext, flag: string }