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