GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
EMILUA(1) General Commands Manual EMILUA(1)

Emilua - Lua execution engine

emilua [OPTION]... SCRIPT_FILE
emilua -h|--help
emilua --version

Emilua glues a LuaJIT interpreter to the Boost.Asio execution engine by exposing fiber and async IO APIs. It also allows multiple Lua VMs to share the same execution context and to communicate with each other through actor-inspired APIs. Threading capabilities are also exposed. In short, Emilua is a complete execution engine for Lua.

If SCRIPT_FILE is a directory, the file init.lua inside this directory is executed.

--main-context-concurrency-hint HINT

Use HINT=1 to inform spawn_context_threads() won’t be called from the main execution context and enable a few optimisations. Recompile Emilua with the proper configure flags to enable even more aggressive optimizations. Check <https://www.boost.org/doc/libs/1_72_0/doc/html/boost_asio/overview/core/concurrency_hint.html> for more info.

The default is HINT=0.

The old default was HINT=safe.

--test

Run the application with _CONTEXT="test".

This _CONTEXT propagates to imported modules and is meant to trigger the execution of unit tests written in every module from the application. This _CONTEXT won’t propagate to imported external modules.

-h, --help

Show help and exit.

--version

Show version and exit.

EMILUA_COLORS=1

Disable colour support auto-detection and force colour output on log messages.

EMILUA_COLORS=0

Disable colour support on log messages altogether.

EMILUA_PATH

A colon-separated list of directories to augment the default search path for modules. The modules from this search set have higher priority than the ones in the default search path. On Windows, the list is semicolon-separated.

EMILUA_LOG_LEVELS

A comma-separated list of log specs. Each spec is a colon-separated pair where second element is a number indicating maximum log level (inclusive) and the first element indicates the affected log category. You can optionally pass a spec containing just the log level that will affect the default category as the first spec.

Example:

EMILUA_LOG_LEVELS="2,glib:7,dbus:3" emilua src/init.lua

Vinícius dos Santos Oliveira

2025-04-19 Emilua 0.11.5

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.