It writes simple fine. Last time I did some side project hacking with LLMs and...
@silentexception It writes simple #COBOL fine. Last time I did some side project hacking with LLMs and #gnuCOBOL
- too many dialects, the bot needs to be centered, by some huge system message with what gnucobol supports (you got $$$ for Z/OS time, then hire someone, what are you doing with bots)
- COBOL lacks 3rd party libraries, so it will have to reimplement everything
- gnuCOBOL can't do it all, it will need to switch to C from time to time.
Self-replies
I was using ChatGPT4o, if I tried again, I'd use Gemini because you need huge context windows to ground it in your current dialect, the C interop, and to leave space for all the missing libraries. (and if you don't tell it how to solve a common problem it will solve it 10x, I've seen this with bots and python, 10 different ways to do HTTP calls all over the code base)