Commit Graph

98 Commits

Author SHA1 Message Date
f181cfe675 replace the horrible error system with multiple returns 2026-05-28 17:28:57 +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
027245684d type inference for variables 2026-05-13 14:01:44 +02: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
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
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
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
9f4c494e09 start working on the dns resolver 2026-03-14 12:24:51 +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
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
a07e2dc8dd move escape sequence parsing to tokenizer 2026-03-11 18:30:31 +01:00
01b98a1d45 drop libc dependencies from chip8.zr 2026-03-11 17:15:30 +01:00
73265f9d1e finish porting the chip8 emulator 2026-03-11 17:03:22 +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
65913868b0 implement blake2b hash 2026-01-04 11:56:50 +01:00
c603d10012 make crypto functions allocate the output 2026-01-04 10:22:26 +01:00
b78223fae7 move crypto into stdlib 2026-01-03 14:21:53 +01:00
abbe43a42c implement xchacha20 and x25519 2026-01-03 13:49:15 +01:00
20499a8ee0 @ -> ^, functional example 2025-12-27 17:22:09 +01:00
55a8844699 fix continue skipping for increment 2025-12-27 15:38:03 +01:00
db2e639cc8 finally add real logical operators 2025-12-26 11:52:23 +01:00
270386da95 rewrite zern tokenizer in zern :) 2025-12-25 21:04:34 +01:00
c527aceecd infer var type when initializer is a number constant 2025-12-23 18:10:56 +01:00
5682318915 rewrite smarter people's euler solutions 2025-12-23 17:48:30 +01:00
3be891c7cc correctly label euler solutions 2025-12-23 17:08:42 +01:00
ebc887fb5b make types lowercase :) 2025-12-22 21:21:15 +01:00
7c23e57ec0 net.pack_addr, SO_REUSEADDR 2025-12-21 17:28:19 +01:00
0863094635 another aoc solution 2025-12-21 14:50:09 +01:00
7f93599f34 port some aoc solutions to zern 2025-12-21 14:26:12 +01:00
daf9079ca4 advent of code day 2 (only first part tho) 2025-12-18 14:25:05 +01:00
9f39f627ad advent of code day 1 2025-12-18 14:04:44 +01:00
7855e5b092 os.shell 2025-11-22 22:23:42 +01:00
b24bfc0241 sqlite3, fizzbuzz examples 2025-11-22 21:06:00 +01:00
73cd71c8e4 implement str.from_i64 2025-11-22 20:01:10 +01:00
06c979f177 drop even more libc functions 2025-11-22 18:41:35 +01:00