Skip to main content

Echo

Echo is a small interpreted scripting language. Types are declared explicitly and checked at runtime. Abort is the default failure mode; recovery is inquiry and *Or twins, not try / catch.

Docs: https://deekshith-poojary98.github.io/echo/ — includes a browser playground.

import add from "lib/math";
import stdOk from "std/meta";

say("2+3 =", add(2, 3));
say("std ready:", stdOk());

2.0 is path resolution + std modules — nested / relative imports and import … from "std/…". It is not a package manager (no registry, lockfiles, or elang add).

2.1 is YAML + a thin LSP stub + std maturity on that surface — std/yaml, elang lsp / editor client, abort Stack: / trace, further peels (std/math, std/random, …), elang std, and generated inventories. Still not a package registry or full IDE language server.

What you get

  • Typed declarations and parameters; runtime checks on bind / assign / return
  • list and hash, string interpolation, method calls, use mut, lexical scope
  • File modules: export / import name from "module" (sibling, ./…, ../…, nested "lib/math", reserved "std/…")
  • Type aliases, object types (exact { ... } too), unions (int | str), first-class functions and builtins-as-values
  • Nominal class with new { ... } fields, methods (this), type methods, unbound methods, and interface (optional implements; no inheritance)
  • Thin scripting stdlib via prelude and/or std/… (std/fs, std/json, std/os, std/re, std/time, std/http, std/url, std/base64, std/yaml, std/math, std/random); optional --require-std hides peeled prelude names; host-gated where noted
  • CLI: run a file, REPL, check, test, fmt, lint, builtins, std, lsp
  • Editor: VS Code / Cursor extension with TextMate highlighting, tasks, and elang lsp (hover, goto-def, diagnostics)

What you do not

  • No class inheritance (extends), no generics, no try / catch, no package registry
  • Type inference is limited — you still declare types
  • See Known Limitations and failure model

Install

Python 3.10+. Prefer the command name elang — short, and shells often reserve echo. The package also registers echolang (and echo).

Package name on PyPI is echolang.

python3 -m pip install --user pipx
python3 -m pipx ensurepath
pipx install echolang
elang --version
elang builtins --count
elang std
elang std --exports

From GitHub instead of PyPI:

pipx install git+https://github.com/deekshith-poojary98/echo.git

From a clone

pip install .
# or: pip install -e .
elang path/to/file.echo

Layout

  • src/echo/ — frontend, semantics, modules, runtime, CLI
  • src/echo/std/ — install-tree modules for import … from "std/…"
  • docs/ — VitePress site (this is the docs source)
  • docs/language-semantics.md — language contract (v0.2 base; additive through 2.1.x)
  • docs/module-semantics.md — v0.3 module contract (+ 2.0 / 2.1 path / std notes)
  • docs/reference/builtin-inventory.md — generated prelude list
  • docs/reference/std-inventory.md — generated std/… modules + exports (python tools/sync_builtins.py)
  • examples/ — sample programs (std_imports.echo, yaml_and_math.echo, modules_demo/, …)

License / contributing

License and contribution guidelines are not filled in yet.

Metadata

Release files for echolang 2.1.9

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

Source distribution (sdist)

Source distribution for echolang 2.1.9
File Size Uploaded Provenance Actions
echolang-2.1.9.tar.gz 111.1 kB Without provenance Details for echolang-2.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for echolang 2.1.9
File Interpreter ABI Platform Actions
echolang-2.1.9-py3-none-any.whl Python 3 none any Details for echolang-2.1.9-py3-none-any.whl

Total release size: 237.0 kB

Release files / echolang-2.1.9.tar.gz

Download URL echolang-2.1.9.tar.gz
Size 111.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2e508fe3c9722e6342d5fe58f69e3ecee6024f98156b457194492d100b5110d2
BLAKE2b-256 checksum
How to use checksums
2b623cafc8870367097e8c1652d02efa9563e3b68c996dec102b461761f1db19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Release files / echolang-2.1.9-py3-none-any.whl

Download URL echolang-2.1.9-py3-none-any.whl
Size 125.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba42cface4baf3f0981346f9687d8ac3d7cf793d290b1e03815283d500b2672e
BLAKE2b-256 checksum
How to use checksums
0294a6c5182d2a48377a54197646b89817cef48bfdd550b0efc0359dece67088
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Security for echolang 2.1.9

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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