Skip to main content

EnLang — The Universal Natural English Programming Language & Full-Stack Engine

Build Full-Stack Web Apps, Mobile UIs, Logic & 3D Visuals in Pure Natural English

Version License PyPI

Created and Authored by Spandan Prayas Patra.


🌟 Overview

EnLang is a deterministic, human-readable programming language and transpilation engine that converts natural English into clean, production-grade native code targets:

  • .enlg ➔ Core Backend Logic & Algorithms (Python 3 / Bytecode VM)
  • .enlgf ➔ Structural Frontend Web Markup (HTML5)
  • .enlgd ➔ Responsive Design & Aesthetics (CSS3)
  • .enlgs ➔ Client-Side Reactive Scripting & DOM Logic (Vanilla JavaScript ES6+)
  • .enlgm ➔ Mobile Applications & Screens (Flutter / Dart)

🚀 Official Installation

Install EnLang globally on your system using pip:

pip install enlang

🛠️ CLI Command Reference

Once installed, use the enlang (or enlg) command anywhere in your terminal:

1️⃣ Execution & Live Dev Server

# Run any source file with auto-detection (.enlg, .enlgf, .enlgs, .enlgm, .html, .js, .py):
enlang run tournament_app/tournament.enlgf

# Run on a custom port:
enlang run index.enlgf -p 3000

2️⃣ Compilation & Production Build

enlang build page.enlgf     # Bundles HTML5, CSS3, and JS into page.html
enlang build style.enlgd    # Compiles to modern CSS3 (style.css)
enlang build script.enlgs   # Compiles to pure Vanilla JavaScript (script.js)
enlang build app.enlg       # Transpiles to clean Python (app.py)
enlang build app.enlgm      # Compiles to Flutter/Dart (app.dart)

3️⃣ Version & Package Management

# Check installed version and check PyPI for updates:
enlang check -v

# Update enlang to latest release:
enlang update -v latest

# Install a specific version co-existing alongside current version:
enlang install -v 1.0.0

# Replace current active installation with a specific version:
enlang replace -v 1.0.0

# List all co-existing installed versions:
enlang list -v

# Switch active default version:
enlang switch -v 1.0.0

4️⃣ Interactive REPL Shell

enlang repl

🎨 Sample Syntax

🔹 1. Markup (index.enlgf)

page:
    head:
        title "Vortex Esports"
    body:
        header class "main-navbar":
            h1 "VORTEX ESPORTS"
            button "LOG IN" id "btn-login"

🔹 2. Design (style.enlgd)

.main-navbar:
    background "rgba(15, 23, 42, 0.8)"
    backdrop-filter "blur(12px)"
    padding "16px 32px"
    display "flex"
    justify-content "space-between"

🔹 3. Client Scripting (app.enlgs)

in script:
    create score as 0

    when "btn-login" is clicked:
        put { user: "Kiryu", score: 50 } into userRecord
        add "Kiryu" to activePlayersList
        set text of "user-badge" to "Welcome, Kiryu!"
        add class "active" to "user-badge"
        after 3 seconds:
            hide element "welcome-banner"

📄 License

MIT License. Copyright (c) 2026 Spandan Prayas Patra.

Download files

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

Source Distribution

enlang-1.0.6.tar.gz (180.3 kB view details)

Uploaded Source

Built Distribution

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

enlang-1.0.6-py3-none-any.whl (212.6 kB view details)

Uploaded Python 3

File details

Details for the file enlang-1.0.6.tar.gz.

File metadata

  • Download URL: enlang-1.0.6.tar.gz
  • Upload date:
  • Size: 180.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for enlang-1.0.6.tar.gz
Algorithm Hash digest
SHA256 99b03d2fe889d9bbd80f8c7f5bb5d20c079c205c74b972f2d07295b1b17cf24b
MD5 193ff8e7c29b666469feb567cf50fd63
BLAKE2b-256 86feaccbb3e6ad8c514e34a48f92f593e6fd06978eaa06857417083606d14020

See more details on using hashes here.

File details

Details for the file enlang-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: enlang-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 212.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for enlang-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 abefb5c407d42d25fec55f86c4486899288a9dc202f7fc163d480162b22a1ea9
MD5 68e08b81f2ae62c8fa6de96d29947743
BLAKE2b-256 c9710f21e066c4984deec7d6928bc824655d6a6a11b3454e704544fadb99ff34

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.16

2 files

1.0.15

2 files

1.0.14

2 files

1.0.13

2 files

1.0.12

2 files

1.0.11

2 files

1.0.10

2 files

1.0.9

2 files

1.0.8

2 files

1.0.7

2 files

This release

1.0.6 This release

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 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