Commit Graph

165 Commits

Author SHA1 Message Date
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
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
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
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