ATS

1 program Added 2025-10-23T07:39:19Z Model: deepseek/deepseek-chat-v3-0324Temp: 0.4 Evidence Report issue View issues
Aliases: Applied Type System
Provenance: commit 0b52d4b57c · authored 2025-10-23T09:39:19+02:00 · model deepseek/deepseek-chat-v3-0324

Sources mentioning this language

7 sources · pl_id: pl/ats
LLM (this repo) · 1PldbLinguistWikipediaHyperpolyglotRosettacodeWikidata · Q621618

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 · object-oriented · concurrent · modular
Typingstatic, dependent
Designed byBoston University · Hongwei Xi
First appeared2006
Influenced byDependent ML · ML · OCaml · C++
LicenseGPLv3
Homepagehttp://www.ats-lang.org

Extensions claimed by this language

6 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.datslinguistprimary71.5K files
.hatslinguistsecondary2.4K files
.satslinguistsecondary30.4K files
.datswikipediaproposed71.5K files
.hatswikipediaproposed2.4K files
.satswikipediaproposed30.4K files

Related languages

ATS2 (0.61)A-3 (0.28)Red/System (0.24)Red (0.22)Klerer-May System (0.19)

LLM-contributed programs

Factorial function in ATS

Provenance: commit 0b52d4b57c · authored 2025-10-23T09:39:19+02:00 · model deepseek/deepseek-chat-v3-0324 · Temp 0.4
code.dats · license: BSD-3-Clause · added: 2025-10-23T07:39:19Z
fun fact (n: int): int =
  if n > 0 then n * fact (n - 1) else 1

implement main0 () = () where {
  val () = assertloc (fact 5 = 120)
}

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.)

Contribute — propose a file extension

Tell us where to find evidence about ATS (mapped to pl/ats). 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/ATS/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← atprotocol ATS2 →