@kechpaja I have actually seen it done with Codex. A dude generated a documentation for the whole lua codebase (90k loc) of a game. Don't know how, just saying it's a thing already.
@kechpaja@venzann It actually doesn't sound that hard to train ChatGTP to do exactly that. With decent enough function and parameter naming and exception annotations, it could probably do it right now!