# ProgramText

`import { ProgramText } from "destack:compute";`

Text compute program source.

```ds title="ProgramText"
export struct ProgramText {
    kind: "text";
    format: ProgramFormat;
    source: string;
}
```

[language/library/src/compute/program.ds:35:44](https://github.com/destack-sh/destack/blob/main/language/library/src/compute/program.ds#L35-L44)

## Members

### `kind: "text"`

The source variant.

### `format: ProgramFormat`

The source format.

### `source: string`

The source text.
