Files
Decodal/doc/manual/source/language/expression/import.md
T

15 lines
426 B
Markdown

# Import Expression
An import expression returns a DCDL module or structured value resolved by the host.
```dcdl
import "./config.dcdl"
```
The specifier is a string literal. The host defines its interpretation as a path, resource name, or another identifier.
See [Modules and Imports](../modules-and-imports.md) for details.
## Evaluation
Imported values are evaluated lazily, and unreferenced fields are not evaluated.