Files
Tralalero_lang/README.md
2025-09-10 12:52:20 +02:00

47 lines
1.2 KiB
Markdown

# Trallalelo Lang
Benvenuto! Welcome to Trallalelo Lang, the most whimsical and brain-tickling programming language inspired by the finest Italian-flavored brainrot.
## Getting Started
To run a Trallalelo program, you need to have Rust installed. Then, you can use the following command:
```bash
cargo run -- <file_name>.tralla
```
## Syntax
A Trallalelo program must start with `Tralalero Tralala` and end with `Bombardiro Crocodilo`.
## Keywords
### `Tralalero Tralala`
This is the entry point of the program. It must be the first line of your code.
### `Bombardiro Crocodilo`
This is the exit point of the program. It must be the last line of your code.
### `Matteeeo <value>`
This command prints a value to the console. The value can be a string literal (enclosed in double quotes) or a variable.
### `Biscottini <variable_name> <value>`
This command declares a variable and assigns a value to it. The value can be a string literal or a number.
### `Pinguino Arrabiato Fruti <number>`
This command creates a loop that repeats a block of code a specified number of times. The block of code must be enclosed in `{` and `}` on separate lines.
Example:
```trallalelo
Pinguino Arrabiato Fruti 3
{
Matteeeo "Hello"
}
```
## Ciao!