The bgfx shader compiler, 14 years of not being a compiler
Introduction bgfx renders through many backends, and each of them wants shaders in its own language: HLSL for Direct3D, Metal Shading Language on Apple platforms, GLSL for OpenGL and ESSL for OpenGL...
bkaradzic.github.io