|List:||Internals||« Previous MessageNext Message »|
|From:||shlomo.swidler||Date:||March 5 2009 7:56pm|
|Subject:||Re: MySQL University Session: Good Coding Style follow up|
|View as plain text|
It doesn't sound too hard to take any language that adheres to a grammar (C, Java, etc.) and write a program that transforms any input adhering to that grammar into a custom defined coding style, according to a pluggable template. It sounds so obvious - does anyone know of any such thing? Such a utility could be used to solve the "diff against an old file - dangit, it's in a different coding style" problem: just run the old code through the tool to transform it, then diff.