kmcallister / glassful

Rust-like syntax for OpenGL Shading Language
Apache License 2.0
171 stars 14 forks source link

Improve the style of generated code #5

Open kmcallister opened 9 years ago

kmcallister commented 9 years ago

Perhaps using a pretty-printing library similar to Haskell's Text.PrettyPrint.

We should indent code properly, and also elide parentheses when possible (especially around assignment).