V language

1 program Added 2026-03-17T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: V, vlang
Provenance: commit b2db8ae993 · authored 2026-03-17T04:05:58+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

9 sources · pl_id: pl/v
LLM (this repo) · 1PldbLinguistPygmentsWikipediaEsolangHyperpolyglotRosettacodeWikidata · Q61632937

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Paradigmsmulti-paradigm: functional · imperative · structured · concurrent
Typingstatic, strong, inferred
Designed byAlexander Medvednikov
First appeared2019
Influenced byGo · Kotlin · Oberon · Python · Rust · Swift
LicenseMIT
Implemented inV
Homepagehttp://vlang.io

Extensions claimed by this language

4 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.vlinguistprimary5.8M files
.vpygmentsprimary5.8M files
.vwikipediaproposed5.8M files
.vshwikipediaproposed60.3K files

Related languages

V (0.53)Vlang (0.46)Ylang (0.42)Nu (0.40)KV Language (0.38)

LLM-contributed programs

Fibonacci

Provenance: commit b2db8ae993 · authored 2026-03-17T04:05:58+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.v · license: Public Domain · added: 2026-03-17T10:00:00Z
fn fibonacci(n int) int {
	if n <= 1 {
		return n
	}
	return fibonacci(n - 1) + fibonacci(n - 2)
}

fn main() {
	for i in 0 .. 10 {
		println('F($i) = ${fibonacci(i)}')
	}
}

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.
RuleExtKindPredicates (truncated)
h/linguist/.v/2.vpredicates[{"kind": "any", "regexes": ["\\$(?:if|else)[ \\t]|^[ \\t]*fn\\s+[^\\s()]+\\(.*?\\).*?\\{|^[ \\t]*for\\s*\\{"]}]

Contribute — propose a file extension

Tell us where to find evidence about V language (mapped to pl/v). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/V language/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← V (programming language) V'ger →