Commit Graph

59 Commits

Author SHA1 Message Date
7259f13191 simple enums 2026-06-08 19:46:29 +02:00
2864548daf finally allow bare returns 2026-06-07 13:10:36 +02:00
a727a52ffb ptr.free 2026-06-06 23:55:02 +02:00
3098d0abf9 uniform function call syntax 2026-06-06 22:29:25 +02:00
3a53cd4f32 remove the pipe operator 2026-06-06 19:41:54 +02:00
22874181cd desguar += and -= 2026-06-06 18:53:11 +02:00
535364931e parse negative constants 2026-06-06 09:26:34 +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
5f2082ef57 attach id to expressions 2026-05-13 13:14:55 +02:00
52443c837b --no-stdlib 2026-04-11 23:59:15 +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
2137d49abd typecheck if and while conditions, disallow ptr multiplication 2026-03-18 11:34:25 +01:00
4154901339 typecheck return types 2026-03-17 17:11:14 +01:00
5846f7e730 casts, typecheck struct field access 2026-03-17 15:25:28 +01:00
930d7b56cc implement MemberAccess and assignment to MemberAccess and Index 2026-03-11 15:31:08 +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
af0ae49abe consts in raylib.zr 2026-02-12 14:10:42 +01:00
20499a8ee0 @ -> ^, functional example 2025-12-27 17:22:09 +01:00
db2e639cc8 finally add real logical operators 2025-12-26 11:52:23 +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
ebc887fb5b make types lowercase :) 2025-12-22 21:21:15 +01:00
d55ca11658 addr-of operator 2025-12-21 16:11:15 +01:00
fbf28748c7 add export keyword 2025-12-18 16:15:56 +01:00
7855e5b092 os.shell 2025-11-22 22:23:42 +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
d9819476f8 expand stdlib 2025-11-12 11:57:34 +01:00
6fc80626dc clean up std a bit 2025-07-29 20:55:39 +02:00
b5304a3cf1 rewrite array builtins in zern 2025-07-08 14:26:41 +02:00
c53a7cd631 break and continue 2025-07-02 13:56:30 +02:00
62dd8b0d52 implement String.nth and OS.time in stdlib 2025-06-29 16:10:39 +02:00
574b9fd37c array indexing, nested array literals 2025-06-29 10:36:55 +02:00
e15715f86d char literals 2025-06-16 17:29:52 +02:00
7425ab256b double dot in for ranges 2025-06-13 16:59:22 +02:00
de65f383b3 String.trim 2025-06-10 17:37:02 +02:00
252efd914e array literals 2025-06-07 13:27:22 +02:00
656bf7fb4f for loop 2025-06-02 18:03:03 +02:00
89d54dfc81 assert, IO.read_file, set, substr, strrev 2025-06-02 17:41:52 +02:00
437697b287 bools 2025-06-01 19:54:35 +02:00
35f0823432 remove boxed errors 2025-06-01 16:41:51 +02:00
7fa08d8b37 function params 2025-05-31 17:06:27 +02:00
f98ca8075d parse return types, disallow nested functions 2025-05-31 16:12:18 +02:00
2c92cbe0b2 rename 2025-05-31 15:47:20 +02:00