EMILUA(3em)

πŸ“¦ version 0.12.1, in nixos 26.05, nixpkgs unstable

πŸ’… EMILUA(3em) β€” the Lua execution engine, bestie edition πŸ¦‹

okay so welcome to the Emilua reference for EMILUA(3em). This page is literally about the system.exit() vibe: how to dip out of the VM without touching the other VMs in the process. no cap. ✨

🌸 NAME 🌸

Emilua β€” Lua execution engine 🧚

πŸ“œ SYNOPSIS πŸ“œ

local system = require "system"
system.exit([code: integer = 0 [, opts: table]])

πŸŽ€ DESCRIPTION πŸŽ€

Exit the VM. Other VMs in the process are not stopped. πŸ’… Like, this one VM is leaving the group chat; the rest are still typing. periodt.

πŸ¦‹ PARAMETERS πŸ¦‹

πŸ’– code

If the caller is the main VM, code is used as the application exit code. πŸ”₯

πŸ‘‘ opts

If the caller is the main VM, then opts is a table that accepts the following options: ⭐

  • force: 0|1|2|"abort" = 0 β€” the big mood switch for how forcefully to exit. Defaults to 0, bestie. 🫢
    • 0 β€” Nothing. literally nothing. πŸŽ€
    • 1 β€” Not implemented yet. 😭 sorry bestie, not yet.
    • 2 β€” Exit the process forcefully (little to none cleanup steps are performed). πŸ’€ so like, barely any cleanup.
    • "abort" β€” Exit the process even more forcefully (equivalent to the C function abort()). πŸ”₯ maximum drama, equivalent to C abort().

Emilua 0.12.1-nixpkgs1 Β· 1980-01-01 Β· EMILUA(3em) β€” that's the whole page, bestie. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from