

# Literals Overview

This document provides a high-level overview of literals in Silk, with details split into dedicated documents for each category.

For first-time readers, a good path is:

1. [types](/silk/docs/language/types/) (primitive types like `int`, `f64`, `bool`, `string`),
2. this overview (what literal categories exist),
3. the specific literal docs below (syntax, semantics, and current implementation notes).

Returning readers typically want the notes near the top
of each literal concept doc, plus the “Tests” links for runnable
examples.

## Literal Categories

Silk includes the following literal categories:

- Numeric literals
- Duration literals
- Boolean literals
- Character literals
- String literals
- Regular expression literals
- Aggregate literals (arrays, structs)

Each literal form has well-defined syntax and type inference rules that the compiler must implement.

See:

- [`literals-numeric.md`](/silk/docs/language/literals-numeric/)
- [`literals-duration.md`](/silk/docs/language/literals-duration/)
- [`literals-boolean.md`](/silk/docs/language/literals-boolean/)
- [`literals-character.md`](/silk/docs/language/literals-character/)
- [`literals-string.md`](/silk/docs/language/literals-string/)
- [`literals-regexp.md`](/silk/docs/language/literals-regexp/)
- [`literals-aggregate.md`](/silk/docs/language/literals-aggregate/)
