# Lua

[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)

Cheat-sheets.org topic in the Languages group.

Source: [https://www.cheat-sheets.org/#Lua](https://www.cheat-sheets.org/#Lua).

## Table of Contents

- [Install](#install)
- [Usage](#usage)
- [Official websites](#official-websites)
- [Wikipedia](#wikipedia)
- [Saved copies](#saved-copies)
- [Cheat sheets](#cheat-sheets)
- [See also](#see-also)
- [Contributing](#contributing)
- [License](#license)

## Install

This folder is part of the local archive. Clone the repository:

```sh
git clone .
```

## Usage

Open this README, the Wikipedia clone, and files under `saved-copy/`.

```sh
ls saved-copy wikipedia.md
```

## Official websites

- [lua.org](https://www.lua.org/)

## Wikipedia

- Live: [https://en.wikipedia.org/wiki/Lua_%28programming_language%29](https://en.wikipedia.org/wiki/Lua_%28programming_language%29)
- Local clone: [wikipedia.md](wikipedia.md)

## Saved copies

- [lua-apiref.odt](saved-copy/lua-apiref.odt) — `https://www.cheat-sheets.org/saved-copy/lua-apiref.odt`
- [lua-apiref.pdf](saved-copy/lua-apiref.pdf) — `https://www.cheat-sheets.org/saved-copy/lua-apiref.pdf`
- [lua_capi.xls](saved-copy/lua_capi.xls) — `https://www.cheat-sheets.org/saved-copy/lua_capi.xls`
- [lua_capi.pdf](saved-copy/lua_capi.pdf) — `https://www.cheat-sheets.org/saved-copy/lua_capi.pdf`
- [osdc_Lua_20230211.pdf](saved-copy/osdc_Lua_20230211.pdf) — `https://www.cheat-sheets.org/saved-copy/osdc_Lua_20230211.pdf`
- [osdc_Lua_20230211.epub](saved-copy/osdc_Lua_20230211.epub) — `https://www.cheat-sheets.org/saved-copy/osdc_Lua_20230211.epub`

## Cheat sheets

- Lua 5.1 C API short reference (lists all the calls along with a short description of the parameters) by Ewald Arnold [odt, pdf] (aewald-arnold.de) ([saved](https://www.cheat-sheets.org/saved-copy/lua-apiref.odt), [saved](https://www.cheat-sheets.org/saved-copy/lua-apiref.pdf), [online](http://www.ewald-arnold.de/lua/lua-apiref.odt), [online](http://www.ewald-arnold.de/lua/lua-apiref.pdf))
- Lua 5.1 C API short reference (lists all the calls with even shorter descriptions but also includes the stack layout of the ingoing and outcoming Lua values) by Ewald Arnold [xls, pdf] (aewald-arnold.de) ([saved](https://www.cheat-sheets.org/saved-copy/lua_capi.xls), [saved](https://www.cheat-sheets.org/saved-copy/lua_capi.pdf), [online](http://www.ewald-arnold.de/lua/lua_capi.xls), [online](http://www.ewald-arnold.de/lua/lua_capi.pdf))
- Lua - Beginners Guide by Rogério Rodrigues de Alcântara (@roalcantara) [html/md] (gist.github.com) ([online](https://gist.github.com/roalcantara/49de782ab32385db78357192e6750c8e), [archived](https://web.archive.org/web/*/https://gist.github.com/roalcantara/49de782ab32385db78357192e6750c8e))
- tldr lua [html] (cheat-sheets.org) ([online](https://cheat-sheets.org/project/tldr/command/lua/), [archived](https://web.archive.org/web/*/https://cheat-sheets.org/project/tldr/command/lua/))
- A guide to Lua: Learn Lua with this downloadable eBook by Seth Kenlon, CC BY-SA 4.0) [pdf, epub] (opensource.com) ([saved](https://www.cheat-sheets.org/saved-copy/osdc_Lua_20230211.pdf), [saved](https://www.cheat-sheets.org/saved-copy/osdc_Lua_20230211.epub), [online](https://opensource.com/downloads/learn-lua), [archived](https://web.archive.org/web/*/https://opensource.com/downloads/learn-lua))
- Lua Programming  [html] (en.wikibooks.org) ([online](https://en.wikibooks.org/wiki/Lua_Programming), [archived](https://web.archive.org/web/*/https://en.wikibooks.org/wiki/Lua_Programming))
- Lua/Tutorial  [html] (mediawiki.org) ([online](https://www.mediawiki.org/wiki/Lua/Tutorial), [archived](https://web.archive.org/web/*/https://www.mediawiki.org/wiki/Lua/Tutorial))

## See also

None listed.

## Contributing

Questions: open an issue in this repository. Pull requests that fix catalog grouping or add missing saved copies are welcome.

## License

UNLICENSED © George Lambert. Indexed cheat sheets, saved copies, and Wikipedia extracts remain under their original publishers' terms; Wikipedia text is CC BY-SA 4.0.
