# `Alternera.Plugins.Lua54`
[🔗](https://github.com/10e-ab/alternera-wasm/blob/v0.9.1/alternera_plugin_lua54/lib/alternera/plugins/lua54.ex#L1)

The Lua 5.4 step: a Lua 5.4 script with Script's API, run on the request
or the response in a fresh WebAssembly instance per call. What it
returns goes where its To rows say, as Script's returned value does.

Everything a language step does is the framework's
(`PluginWasmFramework.Language`): settings, the env, host calls, results,
the memory limit and the editor (`PluginWasmFramework.StepEditor`). This
module names the language and its module, `priv/lua54.wasm`, built by
`guest/build.sh` from `guest/lua54_guest.c` and `guest/prelude.lua`,
which is the script's API (`docs/internals.adoc`).

Experimental: installed only with `:experimental_plugins` set
(`Pipelines.PluginRegistry`) until the runtime binding is chosen.

# `language`

```elixir
@spec language() :: Alternera.PluginWasmFramework.Language.t()
```

The language this plugin runs. Built per call rather than held in a
module attribute, so the module's path is the installation's, not the
build machine's.

# `module_path`

```elixir
@spec module_path() :: Path.t()
```

Where the built module is, in this installation.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
