Logo Lanfrica

firo1919/orlang

Domain:

natural language processing

Record type:

software
Creator:
fir
Host:
A simple, expressive programming language that transpiles to Python. Orlang is inspired by the Afaan Oromo language, using its syntax and keywords to create a unique and culturally relevant programming experience. # Orlang A simple, expressive programming language that transpiles to Python. Orlang is inspired by the Afaan Oromo language, using its syntax and keywords to create a unique and culturally relevant programming experience. ## Features - Clean, Afaan Oromo-inspired syntax - Support for basic data types (integers, strings, booleans) - Variable declarations and assignments - Control flow statements (if/else, while loops, for loops) - Transpiles to readable Python code ## Installation ### Using pip ```bash pip install orlang ``` ### From Source #### Prerequisites - Python 3.13 or higher - uv package manager (optional) #### Setup 1. Clone the repository: ```bash git clone github.com cd orlang ``` 2. Install the package in development mode: ```bash # Using pip pip install -e . # Or using uv uv pip install -e . ``` This will install the `orlang` command-line tool globally. ## Usage ### Command Line Run an Orlang file: ```bash orlang path/to/your/file.orl ``` ### Example Code ```orlang // Variable declaration bakka count = 0; // While loop yeroo (count ` - Greater than - ` =` - Greater than or equal to - `<=` - Less than or equal to #### Logical - `fi` - Logical AND (meaning "and") - `ykn` - Logical OR (meaning "or") ## License This project is licensed under the MIT License - see the LICENSE file for details.