Elixir Engine

Functional · 26,764 lines · View on GitHub →

Phoenix-based. Comprehensive module system.

The Bilateral Boundary in Elixir

# Bilateral boundary: htx: namespace is server territory
# Resolution produces pure HTML for the client
def resolve(template, context) do
  template
  |> parse_directives()
  |> evaluate(context)
  |> strip_server_namespace()
end

Derived from the Same Seed

This engine was derived from the PRESTO Seed — the same ~2,200-word prose specification that produced all seven conformant implementations. The seed specifies the bilateral boundary, the resolver model, progressive layers, and two-phase mutations. The Elixir implementation is one instance of the form.

Key File

lib/presto_engine.ex

Run It

See engines/elixir/ in the presto repository for setup and run instructions.


← All engines · Specification · The Seed