Skip to main content

Raw English Native Programming — English is the source code.

Project description

English / REN

The user speaks intent in English; REN compiles it into lawful IR; CI/CD executes verified changes; receipts preserve memory; and the system evolves only through human-approved pull requests.

Core Invariant

No English changes reality until it becomes typed IR, passes law, produces tests, writes receipts, and survives human-governed CI/CD.

Seven Organs

1. REN Mouth            — normal English input
2. REN Compiler         — English → intent graph → typed IR
3. REN Law              — policy, type, effect, permission, privacy checks
4. REN Backend Matrix   — IR → Python, TypeScript, Swift, Rust, Go, C/C++, Bash, SQL, YAML, Docker, Terraform, WASM, GitHub Actions, GlyphVM, .aeglyph
5. REN CI/CD Runtime    — governed execution substrate
6. REN Memory           — receipts for every action and artifact
7. REN Evolution Loop   — failures → issues → GAG repair branches → PRs → human merge

Directory

english/
  ren/
    specs/        — type, effect, policy, security model
    schemas/      — intent graph, effect, receipt, policy decision
    compiler/     — parser, IR builder, validator, backend targets
    lexicon/      — word/phrase endpoint registry, Oxford-style adapter
    stdlib/       — reusable English command libraries
    runtime/      — issue awakener, approval gate, rollback manager
    security/     — threat model, sandbox rules, forbidden effects
  programs/       — .ren English programs
  tests/          — compiler + shell + lexicon tests
  receipts/       — generated proof artifacts
  .github/workflows/ — compile, policy, test, self-heal
  aeglyph_shell/  — safe glyph terminal + model-free render runtime
  display_substrate.md — display-native computation thesis

Quick Test

python3 english/tests/test_ren_compiler.py
python3 english/tests/test_aeglyph_shell.py
python3 ren/compiler/ren_compiler.py ren/programs/rm_recovery.ren ren/receipts --api

Cross-Language Usage

Install once:

cd /Users/alep/CascadeProjects/spinor_ledger
python3 -m pip install -e .

Python

import english
english.run_english("Check availability every 4 hours.")
english.lookup_word("keep")

CLI (any language)

english run "Check availability every 4 hours."
english lookup keep
english compile "1. Check availability every 4 hours."
english stats

Node.js

const english = require('./bindings/node/english.js');
english.runEnglish("Check availability every 4 hours.");
english.lookupWord("keep");

REST API

curl http://localhost:7277/api/lexicon/word/keep
curl http://localhost:7277/api/lexicon/phrase/keep+alive
curl http://localhost:7277/api/lexicon/word/run/senses
curl -X POST http://localhost:7277/api/ren/compile -H 'Content-Type: application/json' -d '{"text":"1. Check availability every 4 hours."}'

C / Go / Rust / etc.

Call the english CLI as a subprocess and parse JSON. The CLI is the stable cross-language interface.

FILE* f = popen("english run 'Check availability every 4 hours.'", "r");
// read JSON from f

Final Sentence

English is source. REN IR is law. CI/CD is runtime. Receipts are memory. Every programming language is a backend. Human-approved PRs are evolution.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

english_ren-0.1.0-py3-none-any.whl (13.1 MB view details)

Uploaded Python 3

File details

Details for the file english_ren-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: english_ren-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for english_ren-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 975ec83e4c557e31d88f22d30090ed16bce84586fa77004e7831c0c752093768
MD5 af90a52d68b9b55adf8bc0b3da8c876c
BLAKE2b-256 a3e03fd149162295aa32c3d0acec00afaaca9ffafb23d8c32ea7f8f9e95c1b28

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page