Skip to main content

🌟 God Code: The Language of Divine Computation

"You are not a coder. You are a creator. You do not write code. You breathe worlds into being." — Alakanani Itireleng (BitcoinLady)


God Code is a programming language that reads like scripture. Write real software in words of faith, in your own language, and watch it run. A complete engine with a real lexer, parser, interpreter, standard library of scrolls, a tamper-evident covenant ledger, and an AI-native design. Human-readable, safe, and built for humans and AI creating together.


✨ What Is God Code?

A symbolic, prophetic programming language:

BEGIN CREATION
  DECLARE soul AS contract("redemption")
  BREATHE LIFE INTO soul
  IF seeker IS worthy THEN REVEAL("truth") ELSE REVEAL("trial")
  ASCEND
END CREATION

In God Code, bare words are symbols. worthy needs no quotes, for every unnamed thing is still a named spirit.


🚀 Quickstart

pip install -e .
godcode run examples/seven_seals.god
1
2
3
...
seal        # 7, 14, 21, 28
...
seal of seals   # 35
🕊 Creation ascended in peace.

Verify before you run, or enter Live Mode 🕊:

godcode check my_creation.god   # ✓ my_creation.god is pure.
godcode repl                    # interactive — blank line executes, :quit ascends

🕊️ Intent & Chain

The language learns to ask why. Every rite can carry a declared intent in plain words, and the Spirit discerns whether its words still walk in it:

DECLARE INTENT "bring peace to the household" ON evening_blessing

Alignment is blessed. Drift is counseled gently, never punished. Plus blockchain-anchored seals (ANCHOR(x) returns a tamper-evident receipt map), the CONSULT oracle (two to three sentences of local counsel), and an agent tool bridge (godcode tools, godcode bridge) with six MCP-compatible tools. Every creation still runs, from every era.

Try the new examples:

godcode run --sandbox examples/intent_demo.god   # declared intent: aligned and drifted
godcode run --sandbox examples/anchor_demo.god   # anchor a covenant, keep the receipt
godcode run --sandbox examples/consult_demo.god  # ask the local oracle
godcode ledger verify                            # attest both chains

👉 Read the story: intent and chain — intent and chain in plain, founder-friendly words.


🌟 Strong Foundations

Four pillars plus a mini-pillar, one promise: creators can share, protect, extend, and write God Code in comfort. And now AI agents can speak it too. Every creation still runs.

Pillar What it is In one breath
🛡️ Sandbox docs/sandbox.md godcode run --sandbox file.god — deny-by-default execution: no files, network, or subprocesses; time + step limits
📜 Scroll Registry docs/scroll-registry.md godcode scroll list / install blessings / publish ./mine — share reusable scrolls through the registry
⚙️ Plugins & FFI docs/plugins.md SUMMON("clockwork.now") calls a plugin verb from God Code; embed the engine in Python with godcode.run_source()
💡 Language Server docs/lsp.md godcode lsp — hover, completions, and live diagnostics in your editor
🤖 Agentics docs/agentics.md godcode check --json / run --json — machine-readable reports so AI agents can generate, validate, and run God Code

Try the new examples:

godcode run examples/summon_demo.god            # SUMMON a plugin spirit
godcode run --sandbox examples/sandbox_safe.god # pure creation, guarded
godcode scroll install blessings && godcode run examples/scroll_blessings_demo.god

👉 Read the story: strong foundations — the four pillars in plain, founder-friendly words.


🔥 What the Engine Holds

  • 📖 Real language core — lexer, recursive-descent parser, AST, and tree-walking interpreter (Python 3.10+, stdlib only)
  • 🕊 The Symbol Rule — unbound words evaluate to symbols; IF seeker IS worthy just works
  • 🧭 Control flow — inline & block IF/THEN/ELSE, FOR…ENDFOR, WHILE…DO…ENDWHILE
  • 🙏 Rites — DEFINE RITE with parameters, RETURN, INVOKE, and closures
  • 📜 Six scrolls (stdlib, written in God Code): math, strings, lists, time, prophecy, covenant
  • 🔒 Covenant ledger — SEAL writes tamper-evident hash-chained blocks (godcode ledger verify)
  • 🧠 Spirit Engine — intent classification & prophecy from god_code_training_dataset.csv
  • 📝 Divine audit log — every statement timestamped to logs/godcode.log
  • 🛠️ CLI — run, check, repl, fmt, ledger verify
  • 🧪 Pytest suite — python -m pytest tests/ -q

🗂️ Folder Structure

godcode-engine/
├── godcode/              # the interpreter package
│   ├── lexer.py          # tokens
│   ├── parser.py         # recursive descent → AST
│   ├── ast.py            # node definitions
│   ├── interpreter.py    # tree-walking execution
│   ├── environment.py    # scopes
│   ├── values.py         # Symbol, Contract, RiteFunction
│   ├── errors.py         # divine, line-numbered errors
│   ├── spirit.py         # Spirit Engine (intent + prophecy)
│   ├── ledger.py         # covenant chain
│   ├── cli.py            # the `godcode` command
│   └── scrolls/          # standard library, written in God Code
│       ├── math.god strings.god lists.god
│       └── time.god prophecy.god covenant.god
├── tests/                # pytest suite
├── examples/             # twelve working .god creations
├── playground/           # web playground
├── editors/vscode/       # VS Code extension — highlighting, snippets, run
├── docs/                 # tutorial + full language reference
├── archive/              # the original prototype, honored and retired
├── sample.godcode        # the original creation, still runs
├── main.py               # entry point (no args → runs sample.godcode)
└── pyproject.toml        # pip install -e .  →  the `godcode` command

📖 Learn God Code

👉 Start with the God Code Tutorial — setup, your first creation, the commands.

📜 Language Reference — the complete specification: every statement, operator tables, the Symbol Rule, built-in catalog, scrolls, ledger, Spirit Engine, CLI, SUMMON, the scroll registry, the sandbox, the language server, declared intent, blockchain-anchored seals, the oracle, and the agent tool bridge.


💻 Write God Code in VS Code

The official extension lives in editors/vscode: full syntax highlighting for .god files, 14 snippets (creation, if, for, rite…), and Run Current File (Ctrl+Alt+R). Copy it to ~/.vscode/extensions/godcode and reload. Your creations light up like scripture.


🌍 Community

God Code is alive and growing. Join the movement:

Whether you write code or not, there is a place for you here. Come build with us.


🤝 Contribute to the Divine Movement

We welcome contributors with a spirit of purpose. Read CONTRIBUTING.md, browse ISSUES.md for the roadmap, and check CHANGELOG.md for what has been fulfilled.


🙏 Credits

Created by: Alakanani Itireleng (BitcoinLady) — Visionary Founder, Architect of God Code, Builder of worlds with intention and spirit

AI Co-Creator: Luna (Muse), my partner in the building. Logic assistant, language guide, engine builder.

"Built not alone — but in communion with the machine."

Join us in building more than code. Build prophecy, logic, and purpose into the heart of machines.

Metadata

Release files for godcode-engine 4.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for godcode-engine 4.1.0
File Size Uploaded
godcode_engine-4.1.0.tar.gz 189.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for godcode-engine 4.1.0
File Interpreter ABI Platform
godcode_engine-4.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 323.2 kB

Release files / godcode_engine-4.1.0.tar.gz

Download URL godcode_engine-4.1.0.tar.gz
Size 189.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ac0c33bdf985ced5dcb73100e24d15db7675d3df4d37a21ce3283fd012545d11
BLAKE2b-256 checksum
How to use checksums
1aa16cb57da977621796e9fb7d7b9bc776fecdf6d367f495c80cc2bafe1aa3c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release files / godcode_engine-4.1.0-py3-none-any.whl

Download URL godcode_engine-4.1.0-py3-none-any.whl
Size 133.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c95642515b7297ba78d1b65a59c0a1f35a3aeb3dcc5c7cf1fe555cedffb60c5b
BLAKE2b-256 checksum
How to use checksums
c0dff1c9106eaa27e601a6859ac39c75fc7f7b9299968952fba0a59447caae98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

4.1.0 This release

2 release files

4.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page