Lua — Introduction
14
-
Upload
aapo-talvensaari -
Category
Software
-
view
35 -
download
1
Transcript of Lua — Introduction
What is Lua?●●
○○○
●●●●
○○
●
Pick Lua if you value… ●
○
○
●○○
●○
●○○
Requirements●
○ collectgarbage "count"* (■■
○■ 256 KiB Flash 64 KiB RAM■ 128 KiB Flash 32 KiB RAM ( 10 KiB RAM)■ 5 KiB RAM
*
eLua
Syntax
+ - * / // ^ % & ~
| >> << .. < <= > >= ==
~= # ~
( ) [ ] { } :: ; :
, . ... --
Data Types●
○
●
●●
●●●●●
Metamethods *● + - * / % - //
● & | ~ ~
● << >>
● ..
● #
● == < > <=
●●
__
Built-in Functions●●●●●●●●●●
Built-in Libraries●●●●●●●●●
3rd Party Libraries●
○
●○
●○
●○
●○
●○
Embedding●
○○
●○
●○
●○○
1)
2)
3)
4)
LuaJIT
Microcontrollers
Games
Scientific Computing
Networking
Photography Web development
Databases
Operating Systems
Media players
https://www.lua.org/uses.html