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.2.tar.gz (137.9 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.2-py3-none-any.whl (141.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: enlang-1.0.2.tar.gz
  • Upload date:
  • Size: 137.9 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.2.tar.gz
Algorithm Hash digest
SHA256 514f3cbe7df341ee66a9d2854ad2c7300911857d89640d64a14af176e69ebe58
MD5 abe6df3497e3900b3b2ffe34fe6c251d
BLAKE2b-256 59c2a7ce2fc29a137b8ae57ad648bba73f8228191c8dcfc9fd9e7d13c50a0010

See more details on using hashes here.

File details

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

File metadata

  • Download URL: enlang-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 141.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f12f68431887e40366b2880dc3df3400af873d240241c419290b10b483f46002
MD5 a9f2be8514583a5c296d5f651586dc4d
BLAKE2b-256 ee5b31e00d3956c966bf7eceeb0cfa7c57a3644b7415e47d245badd9247d7a28

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

1.0.6

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

This release

1.0.2 This release

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