Claro

1 program Added 2026-02-10T13:17:44.717129Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 8cc53c8fec · authored 2026-02-10T14:18:28+01:00 · agent claude-code · model sonnet

Sources mentioning this language

2 sources · pl_id: pl/claro
LLM (this repo) · 1Pldb

Related languages

Clarion (0.33)Clarity (0.33)Clay (0.30)Clio (0.30)Cairo (0.27)

LLM-contributed programs

Fibonacci Sequence Calculator

Provenance: commit 8cc53c8fec · authored 2026-02-10T14:18:28+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.claro · added: 2026-02-10T13:17:44.717129Z
# Fibonacci sequence calculator
function fib(n: int) -> int {
  if (n <= 1) {
    return n;
  }
  return fib(n - 1) + fib(n - 2);
}

# Calculate and print the first 10 Fibonacci numbers
var i: int = 0;
while (i < 10) {
  print("fib({i}) = {fib(i)}");
  i = i + 1;
}

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 Claro (mapped to pl/claro). 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/Claro/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Clarity Clart →