b69a6c6eec490339418595bd2a76fd4e71286c8c
VMBL
- Virtual
- Machine
- Based
- Language
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.
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 the SYLT compiler for Linux: gcc src/sylt/main.c src/file_utils.c src/sylt/lexer.c -o sylt -O3
SASM and Sylt are written in Python for now as I'm too mentally challenged to write C code rn.
Sylt Syntax
(totally not Kotlin lmao)
Example "Hello, World!" Program
def main() {
println("Hello, World!\n")
}
Variables
def main() {
// define a variable
var x = 123
// define a constant
const y = 456
// define two variables on one line
var x, y = 1, 3
// you can do the same with constants!
const x, y = 1, 3
}
Languages
C
98%
Makefile
2%
