1. A method comprising: based on execution of a first program that comprises first program code of a first programming language and second program code of a second programming language embedded as strings within the first program code, detecting at least a subset of the strings; incrementally constructing a second program from the subset of the strings based on the detection of the subset of the strings corresponding to execution of the first program; and testing the second program independently of the first program after construction of the second program.