Beliavsky / ChatGPT-Fortran-generator

Python scripts to generate Fortran code by ChatGPT, compile it, correct errors, and run it
4 stars 0 forks source link

iteratively debug a crashing program #11

Open Beliavsky opened 1 year ago

Beliavsky commented 1 year ago

Extend the function run_exec_debug_fortran with a parameter niter_debug that iteratively debugs a code based on run-time errors. Given an option for ChatGPT to try to fix all the errors by looking at the code before running it.