Metadata-Version: 2.4
Name: obsidian-lang
Version: 0.0.2a0
Summary: Obsidian is a compiled programming language that combines memory safety, zero-cost abstractions, and minimalist syntax. Built for developers who want the speed of Rust without the boilerplate.
Author: Obsidian Language Team
License: MIT
Project-URL: Homepage, https://github.com/example/obsidian-lang
Project-URL: Repository, https://github.com/example/obsidian-lang
Project-URL: Bug Tracker, https://github.com/example/obsidian-lang/issues
Keywords: programming-language,compiler,transpiler,rust-like,toy-language
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Compilers
Classifier: Topic :: Software Development :: Interpreters
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# Obsidian Language v0.0.1

**Obsidian** is a compiled programming language that combines memory safety, zero-cost abstractions, and minimalist syntax. Built for developers who want the speed of Rust without the boilerplate.

This is a toy implementation (v0.0.1) written in Python. It features a lexer, parser, AST, and a transpiler to Python (which simulates "compilation" by generating and executing equivalent Python code). Published on PyPI as `obsidian-lang`.

## Features (v0.0.1)
- Minimalist syntax inspired by Rust
- Variables with `let`
- Functions with `fn`
- Basic expressions + comparison operators (< > <= >= == !=)
- Control flow with `if` / `else`
- Function calls (including built-in `println`)

## Installation
```bash
pip install obsidian-lang
```

## Usage
```bash
# After pip install obsidian-lang
obsidian examples/hello.obs --show-code

# Or from source (development)
PYTHONPATH=. python -m obsidian.main examples/hello.obs --show-code
```

## Example (hello.obs)
```
fn main() {
    let x = 5;
    let y = x + 3;
    println(y);
    println("Hello from Obsidian!");
}
```
