๐Ÿฆ EyalLang

The no-nonsense, rule-based DSL that interprets Eyal-style directives into Python.

View on GitHub

๐Ÿš€ Quick Start

pip install eyal-lang

python -m eyal_lang --line "say hello world"

๐Ÿ“– Syntax Examples

# Output
say hello world          โ†’ print("hello world")

# Variables
set name to "Eyal"       โ†’ name = "Eyal"
set x to 5               โ†’ x = 5
set y to x + 10          โ†’ y = x + 10

# Math & Greeting
set a to 10
set b to 5
set sum to a + b
say the sum is sum       โ†’ print("the sum is sum")

๐ŸŽฏ Features

๐Ÿ’ก CLI Usage

# Run a file
python -m eyal_lang --file examples/hello.eyal

# Interactive mode
python -m eyal_lang

# Save output
python -m eyal_lang --file input.eyal --output out.py

๐Ÿงช Dev & Quality Tools

pip install -e .[dev]
pre-commit install
pre-commit run --all-files

Includes: black, flake8, mypy, bandit

๐Ÿ“ฆ Available on PyPI

pip install eyal-lang

View on PyPI โ†’