

## Overview

UF Language is a Python-based language engine designed to provide different levels of user-friendliness:

- **UF** – Fully user-friendly, beginner-friendly syntax
- **iUF** – Intermediate user-friendly mode
- **nUF** – Not user-friendly, closer to normal Python
- **dnUF** – Developer-focused mode, advanced features

It is ideal for teaching, experimenting with custom languages, or creating scripts in a simplified syntax.

## Installation

```bash
pip install uf-language
```

## Commands - UF


hi -> prints hello world
hip -> prints hi
hih {text} -> prints your text
hid {text} {number} -> repeat text
set {name} {value} -> assign variable
get {name} -> get variable value
add {a} {b} -> addition
sub {a} {b} -> subtraction
mul {a} {b} -> multiplication
div {a} {b} -> division
rand {min} {max} -> random number
time -> current time
sleep {seconds} -> pause execution
upper {text} -> uppercase
lower {text} -> lowercase
len {text} -> length of text
rev {text} -> reverse text
clear -> clear screen
rndchar -> random letter
sqrt {number} -> square root
pow {a} {b} -> exponentiation
round {number} -> round number
repeatf {times} {text} -> repeat text
exit -> quit REPL

## Commands - iUF


print {text}
repeat {number} {text}
set {name} {value}
get {name}
add/sub/mul/div {a} {b}
len {text}
clear
upper {text}
lower {text}
rand {min} {max}
time
rev {text}
sleep {seconds}
rndchar
sqrt {number}
pow {a} {b}
round {number}
repeatf {times} {text}

## Commands - nUF


var x = value
show
calc {expression}
echo {text}
> {text}
sqrt {number}
pow {base} {exp}
round {number}
len {text}
repeatf {times} {text}
upper {text}
lower {text}
rev {text}
rand {min} {max}
time
sleep {seconds}
sys {command}
exec {python_code}
rndchar

## Commands - dnUF


let x = value
vars
echo {text} (supports $variables)
calc {expression}
if {condition} then {command}
sleep {seconds}
sys {command}
exec {python_code}
len {text}
read {filename}
upper {text}
lower {text}
rev {text}
rand {min} {max}
time
rndchar
