Qyri

1 program Added 2026-03-13T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled Evidence Report issue View issues
Aliases: —
Provenance: commit d3332551a4 · authored 2026-03-13T01:18:50+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

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

Related languages

QO (0.10)QA-4 (0.09)QB64 (0.09)Qore (0.09)Ravi (0.09)

LLM-contributed programs

FizzBuzz

Provenance: commit d3332551a4 · authored 2026-03-13T01:18:50+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
code.qi · added: 2026-03-13T10:00:00Z
// fizzbuzz.qi

using std.io.print;
using mod, PI from math;

fn fizzbuzz = (n: int) $ str {
	if n `mod` 15 == 0 {
		return "FizzBuzz";
	} else if n `mod` 3 == 0 {
		return "Fizz";
	} else if n `mod` 5 == 0 {
		return "Buzz";
	} else {
		return n;
	}
}

fn main = () {
	for (var i = 0; i < 128; i++) {
		print(fizzbuzz(i));
	}

	except fizzbuzz(PI) {
		print("Pi is a constant of type float and will raise an exception.");
	}
}

Contribute — propose a file extension

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