mirror of
https://github.com/Alvin-Zilverstand/Tralalero_lang.git
synced 2026-03-06 11:17:06 +01:00
feat: Implement arithmetic operations
This commit is contained in:
14
README.md
14
README.md
@@ -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!
|
||||
Reference in New Issue
Block a user