Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Lua An Explanation Of Lua

Mathematical

Silver Coder
What Is Lua
Lua is a Scripting-Language designed by Roberto Ierusalimschy and a bunch of other people in 1993. The Language is
designed to be used as a Language that can be embedded into C/C++ Programs(The Language itself has a native C API).
This API is what can be used to extend the functionality of the C/C++ Program. The Language itself, is
Multi-Paradigm but is mainly used as a Scripting-Language to extend functionality.

The current Version of Lua is Lua 5.3.5 released in July 2018. With the current Beta being 5.4.0-beta-rc2.

History Of Lua
As stated, Lua was created by Roberto Ierusalimschy, Luiz Henrique de Figueiredo and Waldemar Celes, who were all
members of a group called 'Computer Graphics Technology Group'(Or 'Tecgraf'). From 1977 to 1992, Brazil(Where Lua
was made
), had extremely strict policies for trading of Software and Hardware. So, the people working at Tecgraf
could not afford any customized-versions of Software from abroad. As a result, this caused the start of Lua's
development.

Lua was primarily inspired by SOL(Simple-Object-Language) and DEL(Data-Entry-Language). With some parts of it's
Syntax borrowing from Modula and C.

Lua would not be released to the public until 1995 with the release of Version 2.1. Prior to Version 5.0+, Lua
was licensed under a license that was "similar" to the BSD License. Versions 5.0 and above now use the MIT License.

Lua Usage
As stated, Lua is a Scripting-Language. While it can be used for other things, it's main use is to be embedded and
used in the production of C/C++ Programs. But of course, this isn't to say that fully-functional Programs have been
made using Lua entirely. Since it's a Scripting-Language, it's thoroughly easy to pick-up and start writing code in
it. Anothe benefit of being a Scripting-Language is that it's light-weight, fast, extensible and portable.

Lua is mainly used in Video-Game Modding and Video-Game Development. Garry's Mod is a good example of Lua being used
for Modding. The online kid's Game, ROBLOX, uses Lua as a Scripting-Language for the Game and it's Client and Users
of the Site can use it to Develop their ROBLOX Games in.

How Do I Get/Learn Lua?
For the Lua Website, please visit: https:/www.lua.org

This will take you to the official Lua Website in which you'll find plenty of information about Lua and how to
download it.

The Site also features a free, online copy of the Programming In Lua book(1st Edition). While it is the first
edition, it can still be used as a reference but some examples may be outdated. You can find it here:
If you're on GNU/Linux, you can easily install Lua via Terminal. But, the Terminal-Installation differs based on Distro.
 

New Threads

Buy us a coffee!

Back
Top Bottom