OTOH, I asked #ChatGPT to write a parser for an #Oracle CREATE TABLE SQL, and after a few nudges, it seems to work acceptably. I couldn't get #Gemini to give me working code although the code seemed more complex (state machines, tokenisation, etc.)

#Programming
Reposted from Mohit Sindhwani
I casually used #ChatGPT today to help with a #Ruby regex to parse the CREATE INDEX SQL for #Oracle. Despite asking a few times, what it gave me didn't work for the data I had.

However, it gave me enough for me to work from...

Comments