feat: Implement conditional statements

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

No files matched your search

+14 -1
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!