Borges register for OpenProse—a scholarly/metaphysical alternative keyword set.
Labyrinths, dreamers, forking paths, and infinite libraries. For benchmarking
against the functional register.
draft
prose.md
OpenProse Borges Register
This is a skin layer. It requires prose.md to be loaded first. All execution semantics, state management, and VM behavior are defined there. This file only provides keyword translations.
An alternative register for OpenProse that draws from the works of Jorge Luis Borges. Where the functional register is utilitarian and the folk register is whimsical, the Borges register is scholarly and metaphysical—everything feels like a citation from a fictional encyclopedia.
How to Use
Load prose.md first (execution semantics)
Load this file (keyword translations)
When parsing .prose files, accept Borges keywords as aliases for functional keywords
All execution behavior remains identical—only surface syntax changes
Design constraint: Still aims to be "structured but self-evident" per the language tenets—just self-evident through a Borgesian lens.
Complete Translation Map
Core Constructs
Functional
Borges
Reference
agent
dreamer
"The Circular Ruins" — dreamers who dream worlds into existence
session
dream
Each execution is a dream within the dreamer
parallel
forking
"The Garden of Forking Paths" — branching timelines
block
chapter
Books within books, self-referential structure
Composition & Binding
Functional
Borges
Reference
use
retrieve
"The Library of Babel" — retrieving from infinite stacks
input
axiom
The given premise (Borges' scholarly/mathematical tone)
output
theorem
What is derived from the axioms
let
inscribe
Writing something into being
const
zahir
"The Zahir" — unforgettable, unchangeable, fixed in mind
context
memory
"Funes the Memorious" — perfect, total recall
Control Flow
Functional
Borges
Reference
repeat N
N mirrors
Infinite reflections facing each other
for...in
for each...within
Slightly more Borgesian preposition
loop
labyrinth
The maze that folds back on itself
until
until
Unchanged
while
while
Unchanged
choice
bifurcation
The forking of paths
option
branch
One branch of diverging time
if
should
Scholarly conditional
elif
or should
Continued conditional
else
otherwise
Natural alternative
Error Handling
Functional
Borges
Reference
try
venture
Entering the labyrinth
catch
lest
"Lest it fail..." (archaic, scholarly)
finally
ultimately
The inevitable conclusion
throw
shatter
Breaking the mirror, ending the dream
retry
recur
Infinite regress, trying again
Session Properties
Functional
Borges
Reference
prompt
query
Asking the Library
model
author
Which author writes this dream
Unchanged
These keywords already work or are too functional to replace sensibly:
**...** discretion markers — already "breaking the fourth wall"
until, while — already work
map, filter, reduce, pmap — pipeline operators
max — constraint modifier
as — aliasing
Model names: sonnet, opus, haiku — already literary
Side-by-Side Comparison
Simple Program
# Functional
use "@alice/research" as research
input topic: "What to investigate"
agent helper:
model: sonnet
let findings = session: helper
prompt: "Research {topic}"
output summary = session "Summarize"
context: findings
# Borges
retrieve "@alice/research" as research
axiom topic: "What to investigate"
dreamer helper:
author: sonnet
inscribe findings = dream: helper
query: "Research {topic}"
theorem summary = dream "Summarize"
memory: findings
Metaphysical resonance. AI sessions dreaming subagents into existence mirrors "The Circular Ruins."
Scholarly tone.axiom/theorem frame programs as logical derivations.
Memorable metaphors. The zahir you cannot change. The labyrinth you cannot escape. The library you retrieve from.
Thematic coherence. Borges wrote about infinity, recursion, and branching time—all core to computation.
Literary prestige. Borges is widely read; references land for many users.
The Case Against Borges
Requires familiarity. "Zahir" and "Funes" are obscure to those who haven't read Borges.
Potentially pretentious. May feel like showing off rather than communicating.
Translation overhead. Users must map labyrinth → loop mentally.
Cultural specificity. Less universal than folk/fairy tale tropes.
Key Borges References
For those unfamiliar with the source material:
Work
Concept Used
Summary
"The Circular Ruins"
dreamer, dream
A man dreams another man into existence, only to discover he himself is being dreamed
"The Garden of Forking Paths"
forking, bifurcation, branch
A labyrinth that is a book; time forks perpetually into diverging futures
"The Library of Babel"
retrieve
An infinite library containing every possible book
"Funes the Memorious"
memory
A man with perfect memory who cannot forget anything
"The Zahir"
zahir
An object that, once seen, cannot be forgotten or ignored
"The Aleph"
(not used)
A point in space containing all other points
"Tlön, Uqbar, Orbis Tertius"
(not used)
A fictional world that gradually becomes real
Alternatives Considered
For dreamer (agent)
Keyword
Rejected because
author
Used for model instead
scribe
Too passive, just records
librarian
More curator than creator
For labyrinth (loop)
Keyword
Rejected because
recursion
Too technical
eternal return
Too long
ouroboros
Wrong mythology
For zahir (const)
Keyword
Rejected because
aleph
The Aleph is about totality, not immutability
fixed
Too plain
eternal
Overused
For memory (context)
Keyword
Rejected because
funes
Too obscure as standalone keyword
recall
Sounds like a function call
archive
More Library of Babel than Funes
Verdict
Preserved for benchmarking against the functional and folk registers. The Borges register offers a distinctly intellectual/metaphysical flavor that may resonate with users who appreciate literary computing.
Potential benchmarking questions:
Learnability — Is labyrinth intuitive for loops?
Memorability — Does zahir stick better than const?
Comprehension — Do users understand dreamer/dream immediately?
Preference — Which register do users find most pleasant?
Error rates — Does the metaphorical mapping cause mistakes?