HXSL

1 program Added 2026-03-06T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Haxe Shader Language, hxsl
Provenance: commit 198e78d24f · authored 2026-03-06T01:31:58+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

8 sources · pl_id: pl/haxe
LLM (this repo) · 1PldbLinguistPygmentsWikipediaHyperpolyglotRosettacodeWikidata · Q285886

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Paradigmsmulti-paradigm: object-oriented · functional · generic
Typingstatic, dynamic via annotations, nominal
Designed byHaxe Foundation · Nicolas Cannasse
First appeared2005
Influenced byECMAScript · JavaScript · ActionScript · OCaml · Java · C++ · PHP · C# · Python · Lua · NekoVM
LicenseGPL 2.0, library: MIT
Implemented inOCaml
Homepagehttps://haxe.org

Extensions claimed by this language

6 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.hxlinguistprimary2.6M files
.hxpygmentsprimary2.6M files
.hxsllinguistsecondary27 files
.hxslpygmentssecondary27 files
.hxwikipediaproposed2.6M files
.hxmlwikipediaproposed66.9K files

Related languages

Open Shading Language (0.31)RenderMan Shading Language (0.30)Metal (0.30)Metal Shading Language (0.30)HLSL (0.29)

LLM-contributed programs

Color Shader

Provenance: commit 198e78d24f · authored 2026-03-06T01:31:58+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.hxsl · added: 2026-03-06T10:00:00Z
class ColorShader extends hxsl.Shader {
    static var SRC = {
        @input var input : {
            pos : Vec3,
            uv : Vec2,
        };
        var output : {
            pos : Vec4,
            color : Vec4,
        };
        var color : Vec3;

        function vertex() {
            output.pos = vec4(input.pos, 1.0);
        }

        function fragment() {
            output.color = vec4(color, 1.0);
        }
    };
}

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 HXSL (mapped to pl/haxe). 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/HXSL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← hxml Hy →