3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-05 09:04:07 +00:00
z3/genaisrc/mergeopt.genai.mts
2025-02-13 21:11:58 -08:00

8 lines
278 B
TypeScript

script({
title: "Merge optimizations function changes for a C++ file"
})
import { mergeFunctions } from "./myai.genai.mts";
const inputFile = env.files[0];
let new_code = await mergeFunctions(inputFile);
await workspace.writeText(inputFile.filename + ".opt.cpp", new_code);