aualin·9 lat temu·discussGoogle's Closure tools have been able to do this for several years. It's mainly documented at https://github.com/google/closure-stylesheets/blob/master/RE... but has counterparts in Closure Compiler, and Templates; for JS and HTML, respectively.
aualin·13 lat temu·discussI remember Pascal being fairly popular, and it does both. (Except if you count comments, but i assume that was not what you meant.)EDIT: Also Fortran.
aualin·13 lat temu·discussThey have open sourced the tools for this: https://code.google.com/p/closure-stylesheets/#RenamingThe stated reason is to reduce file size.