Commit Graph

181 Commits

Author SHA1 Message Date
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
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
d78a77b075 finally allow escaped quotes in strings 2026-03-11 18:38:27 +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
930d7b56cc implement MemberAccess and assignment to MemberAccess and Index 2026-03-11 15:31:08 +01:00
d1b65dc1ed add missing trailing newlines 2026-03-11 14:58:22 +01:00
b79cd46b4b malloc structs and allow using them as types 2026-03-11 14:46:44 +01:00
316e60eedb add Stmt::Struct and Expr::New 2026-03-10 18:32:58 +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
65913868b0 implement blake2b hash 2026-01-04 11:56:50 +01:00
420f296ca5 split crypto from std once again 2026-01-04 10:25:54 +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
9a60518e0e speed up compilation by 40% by not cloning everything 2025-12-29 14:47:44 +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
07b46a987b allow more than 6 parameters, fix index bug, str.is_* 2025-12-25 20:29:31 +01:00
781c35d484 basic global constants 2025-12-25 15:19:15 +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
e447d4d7cd fix a bunch of old things 2025-12-22 21:58:08 +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
d55ca11658 addr-of operator 2025-12-21 16:11:15 +01:00
a259d204be allow dynamic calls 2025-12-21 15:42:00 +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