I was trying to do this myself and was having a hell of a time converting the c to lua. Thank you so much for uploading this example!
Viewing post in 3DSage's Raycaster in LOVE2D 11.4 + SOURCE comments
You're very welcome! There is some code that only recently became available in LUA to match C code (like a goto statement that mimics C's "continue" command) so it was tough to figure out, but super fun.
I have also converted his first two DOOM tutorials to LUA, but since there's no third I've not bothered to upload it. So keep an eye out for that, too!