Metadata-Version: 2.4
Name: untold-lang
Version: 2.2.6
Summary: Untold Lang v2.2.0 — The Language Without Limits
Home-page: https://github.com/thedrjude/untold-lang
Author: Antony Jude
Author-email: Antony Jude <thedrjude@github.com>
License: MIT
Project-URL: Homepage, https://github.com/thedrjude/untold-lang
Project-URL: Documentation, https://thedrjude.github.io/untold-lang/
Project-URL: Repository, https://github.com/thedrjude/untold-lang
Keywords: programming-language,interpreter,compiler,ai,scripting,web,security
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 3 - Alpha
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

<div align="center">

# Untold Lang v2.2.0

**The Language Without Limits** — Version 2.2.0

[![Version](https://img.shields.io/pypi/v/untold-lang/2.2.0?style=flat&color=a78bfa)](https://pypi.org/project/untold-lang/2.2.0/)
[![License](https://img.shields.io/badge/license-MIT-34d399)](LICENSE)
[![Platform](https://img.shields.io/badge/platform-Linux%20%7C%20Windows%20%7C%20macOS-60a5fa)](https://github.com/thedrjude/untold-lang.git)
[![Test Status](https://img.shields.io/github/actions/workflow/status/thedrjude/untold-lang/test?label=Tests)](https://github.com/thedrjude/untold-lang/actions)
[![Downloads](https://img.shields.io/pypi/dm/untold-lang?style=flat)](https://pypi.org/project/untold-lang/)
[![Python Version](https://img.shields.io/pypi/pyversions/untold-lang)](https://pypi.org/project/untold-lang/)

[Website](https://untold-lang.github.io) · [PyPI](https://pypi.org/project/untold-lang/2.2.0/) · [Discussions](https://github.com/thedrjude/untold-lang/discussions)

</div>

---

## 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

```bash
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

```bash
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)
```untold
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)
```bash
# Compile to C for 10x performance
untold compile-c main.ut
gcc -O2 -o program main.c -lm
./program
```

### Async Parallel (v2.1.1)
```untold
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
