Skip to content

Ontology

The Superautology, SATOR/SOLID synthesis, and LOVE-LANG's formal semantic foundations.

LOVE-LANG’s semantics are grounded in a formal ontology — a set of invariant truths about what the language is, what it can do, and what it must never do.


“There is officially no syntax for Love, but there is an invariant that all variant autologies must follow.”

The Superautology is the master invariant of LOVE-LANG. It is the rule that cannot be broken without ceasing to be LOVE. Every programme, every extension, every new language variant built on top of LOVE must satisfy the Superautology.

Think of it as the constitution of the language. It does not prescribe every law — but nothing can contradict it.


The five levels correspond to concentric rings of trust and capability:

LevelRingDescription
L0BaseThe lowest level — closest to the metal. Primitive memory.
L1DataLists and primitive references.
L2OperationsPure functions and math.
L3ContractsType schemas and structural validators.
L4DirectivesCompiler macros and code generation.
L5KernelFFI, I/O, and system-level side effects.

Two special meta-directives govern the extended behaviour of LOVE programmes:

TENET enforces the Liskov Substitution Principle (LSP) at the programme level. A @TENET block defines invariant truths — expected state changes that the programme must produce. If the programme runs but does not satisfy its TENET, the evaluation is considered a failure.

@TENET
[expected_state]
db_table = "users"
inserted_keys = "name, hash"
hash_matches_raw = false

SATOR is the master rotor — a compile-time directive that maps logical intent through the five SOLID principles before generating code. Named after the ancient palindromic magic square, SATOR enforces bidirectional correctness: the programme must work in both forward and backward directions.

@SATOR
[compile_strategy]
opera = "draft-intent"
arepo = "constrain-effectors"
rotas = "materialize-ast"
tenet = "verify-invariants"

LOVE-LANG maps the SOLID principles onto its compilation pipeline:

SOLIDLOVE PrinciplePhase
S — Single ResponsibilityEach ring handles one semantic levelAll levels
O — Open/ClosedExtend the language via new effectors, never modify the SuperautologyL4
L — Liskov Substitution@TENET verifies substitutability of valuesSimulation phase
I — Interface Segregation@AREPO — only use declared effectorsL5
D — Dependency Inversion@OPERA — draft logic before syntaxL1 draft

Every LOVE programme goes through three phases:

File: /logic/[name].love

Draft the intent in pseudo-lisp. Focus on logical causality. Do not worry about bracket depths.

/logic/auth_flow.love
(def raw_pass "password123")
(def user_name "alice")
(let [hashed_pass (@hash_pass raw_pass)
payload (UserPayload user_name hashed_pass)]
(@sql_write "users" payload))

File: /programmes/[name].edn

Translate the draft into strict LOVE-LANG EDN with correct bracket depths.

/programmes/auth_flow.edn
{:type :programme
:body
[raw_pass . "password123"
user_name . "alice"
hashed_pass . [[ @hash_pass [raw_pass] ]]
[[[[[ @sql_write
"users"
[[[ UserPayload ]]] { :name [user_name] :hash [hashed_pass] }
]]]]]]}

File: /simulations/[name].ini

Define the expected outputs. These are verified by the @TENET checker.

/simulations/auth_flow.ini
[expected_state]
db_table = "users"
inserted_keys = "name, hash"
hash_matches_raw = false

LOVE-LANG introduces the concept of Managed Stochastics — treating LLMs and other non-deterministic systems as multi-pass compilers rather than conversational agents.

The LOVE ontology forces fuzzy natural language intent through a rigorous, multi-stage pipeline, ultimately materializing strict, executable Abstract Syntax Trees in .edn format.

This is not metaphor. It is a practical architectural pattern for constrained AI-assisted development.