Learn the basics of programming in Lua, then use that knowledge as a Foundation to go on to code & create games, OS etc.