An Overview of the Lua Programming Language
Lua is a lightweight, high-level, general purpose programming language designed primarily for embedded use in other applications, notably those written in C. Lua also provides foreign function interfaces for C.
Lua was originally created by 3 computer scientists at the Pontifical Catholic University of Rio de Janeiro in Brazil, as an embeddable scripting language, and it is currently maintained by the same university and the open Lua community.
Although Lua is a small language, it is extensible (e.g., via meta-mechanisms). Lua can be easily extended to include additional features.
Lua Main Features
- Lua is a primarily embedded language, e.g., in C-based host programs.
- Lua includes support for calling C functions in Lua programs.
- Lua is a dynamically typed programming language.
- Custom types can be created using tables in Lua programs.
- The recent versions of Lua support lexical scoping using the local keyword.
- Lua supports coroutines.
- Lua supports object oriented programming styles through metatables.
Hello World in Lua
print 'Hello World!'
More on Hello World in Lua
If you are interested in finding out more about the Lua programming language, then here's an explanation of the Hello World program in Lua in a little more detail:
- Hello World (Lua): Lua Hello World - A quick explanation
C C++ C# Clojure Crystal D Dart Erlang F# Go Haskell Java Javascript Julia Kotlin Python Rust Scala Swift Typescript