This is a fairly old, but nice (and still relevant) post about using a varargs-based stack. Lua's most overlooked feature is the require function. People assume it just loads a file and returns whatever it loaded. But it does a lot more than that. For one, it implements a cache. You can require the same module over and over and it'll always retu... Lua has many lengths. From string lengths to table lengths, from number lengths to sequence lengths, from sequence lengths to proper sequence lengths. They are the many lengths of Lua. The # operator returns string lengths and table lengths. It is the sta... It's documentation for lua, creating by all StackOverflow community! Main difference from traditional documentation: it focused on examples. Read and use it, submit changes, create new topics, and more. A while ago I started a project called SExLua. SEx is short for SoniEx btw :) I created it but never really did much with it. Now I want to and that's what I'm working on. It has sugar. (I can copypaste it here because I made the original post myself. And it's CC-BY-SA or something anyway.) I'm trying to parse a subset of markdown into a tree with LPeg. The idea is simple but I'm not sure what I'm doing. The whole spec for the thing I'm ... Can you post some links to web sites that have more info on what Lua is or how to program in it?