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.4.tar.gz (174.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.4-py3-none-any.whl (190.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: enlang-1.0.4.tar.gz
  • Upload date:
  • Size: 174.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.4.tar.gz
Algorithm Hash digest
SHA256 2e1da47967f684a2b9ca8705bcbd8754ff32e055fdf0859faa4ea02c4a7f8e3d
MD5 4d8a822f2a95234d71de614718075575
BLAKE2b-256 240e5aa4677066bae82fbc2efc21e4605080c38bed98d0e0849653a589a528d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: enlang-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 190.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7e1a8759ee6fb9b4138beb431b9cd9bb9aee220da5070c8b4838dd87c1e35512
MD5 cc3ba777d83fb4a4468a95a4d9f175db
BLAKE2b-256 15a4fa8b440fd8fdd7a6a6ecf83a1b9d939b87f1b458aa89a8d55fb844e5f488

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

This release

1.0.4 This release

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