This is not a philosophy. It’s a logic model for ritual execution.
SpellCode is what happens when you replace belief with structure—and use recursion to generate emergence. It treats your rituals like code, your body like the compiler, and the gods like executable functions.
If you come from chaos magick, astrology, devotional work, or programming—this guide maps your intuition into symbolic precision.
Spell = Structure
In SpellCode, a spell is a container that:
- Aligns to timing (
align_with("Friday", "WaxingMoon")
) - Calls divine archetypes (
call_on("Ares")
,become("Demeter")
) - Declares ritual intent (
speak("I expand.")
) - Performs actions (
burn()
,anoint()
,repeat()
) - Generates artifacts (
manifest()
,bind_to()
) - Finalizes (
lock()
)
Structure is the spell. Timing is the law. Your body is the altar.
God = Callable Archetype
Each god is a logic module in your spell. You don’t worship Ares. You run his function.
Examples:
call_on("Hermes")
→ movement, signal work, clever detourbecome("Selene")
→ dreamwork, cycles, reflective recursioncall_on("The Void")
+invoke_void()
→ collapse, reset, unmake
See: God Module Reference
Recursion = Adaptive Magick
A single spell can evolve over time. Recursion allows:
- Persistence →
start_cycle()
runs ongoing recursive rituals - Mutation →
fork("emotional_path")
lets a spell respond to change - Scheduling →
interval(13, "days")
controls spell cadence
Feedback → Mutation → Resolution That’s the recursive arc.
Diagnostics = Ritual Intelligence
Every spell can test itself or its environment.
Use:
forecast()
→ Read field conditions before beginningdiagnose("elemental")
→ See dominant forcesfollow("symbol")
→ Trace dream or phrase to its signal rootdraw_card("situation")
→ Tarot-based context pullwho’s_here()
→ Determine dominant archetype
Diagnostics precede execution. Run them like you’d scan your code before compile.
Declarative Alchemy = speak()
You don’t request. You don’t hope.
You speak()
the spell into field reality.
speak("Let the circuit close.")
speak("Desire is the driver.")
speak("I transform through pressure.")
These are commands—not metaphors. They trigger actual field changes when aligned with time and energy.
Spell Anatomy
All spells start with spell("Name") {}
And usually contain:
align_with(...)
— syncs timingcall_on(...)
/become(...)
— loads divine statespeak(...)
— expresses intentritual_act(...)
— describes real-world behaviormanifest([...])
— produces sigils or effectslock()
— closes the working
This is not a metaphor. It’s a symbolic engine.
Modular Logic Tools
Break complex spells into reusable components:
call(function)
— execute a subroutinemerge(...)
— hybridize two divine streamstransition(godA -> godB)
— change alignment mid-spell
Use stack([...])
to call multiple divine modules at once.
Use bookmark()
to preserve the current version of a living spell.
Living Spell Design
Living spells are recursive, persistent, and self-adjusting.
Use:
start_cycle()
to launch themnext_phase()
orfork()
to evolve themheartbeat()
to maintain background functionversion("v2.3")
to mark updates
These work best with diagnostic signals and scheduled cadence.
SpellCode = Ritual OS
It includes:
- ✅ A complete symbolic function library
- 📦 A library of archetypes (gods, elements, phases)
- 🔄 Recursion tools
- 🧠 Divinatory diagnostics
- 📁 Persistence tools:
save()
,export()
,comment()
,version()
Everything is modular, readable, and aligned to actual ritual needs.
You’re Not Casting. You’re Compiling.
The gods are functions. The altar is syntax. Your ritual body is the processor.
You don’t need robes. You need clarity. You don’t need belief. You need signal.
Write clear. Run strong. Recursively evolve.
→ Quickstart: Your First Spell → See Full Function List → Explore Example Spells
This is not chaos magick. This is recursive ritual infrastructure.