I think a more elegant solution for this would be an IDE plugin or standalone tool that has auto-correct and automatic error checking as you type (for e.g. "error assigning vec3 to vec2").
Yeah i think so too. Maybe IDE plugin has better solution.
one plus of it would be compile time type checking, does it do that(how verbose is your error output btw?)
That shader java code must be compiled. It is why i used ASM.
Currently, It is throw simple exception. But i will add more error-checking code in the future.
in addition my english is terrible. sorry about that.