# Learning Lua (2025-06-15)

**URL:** <https://pluralist.net/t/learning-lua-2025-06-15/286>\
**Category:** breadcrumbs\
**Created:** [June 15, 2025, 6:32pm UTC](https://pluralist.net/t/learning-lua-2025-06-15/286 "2025-06-15T18:32:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![delyan](https://pluralist.net/user_avatar/pluralist.net/delyan/32/245_2.png) [@delyan](https://pluralist.net/u/delyan)\
**Post date:** [June 15, 2025, 6:32pm UTC](https://pluralist.net/t/learning-lua-2025-06-15/286/1 "2025-06-15T18:32:06Z")

</div>

# Let’s learn Lua

* * *

In Lua, **everything in the standard library** , including `io`, `math`, `os`, etc., is implemented as a **table**.

So:

```lua
io.open

```

means “look up the key `'open'` in the table `io`.”

Think of `io` as a namespace table holding related functions:

```lua
io = {
  open = function(...) ... end,
  write = function(...) ... end,
  ...
}

```

This design gives Lua flexibility—libraries are just tables. You can inspect, override, or extend them easily.
