Heptagon

1 program Added 2026-02-23T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled Evidence Report issue View issues
Aliases: Heptagon/BZR
Provenance: commit e2b60dfc36 · authored 2026-02-23T21:09:05+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

Hexagony (0.18)Heron (0.15)HJSON (0.11)Hecl (0.10)Hedy (0.10)

LLM-contributed programs

Ripple Adder

Provenance: commit e2b60dfc36 · authored 2026-02-23T21:09:05+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
code.ept · added: 2026-02-23T10:00:00Z
node mxor(x, y: bool) returns (c: bool)
let
    c = (x and not y) or ((not x) and y);
tel

node fa(x, y, cin: bool) returns (z, cout: bool)
let
    z = mxor(mxor(cin, x), y);
    cout = if cin then (x or y) else (x and y);
tel

node rippleadd<<n:int>>(a: bool^n; b: bool^n) returns (c: bool^n; over: bool)
let
    (c,over) = mapfold<<n>>fa(a, b, false);
tel

Contribute — propose a file extension

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