Files
VMBL/README.md

20 lines
529 B
Markdown
Raw Normal View History

2025-12-20 18:25:53 +11:00
![Sylt Logo](assets/sylt.png)
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`
To compile SASM for Linux: `gcc src/asm/sasm.c src/asm/tokenize.c src/file_utils.c src/asm/assembler.c -o sasm -O3`
2025-12-20 18:25:53 +11:00
## Syntax
### Example "Hello, World!" Program
```kotlin
fun main() {
println("Hello, World!\n")
}
```