nustack
Catalogue

Command

Mutating atoms. WRITE effect. Sub-shape: ScalarCommand. Commands yield nothing.

Core only - shapes and ext/ not included.

IO

User-facing commands that write to stdio. All declare own_effects = {0: WRITE} on the StdioRef position.

NameSub-shapeSignatureEffectMeaning
PrintScalarCommandPrint(*values)WRITEprint messages to stdout
LogScalarCommandLog(message, *values, level, logger_name)WRITEstructured logging at given level
DebugScalarCommandDebug(*values, labels, prefix)WRITEquick debug output for development

Stdio low-level

Lower-level stdio Commands operating on a StdioRef directly. Print, Log, Debug are sugar over these.

NameSub-shapeSignatureEffectMeaning
StdioWriteScalarCommandStdioWrite(ref, *values)WRITEwrite values to a stdio stream
StdioFlushScalarCommandStdioFlush(ref)WRITEflush a stdio stream's buffer

StdioRead is a ScalarQuery (lives in queries surface). BufferedStdio is a Bracket Span (lives in spans surface).

On this page