API Reference luerl v#1.5.1

View Source

Modules

Elixir API for Luerl, an implementation of Lua 5.3 written in Erlang.

Legacy Elixir API for Luerl

Luerl is an implementation of Lua 5.3 written in Erlang. This is the main public API module for interfacing with Luerl.

This module provides a standard of set io functions for Luerl. In the following description, many functions have an optional parameter IoDevice. If included, it must be the pid of a process which handles the IO protocols such as the IoDevice returned by file:open/2. Also in the functions handling files it can also be the name of the file which will then be opened.

Legacy API for Luerl.

Sandboxed execution environment for Luerl with reduction counting. This module provides a way to run Lua code with controlled execution, limiting the number of reductions (computational steps) to prevent excessive resource consumption.