feat: Implement conditional statements

This commit is contained in:
Alvin
2025-09-10 12:54:36 +02:00
parent ea9eead3ba
commit 936fa22257
3 changed files with 63 additions and 2 deletions

View File

@@ -56,4 +56,17 @@ Chimpanzini result x + y
Matteeeo result // prints 15
```
## Ciao!
### `Tung Tung Tung <operand1> <operator> <operand2>`
This command executes a block of code if a condition is true. The supported operators are `==`, `!=`, `>`, `<`, `>=`, `<=`.
Example:
```tralalero
Biscottini x 10
Tung Tung Tung x > 5
{
Matteeeo "x is greater than 5"
}
```
## Ciao!