lua_shell: Run an interactive Lua shell

View source: R/lua_shell.R

lua_shellR Documentation

Run an interactive Lua shell

Description

When in interactive mode, provides a basic read-eval-print loop with LuaJIT.

Usage

lua_shell(L = NULL)

Arguments

L

Lua state in which to run the code. NULL (default) uses the default Lua state for luajr.

Details

Enter an empty line to return to R.

As a convenience, lines starting with an equals sign have the "=" replaced with "return ", so that e.g. entering ⁠=x⁠ will show the value of x as returned to R.

Value

None.


luajr documentation built on June 8, 2025, 10:40 a.m.