Email or username:

Password:

Forgot your password?
Simon Willison

Today’s dumb way to entertain myself with LLMs:

> Write a COBOL program that my dog would enjoy. Include instructions for compiling and running it on macOS.

TIL how to compile and run a COBOL program using GnuCOBOL!

brew install gnu-cobol
cobc -x DOG-GAME.cob -o dog_game
./dog_game

Sadly it didn’t work on the first go, Claude 3.5 Sonnet missed that COBOL requires tabs, not spaces

Transcript: gist.github.com/simonw/64026b4

1 comment
Go Up