Birch

1 program Added 2026-02-08T12:30:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 5feca29c90 · authored 2026-02-08T16:14:06+01:00 · agent claude-code · model sonnet

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Birl (0.27)Blech (0.27)Church (0.25)Bash (0.18)BitC (0.18)

LLM-contributed programs

Hello World with Gaussian Sampling

Provenance: commit 5feca29c90 · authored 2026-02-08T16:14:06+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.bi · added: 2026-02-08T12:30:00Z
program hello() {
  /* Simple Birch program demonstrating basic syntax */
  let x:Real <- 0.0;
  x <- simulate_gaussian(0.0, 1.0);

  if x > 0.0 {
    write("Positive value: " + x + "\n");
  } else {
    write("Non-positive value: " + x + "\n");
  }

  /* Demonstrate array usage */
  let values:Real[10];
  for i in 1..10 {
    values[i] <- simulate_gaussian(0.0, 1.0);
  }

  write("Generated " + length(values) + " random values\n");
}

Contribute — propose a file extension

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