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

Write function that fixes code based on compiler error message #5

Closed Beliavsky closed 1 year ago

Beliavsky commented 1 year ago

Supply both the code and error messages to ChatGPT.

Beliavsky commented 1 year ago

Done in the debug_fortran function.