Commit Graph

  • af08d1888a real relative imports main Toni 2026-07-15 18:26:28 +02:00
  • 9bbd382e10 http server Toni 2026-07-07 19:40:25 +02:00
  • aea9ce911a std json parser Toni 2026-07-05 15:22:50 +02:00
  • 873aa3e1cc normal destructuring with one line changed Toni 2026-07-01 17:01:47 +02:00
  • bc4e09805b split std Toni 2026-07-01 14:43:39 +02:00
  • 3a4a499cf6 optional mimalloc dep for 30% speed up Toni 2026-07-01 10:51:36 +02:00
  • 131db6a453 fix bugs found by the fuzzer Toni 2026-07-01 10:49:38 +02:00
  • 43a20c99f6 remove enums Toni 2026-06-26 17:38:55 +02:00
  • 6fe971c615 simplify emit_debug with gas magic Toni 2026-06-26 16:50:05 +02:00
  • 8ad69be5aa switched to gnu assembler for 5x speed up Toni 2026-06-26 16:30:04 +02:00
  • 5a09699845 include "statement" Toni 2026-06-26 14:38:39 +02:00
  • 3f3f161151 VERY hacky f64 printing Toni 2026-06-26 09:34:18 +02:00
  • e4582ec85a float literals Toni 2026-06-24 18:06:58 +02:00
  • 213e3d4b37 floats Toni 2026-06-24 17:20:57 +02:00
  • 7259f13191 simple enums Toni 2026-06-08 19:46:29 +02:00
  • 2864548daf finally allow bare returns Toni 2026-06-07 13:10:36 +02:00
  • d4fe032a3a emit debug flag Toni 2026-06-07 12:03:22 +02:00
  • 802a6d8b53 remove aoc solutions Toni 2026-06-07 09:36:21 +02:00
  • a9bd4fe9f9 string hosts in net.* Toni 2026-06-07 09:33:26 +02:00
  • a727a52ffb ptr.free Toni 2026-06-06 23:55:02 +02:00
  • 670596e1ff sort std Toni 2026-06-06 22:47:16 +02:00
  • 3098d0abf9 uniform function call syntax Toni 2026-06-06 22:29:25 +02:00
  • 3a53cd4f32 remove the pipe operator Toni 2026-06-06 19:41:54 +02:00
  • c41c22e936 compute for's end only once Toni 2026-06-06 19:36:28 +02:00
  • 22874181cd desguar += and -= Toni 2026-06-06 18:53:11 +02:00
  • 535364931e parse negative constants Toni 2026-06-06 09:26:34 +02:00
  • a6d44ec5e0 calculate needed stack space with a disgusting hack Toni 2026-06-05 20:24:50 +02:00
  • be42267a59 io.snprintf Toni 2026-06-05 09:47:59 +02:00
  • 803aee772e net._build_sa, str.from_i64_buf Toni 2026-06-04 21:35:02 +02:00
  • 0b1b424478 remove array.new, std optimizations Toni 2026-06-03 20:07:31 +02:00
  • a81742a7ec str.Builder Toni 2026-06-03 19:06:50 +02:00
  • 31b71a5e19 _stackalloc Toni 2026-05-30 21:01:01 +02:00
  • f181cfe675 replace the horrible error system with multiple returns Toni 2026-05-28 17:28:57 +02:00
  • 0b16cc4513 destructuring multiple returns Toni 2026-05-28 16:55:16 +02:00
  • eb14607f2a allow returning a second value via rdx Toni 2026-05-28 09:41:11 +02:00
  • fa5ff0aaa5 turn Assign into a statement Toni 2026-05-28 08:49:18 +02:00
  • 45253bf004 stack allocated structs, print ips in net examples Toni 2026-05-27 20:34:26 +02:00
  • 4fda79f0bc new var declaration syntax Toni 2026-05-27 20:25:58 +02:00
  • 284bc61f24 typecheck chained pointer operations Toni 2026-05-13 14:11:05 +02:00
  • 027245684d type inference for variables Toni 2026-05-13 14:01:44 +02:00
  • 5f2082ef57 attach id to expressions Toni 2026-05-13 13:14:55 +02:00
  • 52443c837b --no-stdlib Toni 2026-04-11 23:59:15 +02:00
  • 3fd4fcd062 hex improvements Toni 2026-04-09 15:01:36 +02:00
  • a17ffa184a _var_arg Toni 2026-04-04 13:14:58 +02:00
  • bb42e1fcf7 parse variadic functions Toni 2026-04-04 12:17:44 +02:00
  • 86de997be3 hashmaps, enforce main function type Toni 2026-03-20 19:27:51 +01:00
  • 3efbb3ecd1 io.is_a_directory, octal literal constants Toni 2026-03-20 15:35:35 +01:00
  • efe9dfe238 parse cli on our own Toni 2026-03-19 13:42:12 +01:00
  • 8758295641 Analyzer -> SymbolTable Toni 2026-03-19 13:18:24 +01:00
  • e24763dfb6 gut analyzer by moving the arity check to the typechecker Toni 2026-03-19 13:16:34 +01:00
  • 2d2a2c667f LICENSE Toni 2026-03-19 13:14:50 +01:00
  • 625fc0d811 typecheck_expr doesnt need to mutate the TypeChecker Toni 2026-03-18 19:08:10 +01:00
  • 0dbe7560b6 refactor the nasty RefCell by parsing everything first Toni 2026-03-18 18:53:13 +01:00
  • e774f06e65 validate types in New/Struct/Cast Toni 2026-03-18 11:47:29 +01:00
  • 2137d49abd typecheck if and while conditions, disallow ptr multiplication Toni 2026-03-18 11:34:25 +01:00
  • 3efb3820bc fix a bug that caused stuff to not get typechecked Toni 2026-03-17 17:34:49 +01:00
  • 4154901339 typecheck return types Toni 2026-03-17 17:11:14 +01:00
  • 664a51c88d add casts to examples Toni 2026-03-17 16:34:20 +01:00
  • 15a68a41d1 use FnType instead of the tuple mess Toni 2026-03-17 16:27:39 +01:00
  • a3f480dc1d typecheck function calls Toni 2026-03-17 16:10:28 +01:00
  • 5846f7e730 casts, typecheck struct field access Toni 2026-03-17 15:25:28 +01:00
  • 13fa93c611 start implementing typechecking Toni 2026-03-17 14:55:07 +01:00
  • 69c254382d TypeChecker Toni 2026-03-17 14:04:14 +01:00
  • 677521ca98 clean up main.rs Toni 2026-03-16 13:07:33 +01:00
  • fee5dc3099 more error handling Toni 2026-03-16 12:26:58 +01:00
  • 720218cf31 error handling Toni 2026-03-16 10:59:55 +01:00
  • 964bbe4ec0 make mem.free O(1) with some linked list voodoo thank you bill gates Toni 2026-03-16 09:46:41 +01:00
  • 78282679e7 a few more fixes Toni 2026-03-16 09:32:12 +01:00
  • 7b09b505b5 a few fixes Toni 2026-03-16 09:20:40 +01:00
  • 2f632077b8 restore curl.zr example now that we have DNS resolution once again Toni 2026-03-14 13:10:45 +01:00
  • 21aabca9f7 very simple dns resolver Toni 2026-03-14 13:10:26 +01:00
  • 9f4c494e09 start working on the dns resolver Toni 2026-03-14 12:24:51 +01:00
  • 3f9df4a32f don't heap allocate in io.printf Toni 2026-03-14 11:44:14 +01:00
  • 4a60c1fc12 io.printf, please dont look at it Toni 2026-03-14 11:24:51 +01:00
  • 100b752eee udp server example Toni 2026-03-12 17:50:01 +01:00
  • f2a7179b03 remove crypto, just use libsodium Toni 2026-03-12 17:49:42 +01:00
  • f21abaafff udp sockets Toni 2026-03-12 16:57:28 +01:00
  • c67abf5a8e some new std functions Toni 2026-03-12 16:06:22 +01:00
  • 1ac7401e50 here's why you cant trust LLMs even with 20 line snippets Toni 2026-03-12 14:36:22 +01:00
  • 192cff8f8d drop gcc by default, any type Toni 2026-03-12 14:24:44 +01:00
  • 70640b3062 use mmap instead of brk in mem.alloc to fix a glibc segfault Toni 2026-03-12 14:23:57 +01:00
  • 1e7657ea2a implement our own malloc/free, finally drop libc Toni 2026-03-12 10:02:51 +01:00
  • 3fdf7bb99d io.Buffer, os.Timeval Toni 2026-03-12 09:56:41 +01:00
  • 3fcd82cc04 replace array with an actual struct now that we have them Toni 2026-03-11 20:44:55 +01:00
  • d78a77b075 finally allow escaped quotes in strings Toni 2026-03-11 18:38:27 +01:00
  • a07e2dc8dd move escape sequence parsing to tokenizer Toni 2026-03-11 18:30:31 +01:00
  • 01b98a1d45 drop libc dependencies from chip8.zr Toni 2026-03-11 17:15:30 +01:00
  • 73265f9d1e finish porting the chip8 emulator Toni 2026-03-11 17:03:22 +01:00
  • 12f283e5f8 zero initialize structs, begin porting my chip8 emulator Toni 2026-03-11 16:21:57 +01:00
  • 88915bbc8a use index assignment in existing code Toni 2026-03-11 15:40:05 +01:00
  • 930d7b56cc implement MemberAccess and assignment to MemberAccess and Index Toni 2026-03-11 15:31:08 +01:00
  • d1b65dc1ed add missing trailing newlines Toni 2026-03-11 14:58:22 +01:00
  • b79cd46b4b malloc structs and allow using them as types Toni 2026-03-11 14:46:44 +01:00
  • 316e60eedb add Stmt::Struct and Expr::New Toni 2026-03-10 18:32:58 +01:00
  • 0dc130b85c crypto improvements Toni 2026-03-05 20:04:20 +01:00
  • af0ae49abe consts in raylib.zr Toni 2026-02-12 14:10:42 +01:00
  • d0a4fb7293 syscalls.zr Toni 2026-01-18 09:57:28 +01:00
  • 65913868b0 implement blake2b hash Toni 2026-01-04 11:56:50 +01:00
  • 420f296ca5 split crypto from std once again Toni 2026-01-04 10:25:54 +01:00
  • c603d10012 make crypto functions allocate the output Toni 2026-01-04 10:22:26 +01:00