2025-12-20 18:25:53 +11:00
|
|
|

|
2025-12-19 16:32:24 +11:00
|
|
|
# VMBL
|
|
|
|
|
|
2025-12-20 18:25:53 +11:00
|
|
|
- Virtual
|
|
|
|
|
- Machine
|
|
|
|
|
- Based
|
|
|
|
|
- Language
|
2025-12-20 16:59:15 +11:00
|
|
|
|
2025-12-20 18:25:53 +11:00
|
|
|
But uhh that's the name of the VM itself, the name of the programming language I made is Sylt, named after the German island.
|
|
|
|
|
|
2025-12-21 09:44:16 +11:00
|
|
|
To compile the VM for Linux: `gcc src/main.c src/vmbl.c src/exception.c src/file_utils.c -o vmbl -O3`
|
2025-12-22 13:21:09 +11:00
|
|
|
|
|
|
|
|
SASM and Sylt are written in Python for now as I'm too mentally challenged to write C code rn.
|
2025-12-20 18:25:53 +11:00
|
|
|
|
|
|
|
|
## Syntax
|
|
|
|
|
### Example "Hello, World!" Program
|
|
|
|
|
```kotlin
|
|
|
|
|
fun main() {
|
|
|
|
|
println("Hello, World!\n")
|
|
|
|
|
}
|
|
|
|
|
```
|