vm: very basic virtual machine

This commit is contained in:
alex committed 2023-11-14 23:44:10 -08:00
1 parent 8c48c93663
commit 041848c14e
92 files changed
+1652 -243

No files matched your search

+6 -4
View File
@@ -1,9 +1,11 @@
let count = 5
export func main() {
var x = 1
while x <= count {
println(x)
while x <= 5 {
if x == 3 {
println("The value is 3")
} else {
println("The value is not 3")
}
x++
}
}