Reputation: 976
I saw this function in the lua.c
file called dotty()
. I have a feeling that it takes line-by-line input, is this correct?
Upvotes: 0
Views: 250
Reputation: 19943
That's correct, it's basically the REPL.
That function technically works on a chunk-by-chunk basis. The loadline
function does the actual line-by-line input, until it gets a complete chunk to execute.
Upvotes: 1