Removed log from the standard library

This commit is contained in:
2025-02-22 18:02:50 +01:00
parent df782ae1cb
commit 467fbd9725
11 changed files with 38 additions and 41 deletions

View File

@ -2,13 +2,12 @@ import io
import mem
main() {
length := 5
address := mem.alloc(length)
address[0] = 'H'
address[1] = 'e'
address[2] = 'l'
address[3] = 'l'
address[4] = 'o'
io.write(1, address)
mem.free(address)
buffer := mem.alloc(5)
buffer[0] = 'H'
buffer[1] = 'e'
buffer[2] = 'l'
buffer[3] = 'l'
buffer[4] = 'o'
io.write(1, buffer)
mem.free(buffer)
}