Qi II

1 program Added 2026-03-11T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Qi2
Provenance: commit 3cbd041f9f · authored 2026-03-11T21:23:03+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

FORTRAN II (0.14) (0.14)Prolog II (0.13)IPL-III (0.12)COMIT (0.11)

LLM-contributed programs

Factorial and Fibonacci

Provenance: commit 3cbd041f9f · authored 2026-03-11T21:23:03+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.qi · license: Public Domain · added: 2026-03-11T10:00:00Z
(define factorial
  {number --> number}
  0 -> 1
  N -> (* N (factorial (- N 1))))

(define fibonacci
  {number --> number}
  0 -> 0
  1 -> 1
  N -> (+ (fibonacci (- N 1)) (fibonacci (- N 2))))

(output "Factorial of 5: ~A~%" (factorial 5))
(output "Fibonacci of 10: ~A~%" (fibonacci 10))
(output "Factorial of 10: ~A~%" (factorial 10))

Contribute — propose a file extension

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