Commit Graph

40 Commits

Author SHA1 Message Date
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
cfe35bcc9d pipe, return 2025-05-30 22:20:42 +02:00
b3475651eb function declarations 2025-05-30 18:33:52 +02:00
3a876a97d3 calls 2025-05-30 17:51:16 +02:00
f72e8a4149 if, while, scopes 2025-05-30 17:31:20 +02:00
da1102714a parse var types 2025-05-29 20:57:07 +02:00
47fd9a36a4 parse blocks 2025-05-29 20:32:54 +02:00
01cc38f31d assignment 2025-05-29 19:59:34 +02:00
0c38b0b6a0 statements and local variables 2025-05-29 19:48:09 +02:00
47412dda11 parser 2025-05-29 18:28:25 +02:00