feat: Implement basic interpreter and update documentation

This commit is contained in:
Alvin
2025-09-10 12:49:08 +02:00
parent 5ffe814e0e
commit 4cd38de88c
3 changed files with 68 additions and 4 deletions

View File

@@ -2,8 +2,30 @@
Benvenuto! Welcome to Trallalelo Lang, the most whimsical and brain-tickling programming language inspired by the finest Italian-flavored brainrot.
## Documentation
## Getting Started
(Coming soon)
To run a Trallalelo program, you need to have Rust installed. Then, you can use the following command:
## Ciao!
```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 bambini gusini "<message>"`
This command prints a message to the console. The message must be enclosed in double quotes.
## Ciao!