← All projects
Project record1 mention
Originally shared on Hacker News

shadml

A shader programming language mixing Haskell and F# features that transpiles to WGSL. It supports traits, bitfields, algebraic data types (ADTs), and module/import externs for binding to other WGSL code. The project was born from a fork called fwgsl and is in very early stages.

Last shared
01 / The problem

What it addresses

The author got tired of the lack of functional programming features in WGSL.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. shadml

    A shader programming language mixing Haskell and F# features that transpiles to WGSL. It supports traits, bitfields, algebraic data types (ADTs), and module/import externs for binding to other WGSL code. The project was born from a fork called fwgsl and is in very early stages.

    Problem: The author got tired of the lack of functional programming features in WGSL.

    Posted by @swoorup · Original source ↗

    Source text · @swoorup · · Source ↗

    So making a new language that is a mix of haskell and F# that transpiles to wgsl. It has traits, bitfields, adts, module/imports externs to bind to other wgsl. Was born from a fork called fwgsl.