Skip to main content

Module decompiler

Module decompiler 

Source
Expand description

Bi-directional Poetic Decompiler for VibeScript (Zero-Heap friendly).

Decompiles vibe-bc-0.1 bytecode chunks and parsed AST structures into clean, formatted, human-readable VibeScript source code. Supports round-trip AST formatting, expression precedence reconstruction, and block indentation.

Structs§

DecompileOptions
Formatting options for the decompiler.

Functions§

decompile_block
Decompile a statement block.
decompile_chunk
Decompile a raw Bytecode Chunk into symbolic disassembly.
decompile_expr
Decompile an expression.
decompile_item
Decompile a single AST Item.
decompile_pattern
Decompile a pattern.
decompile_program
Decompile an entire Program AST back into formatted VibeScript source.
decompile_stmt
Decompile a single statement.
decompile_type_expr
Decompile a type expression.