Home

Code Executable

This is an abstract base type used in Stencila Schema for executable code nodes.

It extends Executable with the shared properties needed for runnable code, such as source text, programming language, execution bounds, and code-specific provenance. This provides a common foundation for executable code blocks and expressions.

Key properties include code, programmingLanguage, executionBounds, and inherited execution metadata from Executable.

Properties

The CodeExecutable type has these properties:

NameDescriptionTypeInherited from
codeThe code.Cord-
programmingLanguageThe programming language of the code.String-
executionBoundsThe environment in which code should be executed.ExecutionBounds-
executionBoundedThe execution bounds, if any, on the last execution.ExecutionBounds-
authorsThe authors of the executable code.Author*-
provenanceA summary of the provenance of the code.ProvenanceCount*-
executionModeUnder which circumstances the node should be executed.ExecutionModeExecutable
compilationDigestA digest of the content, semantics and dependencies of the node.CompilationDigestExecutable
compilationMessagesMessages generated while compiling the code.CompilationMessage*Executable
executionDigestThe compilationDigest of the node when it was last executed.CompilationDigestExecutable
executionDependenciesThe upstream dependencies of this node.ExecutionDependency*Executable
executionDependantsThe downstream dependants of this node.ExecutionDependant*Executable
executionTagsTags in the code which affect its execution.ExecutionTag*Executable
executionCountA count of the number of times that the node has been executed.IntegerExecutable
executionRequiredWhether, and why, the code requires execution or re-execution.ExecutionRequiredExecutable
executionStatusStatus of the most recent, including any current, execution.ExecutionStatusExecutable
executionInstanceThe id of the kernel instance that performed the last execution.StringExecutable
executionEndedThe timestamp when the last execution ended.TimestampExecutable
executionDurationDuration of the last execution.DurationExecutable
executionMessagesMessages emitted while executing the node.ExecutionMessage*Executable
idThe identifier for this item.StringEntity

Related

The CodeExecutable type is related to these types:

Bindings

The CodeExecutable type is represented in:


This documentation was generated from CodeExecutable.yaml by docs_types.rs.

© 2026 Stencila