hadronized / glsl

GLSL parser for Rust
190 stars 28 forks source link

Determine Swizzling #153

Closed horle closed 2 years ago

horle commented 2 years ago

Hi, first of all: thank you for this valuable project! Really appreciate it.

I am developing a simple GLSL minifier in Rust and would like to distinguish between standard identifier and swizzling nodes. I could not find a proper way how to achieve this. Did I miss sth in the docs maybe? Can you give me a hint, please?

Thanks. thoth

horle commented 2 years ago

I understood that swizzling is a semantic concept and should not be addressed in a parser. Thanks anyway :>