Commit Graph

51 Commits

Author SHA1 Message Date
a6d44ec5e0 calculate needed stack space with a disgusting hack 2026-06-05 20:24:50 +02:00
be42267a59 io.snprintf 2026-06-05 09:47:59 +02:00
803aee772e net._build_sa, str.from_i64_buf 2026-06-04 21:35:02 +02:00
0b1b424478 remove array.new, std optimizations 2026-06-03 20:07:31 +02:00
a81742a7ec str.Builder 2026-06-03 19:06:50 +02:00
31b71a5e19 _stackalloc 2026-05-30 21:01:01 +02:00
f181cfe675 replace the horrible error system with multiple returns 2026-05-28 17:28:57 +02:00
0b16cc4513 destructuring multiple returns 2026-05-28 16:55:16 +02:00
fa5ff0aaa5 turn Assign into a statement 2026-05-28 08:49:18 +02:00
45253bf004 stack allocated structs, print ips in net examples 2026-05-27 20:34:26 +02:00
4fda79f0bc new var declaration syntax 2026-05-27 20:25:58 +02:00
284bc61f24 typecheck chained pointer operations 2026-05-13 14:11:05 +02:00
027245684d type inference for variables 2026-05-13 14:01:44 +02:00
3fd4fcd062 hex improvements 2026-04-09 15:01:36 +02:00
a17ffa184a _var_arg 2026-04-04 13:14:58 +02:00
bb42e1fcf7 parse variadic functions 2026-04-04 12:17:44 +02:00
86de997be3 hashmaps, enforce main function type 2026-03-20 19:27:51 +01:00
3efbb3ecd1 io.is_a_directory, octal literal constants 2026-03-20 15:35:35 +01:00
2137d49abd typecheck if and while conditions, disallow ptr multiplication 2026-03-18 11:34:25 +01:00
3efb3820bc fix a bug that caused stuff to not get typechecked 2026-03-17 17:34:49 +01:00
4154901339 typecheck return types 2026-03-17 17:11:14 +01:00
664a51c88d add casts to examples 2026-03-17 16:34:20 +01:00
15a68a41d1 use FnType instead of the tuple mess 2026-03-17 16:27:39 +01:00
a3f480dc1d typecheck function calls 2026-03-17 16:10:28 +01:00
5846f7e730 casts, typecheck struct field access 2026-03-17 15:25:28 +01:00
fee5dc3099 more error handling 2026-03-16 12:26:58 +01:00
720218cf31 error handling 2026-03-16 10:59:55 +01:00
964bbe4ec0 make mem.free O(1) with some linked list voodoo thank you bill gates 2026-03-16 09:46:41 +01:00
78282679e7 a few more fixes 2026-03-16 09:32:12 +01:00
7b09b505b5 a few fixes 2026-03-16 09:20:40 +01:00
21aabca9f7 very simple dns resolver 2026-03-14 13:10:26 +01:00
9f4c494e09 start working on the dns resolver 2026-03-14 12:24:51 +01:00
3f9df4a32f don't heap allocate in io.printf 2026-03-14 11:44:14 +01:00
4a60c1fc12 io.printf, please dont look at it 2026-03-14 11:24:51 +01:00
100b752eee udp server example 2026-03-12 17:50:01 +01:00
f21abaafff udp sockets 2026-03-12 16:57:28 +01:00
c67abf5a8e some new std functions 2026-03-12 16:06:22 +01:00
1ac7401e50 here's why you cant trust LLMs even with 20 line snippets 2026-03-12 14:40:25 +01:00
192cff8f8d drop gcc by default, any type 2026-03-12 14:24:44 +01:00
70640b3062 use mmap instead of brk in mem.alloc to fix a glibc segfault 2026-03-12 14:23:57 +01:00
1e7657ea2a implement our own malloc/free, finally drop libc 2026-03-12 10:02:51 +01:00
3fdf7bb99d io.Buffer, os.Timeval 2026-03-12 09:56:41 +01:00
3fcd82cc04 replace array with an actual struct now that we have them 2026-03-11 20:44:55 +01:00
01b98a1d45 drop libc dependencies from chip8.zr 2026-03-11 17:15:30 +01:00
12f283e5f8 zero initialize structs, begin porting my chip8 emulator 2026-03-11 16:21:57 +01:00
88915bbc8a use index assignment in existing code 2026-03-11 15:40:05 +01:00
d1b65dc1ed add missing trailing newlines 2026-03-11 14:58:22 +01:00
0dc130b85c crypto improvements 2026-03-05 20:04:20 +01:00
af0ae49abe consts in raylib.zr 2026-02-12 14:10:42 +01:00
d0a4fb7293 syscalls.zr 2026-01-18 09:57:28 +01:00