flua —
Lua interpreter for the FreeBSD base
system
flua |
[-EWiv] [-e
string] [-l
module] [-l
g=module] [script
[args]] [--]
[-] |
flua is a minimal Lua interpreter
integrated into the FreeBSD base system. It is derived from Lua 5.4 with
modifications to suit the needs of FreeBSD build
infrastructure and system tooling. flua is intended
for internal use within the base system and is
not designed
for general-purpose scripting or use by third-party applications.
Unlike full Lua installations provided by the Ports Collection,
flua has a reduced feature set and is limited to
meeting the requirements of base system environments such as the
bootloader.
flua is typically invoked internally by
FreeBSD base system tools and build scripts. While it accepts Lua source
files and arguments in a standard fashion, its limited environment and
module support make it unsuitable for general scripting use.
flua includes a subset of functionality
from a small number of standard Lua modules as well as bespoke modules
necessary for the base system:
flua should not be used as a replacement
for
lua(1) from the Ports Collection (e.g.,
lang/lua54) as it may be modified or updated to a
newer Lua version in the future without retaining backwards
compatibility.
flua first appeared in
FreeBSD 14.0.