evanw / glslx

A GLSL type checker, code formatter, and minifier for WebGL
http://evanw.github.io/glslx/
MIT License
408 stars 28 forks source link

export parser only #10

Open anvaka opened 6 years ago

anvaka commented 6 years ago

Hi Evan,

I checked the demo and it looks very impressive! I'm not familiar withSkew, I'm just curious if it would be possible to add a make target which would export only parser part of the library?

anvaka commented 6 years ago

I was able to extract parser only, which fully meets my needs. For those who are curious, this is available here: https://github.com/anvaka/glslx

If you need to depend on it in your project, I pushed compiled version to glsl-parser branch, so npm i https://github.com/anvaka/glslx\#glsl-parser --save should work.