brainfuck interpreter

This commit is contained in:
2025-06-30 13:59:17 +02:00
parent 152e0189fe
commit a0bee3f5ca
7 changed files with 68 additions and 22 deletions

View File

@@ -4,7 +4,7 @@ func main[] : I64
panic("socket() failed")
let port: I64 = 8080
let sa: Ptr = calloc(16)
let sa: Ptr = calloc(1, 16)
String.set(sa, 0, 2)
String.set(sa, 1, 0)
String.set(sa, 2, Bit.rshift(port, 8) && 255)