1. A system comprising: a lexer configured to generate a plurality of tokens from one or more source files, the one or more source files including source code in a first programming language, the source code comprising one or more static conditionals that include a conditional expression and branch code that is operative when the conditional expression is true, and wherein various configurations are possible based upon the conditionals; and a configuration-preserving preprocessor configured to: determine that a first static conditional includes one or more nested static conditionals within the branch code associated with the first static conditional; and hoist each of the one or more nested static conditionals to a beginning of the branch code associated with the first static conditional, wherein each innermost branch code does not contain a static conditional, and wherein each possible configuration is preserved.