LOVE Metalanguage LogoLOVE
/reference/example/DOCS

The LOVE MetaLanguage API is organised by execution ring depth. Each ring constrains what operations are legal at that level of compilation.

Bracket Depth Hierarchy

Level Syntax Semantics
1 [x] Variable / Primitive reference
2 [[x]] Pure operation / standard-library math
3 [[[x]]] Type contract / structural schema
4 [[[[x]]]] Compiler directive / macro
5 [[[[[x]]]]] System FFI / I/O / side-effects

Built-in Effectors

  • @hash_pass — Hashes a raw string using bcrypt (arity 1)
  • @sql_write — Persists a typed record to a database table (arity 2)

Further reading