Lua’s syntax for control flow was mostly borrowed from Modula. It also taken influence from other programming languages: CLU for multiple inputs and outputs from calling functions, C++ for local variables, and SNOBAL and AWK for associative arrays. LISP and Scheme also influenced the focus on tables. These two languages used a single structure mechanism.
l uː ə z WORD_BOUNDARY s ɪ n t æ k s WORD_BOUNDARY f ɔ ɹ WORD_BOUNDARY k ə n t ɹ oʊ l WORD_BOUNDARY f l oʊ WORD_BOUNDARY w ʌ z WORD_BOUNDARY m oʊ s t l i WORD_BOUNDARY b ɑ ɹ oʊ d WORD_BOUNDARY f ɹ ʌ m WORD_BOUNDARY m ɑ d̠ʒ uː l ə WORD_BOUNDARY ɪ t WORD_BOUNDARY ɔ l s oʊ WORD_BOUNDARY t eɪ k ə n WORD_BOUNDARY ɪ n f l uː ə n s WORD_BOUNDARY f ɹ ʌ m WORD_BOUNDARY ʌ ð ə ɹ WORD_BOUNDARY p ɹ oʊ ɡ ɹ æ m ɪ ŋ WORD_BOUNDARY l æ ŋ ɡ w ɪ d̠ʒ ɪ z WORD_BOUNDARY s iː ɛ l j uː WORD_BOUNDARY f ɔ ɹ WORD_BOUNDARY m ʌ l t ɪ p ə l WORD_BOUNDARY ɪ n p ʊ t s WORD_BOUNDARY æ n d WORD_BOUNDARY aʊ t p ʊ t s WORD_BOUNDARY f ɹ ʌ m WORD_BOUNDARY k ɔ l ɪ ŋ WORD_BOUNDARY f ʌ ŋ k ʃ ə n z WORD_BOUNDARY s iː WORD_BOUNDARY p l ʌ s p l ʌ s WORD_BOUNDARY f ɔ ɹ WORD_BOUNDARY l oʊ k ə l WORD_BOUNDARY v ɛ ɹ ɪ ə b ə l z WORD_BOUNDARY æ n d WORD_BOUNDARY s n oʊ b ə l WORD_BOUNDARY æ n d WORD_BOUNDARY eɪ d ʌ b ə l j uː k eɪ WORD_BOUNDARY f ɔ ɹ WORD_BOUNDARY ʌ s oʊ s iə t ɪ v WORD_BOUNDARY ə ɹ ɹ eɪ z WORD_BOUNDARY l ɪ s p WORD_BOUNDARY æ n d WORD_BOUNDARY s k iː m WORD_BOUNDARY ɔ l s oʊ WORD_BOUNDARY ɪ n f l uː ə n s t WORD_BOUNDARY ð ə WORD_BOUNDARY f oʊ k ə s WORD_BOUNDARY ɔ n WORD_BOUNDARY t eɪ b ə l z WORD_BOUNDARY ð iː z WORD_BOUNDARY t uː WORD_BOUNDARY l æ ŋ ɡ w ɪ d̠ʒ ɪ z WORD_BOUNDARY j uː z d WORD_BOUNDARY ʌ WORD_BOUNDARY s ɪ ŋ ɡ ə l WORD_BOUNDARY s t ɹ ʌ k t̠ʃ ə ɹ WORD_BOUNDARY m ɛ k ə n ɪ z ə m WORD_BOUNDARY