3 – The Language

    Language constructs will be explained using the usual extended BNF notation, in which {a} means 0 or more a‘s, and [a] means an optional a. Non-terminals are shown like non-terminal, keywords are shown like kword, and other terminal symbols are shown like ‘\=’. The complete syntax of Lua can be found in at the end of this manual.