Refactoring cc languages