DEV Community

Antony Jude
Antony Jude

Posted on

Untold Lang

I built a programming language from scratch — Untold Lang v2.0.0 is out. Here's what it does and why I built it.


Why I built it

Every major language forces you to pick a lane. Python for AI. JavaScript for web. Bash for scripting. None of them do everything cleanly. I wanted one language with expressive syntax that handles AI, web, security, scripting and apps without switching tools or installing 50 packages.

So I built Untold Lang. File extension: .ut


What it looks like

use untold.ai
use untold.web

start main() {
    let res      = http.get("https://example.com")
    let keywords = ai.keywords(res.body, 5)
    let mood     = ai.sentiment(res.body)

    say("Keywords: " + text(keywords))
    say("Sentiment: " + mood.label)
}
Enter fullscreen mode Exit fullscreen mode

AI-powered web scraper in 8 lines. No pip install for the AI — it ships with the language.


Full standard library — 8 modules, all built-in

  • untold.ai — sentiment, keywords, summarization, LLM API calls
  • untold.web — HTTP GET/POST, JSON APIs, web server, file downloads
  • untold.fs — read/write files, directories, glob, JSON
  • untold.shell — run system commands, env vars, OS detection
  • untold.net — TCP/UDP sockets, port scanning, DNS resolution
  • untold.hack — SHA256/MD5, base64, Caesar cipher, port scanner, whois
  • untold.db — database connections and queries
  • untold.app — mobile/desktop UI framework

The toolchain

untold new my-app web         # scaffold from template (app/web/ai/hack/cli)
untold run main.ut            # run your code
untold install colors uuid    # package manager
untold build --target binary  # compile to standalone binary — no Python on target
Enter fullscreen mode Exit fullscreen mode

Cross-platform

Runs on Linux, Windows and macOS. Compiles to standalone ELF/PE/Mach-O — no Python needed on the target machine.

VS Code extension included: syntax highlighting, snippets, autocomplete, Ctrl+Shift+R to run any .ut file.


Try it

Online playground (no install): https://thedrjude.github.io/untold-lang/playground.html

Install & run in 30 seconds:

pip install untold-lang
untold new my-first-app
cd my-first-app
untold run main.ut
Enter fullscreen mode Exit fullscreen mode

GitHub: https://github.com/thedrjude/untold-lang

What features would you add? What's missing? Would love feedback from this community.

Top comments (0)