feat: Implement arithmetic operations

This commit is contained in:
Alvin
2025-09-10 12:53:48 +02:00
parent c4e6c7c1cc
commit ea9eead3ba
3 changed files with 44 additions and 2 deletions

View File

@@ -44,4 +44,16 @@ Pinguino Arrabiato Fruti 3
}
```
## Ciao!
### `Chimpanzini <variable_name> <operand1> <operator> <operand2>`
This command performs an arithmetic operation and stores the result in a variable. The supported operators are `+`, `-`, `*`, `/`.
Example:
```tralalero
Biscottini x 10
Biscottini y 5
Chimpanzini result x + y
Matteeeo result // prints 15
```
## Ciao!