Inspired by this project, i write a GLSL Parser implemented purely in TypeScript type annotations, just to ast. https://github.com/SyMind/ts-glsl