Something went wrong. Try again.
🌱 A minimal programming language and compiler. git.urbach.dev/cli/q
high-performance programming-language compiler
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233import stringsconst { SIZE_SIGNED_10 = 20 SIZE_UNSIGNED_10 = 19 SIZE_UNSIGNED_16 = 16}write(n int) { buffer := new(byte, SIZE_SIGNED_10) num := strings.fromInt(n, 10, buffer) write(num)}write(n uint) { buffer := new(byte, SIZE_UNSIGNED_10) num := strings.fromInt(n, 10, buffer) write(num)}write(n bool) { if n { write("true") } else { write("false") }}write(n *any) { buffer := new(byte, SIZE_UNSIGNED_16) num := strings.fromInt(n as uint, 16, buffer) write(num)}