Hi and welcome to the forums!
Not sure where tutorials would be, but this in and of itself is not too hard of a problem.
You open a file, you read in contents, you iterate over contents and parse them however you want to. (there are multiple ways to read in a file though, and i'm not even going to talk about different encodings)
You have a text file with symbols that you previously agreed on what will function as what (wall, power pellet, normal pellet, spawn point, etc.), then you read in the file with
love.filesystem.lines for example, and then go through each character, and build up the world in some form; usually you'd either want to put all "tiles" into one table, and use math to get the x and y coordinates, or use a table of tables (basically a "2D" table) for less math.
Everything else depends on the game implementation.