Commit Graph

172 Commits

Author SHA1 Message Date
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
eb14607f2a allow returning a second value via rdx 2026-05-28 09:41:11 +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
5f2082ef57 attach id to expressions 2026-05-13 13:14:55 +02:00
52443c837b --no-stdlib 2026-04-11 23:59:15 +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
efe9dfe238 parse cli on our own 2026-03-19 13:42:12 +01:00
8758295641 Analyzer -> SymbolTable 2026-03-19 13:18:24 +01:00
e24763dfb6 gut analyzer by moving the arity check to the typechecker 2026-03-19 13:16:34 +01:00
2d2a2c667f LICENSE 2026-03-19 13:14:50 +01:00
625fc0d811 typecheck_expr doesnt need to mutate the TypeChecker 2026-03-18 19:08:10 +01:00
0dbe7560b6 refactor the nasty RefCell by parsing everything first 2026-03-18 18:53:13 +01:00
e774f06e65 validate types in New/Struct/Cast 2026-03-18 11:47:29 +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
13fa93c611 start implementing typechecking 2026-03-17 14:55:07 +01:00
69c254382d TypeChecker 2026-03-17 14:04:14 +01:00
677521ca98 clean up main.rs 2026-03-16 13:07:33 +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
2f632077b8 restore curl.zr example now that we have DNS resolution once again 2026-03-14 13:10:45 +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
f2a7179b03 remove crypto, just use libsodium 2026-03-12 17:49:42 +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