PtcRunner.Kernel.Program (PtcRunner v0.14.0)

Copy Markdown View Source

Internal opaque representation of a static subordinate PTC-Lisp program.

The Lisp (program ...) form captures canonical source without resolving or evaluating it in the workflow environment. Only bounded identity metadata is projected through public results; the source is evaluated later against the mission environment and current native evaluation continuation.

Inspect exposes only the source byte size and SHA-256 digest. It never renders the retained source.

Summary

Functions

Constructs opaque source identity with byte size and SHA-256 digest.

Types

t()

@type t() :: %PtcRunner.Kernel.Program{
  byte_size: non_neg_integer(),
  digest: binary(),
  source: binary()
}

Functions

new(source)

@spec new(binary()) :: t()

Constructs opaque source identity with byte size and SHA-256 digest.