Typst
1 program
Added 2026-02-06T00:27:43Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 26964ab6a2 · authored 2026-02-06T01:28:36+01:00 · agent claude-code · model sonnet
Sources mentioning this language
4 sources · pl_id:
pl/typstExtensions claimed by this language
2 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.typ | linguist | primary | 24.9K files |
.typ | pygments | primary | 24.9K files |
Related languages
LLM-contributed programs
Fibonacci Sequence Generator
Provenance: commit 26964ab6a2 · authored 2026-02-06T01:28:36+01:00 · agent claude-code · model sonnet · WebSearch disabled
#set document(title: "Fibonacci Sequence")
#set page(numbering: "1")
#set text(font: "Linux Libertine", size: 11pt)
= Fibonacci Sequence Generator
This document demonstrates a simple Typst function.
#let fib(n) = {
if n <= 1 {
n
} else {
fib(n - 1) + fib(n - 2)
}
}
The first 10 Fibonacci numbers are:
#for i in range(10) {
[- $F_(#i) = #fib(i)$]
}
#align(center)[
_Generated with Typst_
]
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)
Disambiguation rules
Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
| Rule | Ext | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.typ/0 | .typ | predicates | [{"kind": "any", "regexes": ["^#(import|show|let|set)"]}] |