logo

gloc - Metaprogramming WebGL Shaders with OCaml

time4 yr agoview13 views

gloc : Metaprogramming WebGL Shaders with OCaml, by David William Wallace Sheets and Ashima Arts.

WebGL is a new Khronos Group standard for GPU-accelerated rendering by in-browser JavaScript applications. WebGL introduces a new language, WebGLSL, to the WWW ecosystem. WebGL implementations consume WebGLSL source to produce GPU instructions for graphics rendering. WebGLSL lacks many high-level language features such as user-defined namespaces and modules. The language also includes several powerful but poorly defined features such as a lexical preprocessor and non-orthogonal overloading.

Loading comments...