QG

1 program Added 2026-03-05T12:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled Evidence Report issue View issues
Aliases: QR Game Language
Provenance: commit 9fb56b7b5a · authored 2026-03-05T12:57:24+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

Lime (0.44)Eve (0.38)QGL (0.37)Game Maker Language (0.35)Io (0.35)

LLM-contributed programs

Sieve of Eratosthenes

Provenance: commit 9fb56b7b5a · authored 2026-03-05T12:57:24+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
code.qg · license: GPL-3.0 · added: 2026-03-05T12:00:00Z
init {
    n = 0
}

run {
    primes = arrayList(~true, n)
    i = 0
    while(i < n) {
        primes.append(true)
        i = i + 1
    }
    p = 2
    while (p*p < n) {
        if (primes.get(p)) {
            i = p*p
            while (i < n) {
                primes.set(i, false)
                i = i + p
            }
        }
        p = p + 1
    }
}

input(a,b) true

Contribute — propose a file extension

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