Skip to main content

Untold Lang v2.2.0 — The Language Without Limits

Project description

Untold Lang v2.2.0

The Language Without Limits — Version 2.2.0

Version License Platform Test Status Downloads Python Version

Website · PyPI · Discussions


What is Untold Lang?

Untold Lang v2.0.0 is a powerful, expressive programming language built for AI, Web, Apps, Scripting, Security and more — all with one clean syntax and file extension .ut.

Try It Now

pip install untold-lang==2.2.0
untold new my-app
cd my-app
untold run main.ut

What's New in v2.2.0

Language Features 🎯

  • Pattern Matching: match value { 1 -> "one", else -> "other" }
  • Enums: enum Status { Pending, Active, Done }
  • Structs: struct Point { x: num, y: num }
  • String Templates: `Hello ${name}!`
  • List Comprehensions: [x * x for x in 0..10 if x % 2 == 0]
  • Elvis Operator: value ?? default
  • Throw/Catch Errors: throw MyError{ msg: "..." }
  • Built-in Testing: test "name" { assert_eq(a, b) }
  • Decorators: @decorator syntax
  • Yield: yield value for async iteration

Features

  • Clean, readable syntax with unique keywords
  • 11 built-in standard library modules
  • Built-in AI, Web, Security, Shell, Network, Regex, Time, Crypto tools
  • Package manager (untold install)
  • Project scaffolder (untold new)
  • Compile to standalone binary (untold build --target binary)
  • Interactive REPL and Debugger
  • VS Code extension with syntax highlighting
  • Runs on Linux, Windows, macOS

Standard Library (12 Modules)

Module Description
untold.ai Sentiment analysis, NLP, keywords
untold.web HTTP requests, web server, JSON
untold.fs File system operations
untold.shell Shell commands, environment
untold.net Network sockets, port scanning
untold.hack Security tools, hashing
untold.regex Regular expressions
untold.time Date and time utilities
untold.crypto NEW: Cryptographic functions
untold.db Database access
untold.app Desktop & mobile UI

CLI Commands

untold run main.ut              # Run a .ut file
untold repl                    # Interactive REPL
untold debug main.ut           # Start debugger
untold new my-app web          # Create project
untold build --target binary   # Compile to binary
untold compile-c main.ut       # NEW: Compile to C (native)
untold install colors uuid     # Install packages
untold check main.ut           # Check syntax
untold help                    # All commands

Code Examples

Security (v2.1.1)

start main() {
    use untold.crypto

    // Secure password verification
    let hash = crypto.sha256("mypassword")
    if crypto.secure_compare(hash, "...") {
        say("Access granted")
    }

    // Timing-safe comparison
    if crypto.verify_hash("password", stored, "sha256") {
        say("Login successful")
    }
}

Native Performance (v2.1.1)

# Compile to C for 10x performance
untold compile-c main.ut
gcc -O2 -o program main.c -lm
./program

Async Parallel (v2.1.1)

start main() {
    // Fetch multiple URLs concurrently
    let results = await_all([
        http.get("https://api1.example.com"),
        http.get("https://api2.example.com"),
        http.get("https://api3.example.com")
    ])
    say(text(results))
}

License: MIT
Author: Antony Jude
Version: 2.1.1

Project details


Download files

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

Source Distribution

untold_lang-2.2.0.tar.gz (47.0 kB view details)

Uploaded Source

Built Distribution

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

untold_lang-2.2.0-py3-none-any.whl (57.3 kB view details)

Uploaded Python 3

File details

Details for the file untold_lang-2.2.0.tar.gz.

File metadata

  • Download URL: untold_lang-2.2.0.tar.gz
  • Upload date:
  • Size: 47.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for untold_lang-2.2.0.tar.gz
Algorithm Hash digest
SHA256 d8a927faa47ecbca17be4d5e0216ed1ff61dc0fa0808d1f7622252a71f07d074
MD5 5a219684dd7850dcec862a252e75bb77
BLAKE2b-256 4c9c6cafe98165fa03a07cd1879276af09cd0dfaa90d37b0842688fc059587e9

See more details on using hashes here.

File details

Details for the file untold_lang-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: untold_lang-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 57.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for untold_lang-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a4a6cd1a099709352d1a0b115b0b34c5556919ed9a0ba92f6caee16c850cb9a
MD5 44ba8d8eebc5065c667e6554a2da16cf
BLAKE2b-256 eff726d1a700a79104ceb33ee9db489cf95484bd89501ea38fd8fe4083944acf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page