Jump to ratings and reviews
Rate this book

Lua Programming Framework: Overview

Rate this book
Lua Programming Framework
Overview
Lua is an extensible, lightweight programming language written in C. It started as an in-house project in 1993 by Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes.
It was planned from the start to be a product that can be coordinated with the code written in C and other traditional dialects. This coordination brings many advantages. It doesn't attempt to do how C can as of now respond yet targets offering what C isn't great a decent separation from the equipment, dynamic designs, no redundancies, simplicity of testing and investigating. For this, Lua has a protected climate, programmed memory the board, and great offices for taking care of strings and different sorts of information with dynamic size.
Features
Lua provides a set of unique features that makes it distinct from other languages. These include − Extensible Simple Efficient Portable Free and open
How Lua is Implemented?
Lua comprises of two sections - the Lua translator part and the working programming framework. The working programming framework is a real PC application that can decipher programs written in the Lua programming language. The Lua mediator is written in ANSI C, subsequently it is profoundly versatile and can run on an immense range of gadgets from very good quality organization servers to little gadgets.
Both Lua's language and its interpreter are mature, small, and fast. It has evolved from other programming languages and top software standards. Being small in size makes it possible for it to run on small devices with low memory.
Learning Lua
The most important point while learning Lua is to focus on the concepts without getting lost in its technical details.
The purpose of learning a programming language is to become a better programmer; that is, to become more effective in designing and implementing new systems and at maintaining old ones.
Some Uses of Lua Game Programming Scripting in Standalone Applications Scripting in Web Extensions and add-ons for databases like MySQL Proxy and MySQL WorkBench Security systems like Intrusion Detection System. Lua - Environment
Local Environment Setup
If you are still willing to set up your environment for Lua programming language, you need the following softwares available on your computer - (a) Text Editor, (b) The Lua Interpreter, and (c) Lua Compiler.
Text Editor
You need a text editor to type your program. Examples of a few editors include Windows Notepad, OS Edit command, Brief, Epsilon, EMACS, and vim or vi.
Name and version of the text editor can vary on different operating systems. For example, Notepad will be used on Windows, and vim or vi can be used on Windows as well as Linux or UNIX.
The files you create with your editor are called source files and these files contain the program source code. The source files for Lua programs are typically named with the extension ".lua".
The Lua Interpreter
It is just a small program that enables you to type Lua commands and have them executed immediately. It stops the execution of a Lua file in case it encounters an error unlike a compiler that executes fully.
The Lua Compiler
When we extend Lua to other languages/applications, we need a Software Development Kit with a compiler that is compatible with the Lua Application Program Interface.
Installation on Windows
There is a separate IDE named "SciTE" developed for the windows environment, which can be downloaded from download section.
Run the downloaded executable to install the Lua IDE.
Since it’s an IDE, you can both create and build the Lua code using the same.
In case, you are interested in installing Lua in command line mode, you need to install MinGW or Cygwin and then compile and install Lua in windows.

142 pages, Paperback

Published May 29, 2022

About the author

Gurpreet Kaur

177 books1 follower
Librarian Note: There is more than one author by this name in the Goodreads database.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
0 (0%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.