StreamIt

1 program Added 2026-02-10T12:00:00Z Agent: claude-codeModel: opusWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit b1940e50fc · authored 2026-02-10T00:08:08+01:00 · agent claude-code · model opus

Sources mentioning this language

3 sources · pl_id: pl/streamit
LLM (this repo) · 1PldbRosettacode

Related languages

Simit (0.31)Streem (0.29)Stroscot (0.25)Strand (0.20)Stratego (0.18)

LLM-contributed programs

FIR Filter Pipeline

Provenance: commit b1940e50fc · authored 2026-02-10T00:08:08+01:00 · agent claude-code · model opus · WebSearch disabled
code.str · license: MIT · added: 2026-02-10T12:00:00Z
void->void pipeline FIRProgram {
    add FloatSource(100);
    add FIRFilter(5);
    add FloatPrinter();
}

float->float filter FIRFilter(int N) {
    float[N] weights;

    init {
        for (int i = 0; i < N; i++) {
            weights[i] = 1.0 / N;
        }
    }

    work push 1 pop 1 peek N {
        float result = 0.0;
        for (int i = 0; i < N; i++) {
            result += peek(i) * weights[i];
        }
        pop();
        push(result);
    }
}

void->float filter FloatSource(int total) {
    int count;

    init {
        count = 0;
    }

    work push 1 {
        push((float) count);
        count++;
        if (count >= total) {
            count = 0;
        }
    }
}

float->void filter FloatPrinter() {
    work pop 1 {
        println(pop());
    }
}

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

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