moon-slice playground

MoonBit → CFG → def-use → CDG → PDG → slice, compiled to JavaScript. Click a line number to slice it. No server, no upload.

Click a line number to slice that statement; the gutter marks the slice (green) and the target (amber). Editing re-runs automatically after a pause; Ctrl+Enter runs now. Backward answers “where did this value come from?”, forward “what does this value affect?”, interprocedural expands callee return-value cones.

loading engine…