Shards.Read¶
| Name | Mandatory | Description | Default | Type |
|---|---|---|---|---|
⬅️ Input |
The input of the shard, if any | String |
||
Output ➡️ |
The resulting output of the shard | StringBytesAST{ast: AST dependencies: [String]}{bytes: Bytes dependencies: [String]} |
||
OutputType |
No | Determines the type of AST to be outputted. | AstType::Bytes |
AstType |
BasePath |
No | The base path used when interpreting file references. | . |
StringVar(String)None |
Include |
No | The list of include paths. | [] |
[String]Var(String) |
Filename |
No | The filename of the script. | none |
StringVar(String)None |
Reads the textual representation of a Shards program and outputs the binary or json AST representation.