---
title: "slint::interpreter Namespace"
---
The types in this namespace allow you to load a .slint file at runtime and show its UI.

You only need to use them if you do not want to use pre-compiled .slint code, which is the normal way to use Slint.

The entry point for this namespace is the [ComponentCompiler](componentcompiler/), which you can use to create [ComponentDefinition](componentdefinition/) instances with the [ComponentCompiler::build\_from\_source()](componentcompiler/#build_from_source) or [ComponentCompiler::build\_from\_path()](componentcompiler/#build_from_path) functions.

## Types
- [Struct](struct/): This type represents a runtime instance of structure in `.slint`.
- [Value](value/): This is a dynamically typed value used in the Slint interpreter.
- [ComponentInstance](componentinstance/): The ComponentInstance represents a running instance of a component.
- [ComponentDefinition](componentdefinition/): ComponentDefinition is a representation of a compiled component from .slint markup.
- [ComponentCompiler](componentcompiler/): ComponentCompiler is the entry point to the Slint interpreter that can be used to load .slint files or compile them on-the-fly from a string (using [build\_from\_source()](componentcompiler/#build_from_source)) or from a path (using [build\_from\_path()](componentcompiler/#build_from_path))
- [Diagnostic](diagnostic/): Diagnostic describes the aspects of either a warning or an error, along with its location and a description.
- [PropertyDescriptor](propertydescriptor/): PropertyDescriptor is a simple structure that's used to describe a property declared in .slint code.

## Enumerations
- [DiagnosticLevel](diagnosticlevel/): DiagnosticLevel describes the severity of a diagnostic.
- [ValueType](valuetype/): This enum represents the different public variants of the \[`Value`\] enum, without the contained values.