Core implementation of gl-shader without parser dependencies