jcpp icon indicating copy to clipboard operation
jcpp copied to clipboard

Support extension of preprocessor

Open homacs opened this issue 9 years ago • 1 comments

Hello there!

I thought about extending jcpp to support preprocessing of GLSL (OpenGL Shading Language). This would require to add new preprocessor directives such as "#version" and "#extension", which can be basically ignored in my case. I'm currently modifying the classes as I need them but you might be interested in adding the ability to just extend your preprocessor in a more reasonable fashion for such use cases. Such as adding hooks or just subclassing Preprocessor or something similar.

Regards Holger

homacs avatar Jan 16 '17 23:01 homacs

I'll gladly take patches; I don't have a great deal of time to work on features on this project right now.

shevek avatar Mar 10 '17 01:03 shevek