articles/lua.md: update
This commit is contained in:
parent
aa8abf47f0
commit
32e1752ee2
1 changed files with 8 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
# Lua
|
# Lua
|
||||||
[Lua](https://lua.org) is a libre, scripting programming language created in 1993 by the Brazilian programmer Roberto Ierusalimschy.
|
[Lua](https://lua.org) is a libre, dynamic scripting programming language created in 1993 by the Brazilian programmer Roberto Ierusalimschy.
|
||||||
|
|
||||||
Lua is notable for its efficiency (faster than [Python](python.md)), minimal features, extensibility and a small,
|
Lua is notable for its efficiency (faster than [Python](python.md)), minimal features, extensibility and a small,
|
||||||
non bloated implementation, making it a excellent choice for embedding into programs.
|
non bloated implementation, making it a excellent choice for embedding into programs.
|
||||||
|
@ -20,6 +20,7 @@ You can get a listing of the compiled bytecode for a Lua source file with `luac`
|
||||||
```sh
|
```sh
|
||||||
luac -p -l -l source.lua
|
luac -p -l -l source.lua
|
||||||
```
|
```
|
||||||
|
See the article [Bytecode](bytecode.md) for an annotated example of Lua bytecode.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
### Hello world
|
### Hello world
|
||||||
|
@ -70,3 +71,9 @@ end
|
||||||
- [Lua Programming Gems](https://lua.org/gems)
|
- [Lua Programming Gems](https://lua.org/gems)
|
||||||
- [Online Lua bytecode explorer](https://www.luac.nl)
|
- [Online Lua bytecode explorer](https://www.luac.nl)
|
||||||
- [lua-users](https://www.lua-users.org/) Unofficial Lua Users group, has a wiki about Lua with useful resources.
|
- [lua-users](https://www.lua-users.org/) Unofficial Lua Users group, has a wiki about Lua with useful resources.
|
||||||
|
- [The Implementation of Lua 5.0](https://www.lua.org/doc/jucs05.pdf): paper that describes the register-based virtual machine
|
||||||
|
introduced in version 5.0.
|
||||||
|
- [Lua 5.3 Bytecode Reference](https://the-ravi-programming-language.readthedocs.io/en/latest/lua_bytecode_reference.html) (archive: <https://archive.is/yLSvT>)
|
||||||
|
|
||||||
|
## See also
|
||||||
|
- [Teal](https://github.com/teal-language/tl) a Lua dialect that adds static typing
|
||||||
|
|
Loading…
Add table
Reference in a new issue