@gron

Programming with Multiple Paradigms in Lua

. Functional and Constraint Logic Programming, volume 5979 of Lecture Notes in Computer Science, Springer, Berlin / Heidelberg, (2010)
DOI: 10.1007/978-3-642-11999-6_1

Abstract

Lua is a scripting language used in many industrial applications, with an emphasis on embedded systems and games. Two key points in the design of the language that led to its widely adoption are flexibility and small size. To achieve these two conflicting goals, the design emphasizes the use of few but powerful mechanisms, such as first-class functions, associative arrays, coroutines, and reflexive capabilities. As a consequence of this design, although Lua is primarily a procedural language, it is frequently used in several different programming paradigms, such as functional, object-oriented, goal-oriented, and concurrent programming, and also for data description. In this paper we discuss what mechanisms Lua features to achieve its flexibility and how programmers use them for different paradigms.

Description

SpringerLink - Abstract

Links and resources

Tags