
Episode 127: Flux, ChatGPT & More with Tristan Brindle
Algorithms + Data Structures = Programs
00:00
How to Parse the Compiler Diagnostics and Extract Source Locations
Bryce: One of the things that occurred to me is like, we're still writing some code to parse the compiler diagnostics and extract the source locations. And then I was like, why am I writing code to parse this stuff? Like, what I should be doing is I should just be asking the large language model, Hey, here's the full diagnostic. Give me back a list of all of the source locations that are in this diagnostic," he says. "And then I'll open up those source locations and then I'll send you the pieces of the source code that you need"
Transcript
Play full episode