100 Commits

Author SHA1 Message Date
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
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
7f93599f34 port some aoc solutions to zern 2025-12-21 14:26:12 +01:00
ada570c84e handle unterminated char literals 2025-12-19 17:34:40 +01:00
fdcf7eca37 analyze externs and catch undefined function calls 2025-12-19 15:55:31 +01:00
fbf28748c7 add export keyword 2025-12-18 16:15:56 +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
ce54d1b560 implement our own readdir and strtol, syscall builtin 2025-11-22 18:04:25 +01:00
7cffd73406 drop some libc functions, octal numerals, io.println, mem.read32 2025-11-22 17:31:36 +01:00
5a41163ca1 extern statement 2025-11-16 13:30:07 +01:00
552a404d73 support more than 6 function args, x11 example 2025-11-13 21:22:27 +01:00
852c463532 make index operator just read 1 byte 2025-11-13 20:17:12 +01:00
c1bd84464c new README example 2025-11-12 12:04:13 +01:00
d9819476f8 expand stdlib 2025-11-12 11:57:34 +01:00
2b316cbc16 remove hardcoded musl-gcc path 2025-11-11 14:31:33 +01:00
1e98d9d706 hex literals 2025-11-11 14:29:55 +01:00
46045af4fa raylib example 2025-11-11 13:33:40 +01:00
ca8ae6e110 run exe arg, deref -> read 2025-08-21 10:34:32 +02:00
3fd62c6083 some std wrappers around libc 2025-08-03 10:37:18 +02:00
6fc80626dc clean up std a bit 2025-07-29 20:55:39 +02:00
2c09d7bc21 example fixes 2025-07-29 18:53:38 +02:00
ddfa538a5c curl 2025-07-28 14:40:41 +02:00
dc3abc36a1 analyzer, check function arity, catch redefinitions 2025-07-27 13:26:23 +02:00
4e43d23263 read_line -> read_stdin 2025-07-27 13:16:16 +02:00
9ae0230f5f net.connect, net.listen 2025-07-26 13:21:37 +02:00
65bdac2fe3 rename std functions 2025-07-24 14:06:15 +02:00
dfec298823 rewrite listdir and stdin builtins in zern 2025-07-08 17:10:39 +02:00
8722e226a9 fix listdir 2025-07-08 14:57:17 +02:00