Commit Graph

  • 1ea181524e - Fix decl attribute in the wrong place causing an assertion. #2581 Christoffer Lerno 2025-11-16 22:57:37 +01:00
  • b16ee3119d - Using defer catch with a (void), would cause an assertion. #2580 - Fix testcase Christoffer Lerno 2025-11-16 22:07:04 +01:00
  • 4e66693065 - Refactored @simd implementation. - Regression vector ABI: npot vectors would load incorrectly from pointers and other things. #2576 Christoffer Lerno 2025-11-16 00:15:18 +01:00
  • 5f96b8e4c6 - Casting a distinct type based on a pointer to an any would accidentally be permitted. #2575 Christoffer Lerno 2025-11-13 15:54:29 +01:00
  • 748a2f6530 - Enums now work with membersof to return the associated values. #2571 - Deprecated SomeEnum.associated in favour of SomeEnum.membersof Christoffer Lerno 2025-11-13 13:15:02 +01:00
  • 6360ddbc77 - When encountering a foreach over a ZString* it would not properly emit a compilation error, but hit an assert #2573. Christoffer Lerno 2025-11-11 12:36:02 +01:00
  • eccc6700dc - Fix appending to c:\ or \ #2569. Christoffer Lerno 2025-11-09 21:45:19 +01:00
  • 52ececba37 - Fix to Path handling c:\foo and \home parent. #2569 Christoffer Lerno 2025-11-08 23:42:47 +01:00
  • ffc65bcbf4 - Compiler assert with const enum based on vector #2566 Christoffer Lerno 2025-11-08 22:30:18 +01:00
  • 0da6bf4455 - Passing a compile time type implicitly converted to a typeid would crash instead of producing an error. #2568 Christoffer Lerno 2025-11-08 22:17:58 +01:00
  • 7063e684ba Make expected error in test::@error macro optional m0tholith 2025-11-04 17:26:34 +03:00
  • 07363c6ecd - Error message with hashmap shows "mangled" name instead of original #2562. Christoffer Lerno 2025-11-04 23:19:57 +01:00
  • 5070840da9 - Regression vector ABI: initializing a struct containing a NPOT vector with a constant value would crash LLVM. #2559 Christoffer Lerno 2025-11-04 01:04:07 +01:00
  • 4a25bcc5ee Function referencing in @return? for simplified fault declarations. Check @return? eagerly #2340. Christoffer Lerno 2025-11-03 23:49:35 +01:00
  • d43d7100af Fix division-by-zero checks on a /= 0 and b /= 0f #2558. Christoffer Lerno 2025-11-03 21:31:47 +01:00
  • 791cbbfb62 Fix division-by-zero checks on a /= 0 and b /= 0f #2558. Christoffer Lerno 2025-11-03 16:47:57 +01:00
  • 9b05dfdef1 Update release notes. Christoffer Lerno 2025-11-03 15:13:58 +01:00
  • b072e88bb3 Add $schema to project_default_keys Adding $schema to avoid compiler WARNING about an unknown parameter. Dave Akers 2025-10-30 10:54:16 -05:00
  • af33d2b1cc Update release notes. Christoffer Lerno 2025-11-03 13:58:52 +01:00
  • d438d7510e Add default exception handler for win32 (#2557) Technical Fowl 2025-11-03 04:58:07 -08:00
  • 1673aef74f Fix test. Christoffer Lerno 2025-11-03 12:55:00 +01:00
  • b3bce10699 Remove division-by-zero checks for floating point in safe mode #2556. Christoffer Lerno 2025-11-03 02:43:01 +01:00
  • 3ff922e12b - Missing imports allowed if module @if evaluates to false #2251. Christoffer Lerno 2025-11-02 13:20:36 +01:00
  • 3b718335ec - Improve multiline string parser inside compiler #2552 Christoffer Lerno 2025-11-01 00:12:32 +01:00
  • f25ad512a7 Foo.is_eq would return false if the type was a typedef and had an overload, but the underlying type was not comparable. Version 0.7.8. Christoffer Lerno 2025-10-31 22:47:01 +01:00
  • 5a3c484ceb Remove automatic win32 cleanup. RC2 v0.7.7 Christoffer Lerno 2025-10-30 21:29:48 +01:00
  • 331a77c1c2 Update 0.7.7 Christoffer Lerno 2025-10-30 11:01:01 +01:00
  • 045053f6bf Fix for RISCV on LLVM 17 Christoffer Lerno 2025-10-28 18:22:32 +01:00
  • 4809979898 - Add --riscv-cpu settings for RISC-V processors #2549. Christoffer Lerno 2025-10-27 18:33:54 +01:00
  • a5b2636b2e Added cpu-flags to the command line help Christoffer Lerno 2025-10-27 14:11:50 +01:00
  • c483c3b75f Update naming to cpu-flags Christoffer Lerno 2025-10-27 14:08:21 +01:00
  • c10d449e43 Add local TcpSocketPair (#2526) Christopher Coverdale 2025-10-27 12:16:14 +00:00
  • 54b110a367 Dev (#2547) Christoffer Lerno 2025-10-27 01:09:59 +01:00
  • ee8dc3d681 Update Linux nolibc/hello_world (#2546) Dmitry Atamanov 2025-10-27 04:45:16 +05:00
  • a38a627a1d Allow (Foo)0 bitstruct casts even if type sizes do not match. Christoffer Lerno 2025-10-25 20:33:47 +02:00
  • 8aaf54e8b1 - Rename @extern to @cname, deprecating the old name #2493. Christoffer Lerno 2025-10-25 15:55:25 +02:00
  • 423152202f Dev (#2545) Christoffer Lerno 2025-10-25 12:31:06 +02:00
  • f37e7460aa Update OpenBSD llvm version. Christoffer Lerno 2025-10-23 13:58:10 +02:00
  • 8f5d5a0bb5 "Maybe-deref" subscripting foo.[i] += 1 #2540. Christoffer Lerno 2025-10-23 00:42:38 +02:00
  • 883052a6bb Improved generic inference in initializers #2541. Christoffer Lerno 2025-10-22 23:48:32 +02:00
  • 9cf271f5fb Refactoring codegen with Flat / Lowered types. Helpers for struct gep. type_get_indexed_type no longer returns the canonical type, fixes issues in #2534 Christoffer Lerno 2025-10-21 16:53:38 +02:00
  • 5d8cad91b1 Fix lambda regression Christoffer Lerno 2025-10-20 22:55:19 +02:00
  • 614c6989d8 Fixed incorrect format strings when using error_exit. (#2530) Giuliano Macedo 2025-10-20 06:24:07 -03:00
  • 03ad72afbb Quaternion math improvements (#2524) Tonis 2025-10-20 12:04:28 +03:00
  • b924ede71a Regression: Not printing backtrace when tests fail for MacOS #2536. Christoffer Lerno 2025-10-20 02:50:06 +02:00
  • a81f857d8c Update to fix with splat. Christoffer Lerno 2025-10-20 02:26:04 +02:00
  • 6169d7acdf Correctly mention aliased type when method is not implemented #2534. Christoffer Lerno 2025-10-20 00:19:51 +02:00
  • 4af31da7ea Compiler segfault when getting a nonexistant member from an unnamed struct #2533. Christoffer Lerno 2025-10-20 00:03:15 +02:00
  • 0bd2c81757 Splatting optional compile-time macro parameter from inside lambda expression does not work #2532. Christoffer Lerno 2025-10-19 23:05:37 +02:00
  • 5ed1281451 fix nix hooks & patch phase Book-reader 2025-10-15 23:42:37 +13:00
  • 7b649314ec Fix tests. Christoffer Lerno 2025-10-15 00:50:24 +02:00
  • e37343fbe3 Refactor the C ABI conversion to use frontend independent types. Christoffer Lerno 2025-10-14 19:38:51 +02:00
  • 7b02907830 Try to workaround tag lock. Christoffer Lerno 2025-10-12 21:59:41 +02:00
  • 6eee760239 Add --max-macro-iterations to set macro iteration limit. Christoffer Lerno 2025-10-11 16:26:07 +02:00
  • ae33d1a206 Fix issue testing if something is global. Remove ScopeId. Adding comments to code. Christoffer Lerno 2025-10-11 13:50:06 +02:00
  • 3430240c2a Update readme with OpenBSD Christoffer Lerno 2025-10-11 00:47:37 +02:00
  • 6f11260a5c Disallow aliasing of @local symbols with a higher visibility in the alias. Christoffer Lerno 2025-10-10 14:04:19 +02:00
  • df67b7dddd Allow .. ranges to use "a..a-1" in order to express zero length. Christoffer Lerno 2025-10-10 00:34:30 +02:00
  • f3b7df2ab0 "build-dir" option now available for project.json, added to project. #2323 Christoffer Lerno 2025-10-09 23:41:58 +02:00
  • a000ae560a Add new builtins $$str_snakecase $$str_replace and $$str_pascalcase. Added @str_snakecase, @str_replace and @str_pascalcase builtin compile time macros based on the $$ builtins. Christoffer Lerno 2025-10-09 22:13:59 +02:00
  • 0d85caf21c Add splat defaults for designated initialization #2441. Add ??? and +++= to list-precedence. Christoffer Lerno 2025-10-09 12:45:55 +02:00
  • e34a26422f Change macro recursion depth to work on MSVC Christoffer Lerno 2025-10-07 23:47:05 +02:00
  • fe70f10bcc Sorting functions correctly took slices by value, but also other types by value. Now, only slices are accepted by value, other containers are always by ref. Christoffer Lerno 2025-10-07 22:43:40 +02:00
  • d6be1cbf65 Incorrect visibility on local globals with public aliases. #2519 Christoffer Lerno 2025-10-07 21:52:15 +02:00
  • 04cd079d4e - Compiler segfault when accessing member of number cast to bitstruct #2516. - Additional fix to #2515 - Compiler assert when getting a member of a bitstruct : char @bigendian #2517. Christoffer Lerno 2025-10-07 00:12:41 +02:00
  • b4b14674b4 - Bitstruct truncated constant error escapes $defined #2515 Christoffer Lerno 2025-10-06 20:50:56 +02:00
  • 5a1831c989 Error when using $vaarg/$vacount/$vasplat and similar in a macro without vaargs #2510. Christoffer Lerno 2025-10-06 00:45:36 +02:00
  • e9ec421b3b Compiler fails to stop error print in recursive macro, and also prints unnecessary "inline at" #2513. Christoffer Lerno 2025-10-06 00:31:27 +02:00
  • 872f63eecc - Bitstruct value cannot be used to index a const array in compile time. #2512 Christoffer Lerno 2025-10-05 22:23:07 +02:00
  • 1eb8c0ced1 Bug in io::write_using_write_byte. Christoffer Lerno 2025-10-05 00:29:34 +02:00
  • b5ae2485a7 Update version to 0.7.7 Christoffer Lerno 2025-10-04 11:49:23 +02:00
  • fe6817f90d Update frontpage version. v0.7.6 Christoffer Lerno 2025-10-03 18:42:32 +02:00
  • 98a72007f8 Releasenotes fixup Christoffer Lerno 2025-10-03 18:41:11 +02:00
  • 87c1e09a7a Compiler segfault when splatting variable that does not exist in untyped vaarg macro #2509 Christoffer Lerno 2025-10-03 14:08:19 +02:00
  • e0fbe31f00 Update release versions Christoffer Lerno 2025-10-02 21:27:35 +02:00
  • 7d6c844b99 Dead code analysis with labelled if did not work properly. Christoffer Lerno 2025-10-02 21:24:05 +02:00
  • a03446a26d - Fix lambda-in-macro visibility, where lambdas would sometimes not correctly link if used through a macro. Christoffer Lerno 2025-10-01 21:05:49 +02:00
  • a7e77fec78 $for int $a = 1; $a < 2; $a++ would not parse. Christoffer Lerno 2025-10-01 14:53:52 +02:00
  • 05c3fa1afd Update CI Christoffer Lerno 2025-10-01 09:43:20 +02:00
  • 30c8435669 Remove prerelease Christoffer Lerno 2025-10-01 09:35:38 +02:00
  • 94497c968b - Prevent foo.bar = {} when bar is a flexible array member. #2497 - Fix several issues relating to multi-level inference like int[*][*] #2505 Christoffer Lerno 2025-09-30 23:43:20 +02:00
  • 281d4af464 Update contact information for CoC Christoffer Lerno 2025-09-29 13:57:01 +02:00
  • cb2d0e798e Prevent foo.bar = {} when bar is a flexible array member. Christoffer Lerno 2025-09-29 01:59:38 +02:00
  • da67cd4eb0 Assert when the binary doesn't get created and --run-once is used. #2502 Christoffer Lerno 2025-09-29 00:16:26 +02:00
  • 7d06ca6d35 Crash during codegen when taking the typeid of an empty enum with associated values. Christoffer Lerno 2025-09-29 00:01:20 +02:00
  • 6d45450130 Renaming, and further refactoring. Christoffer Lerno 2025-09-28 15:33:17 +02:00
  • 27bbeaf79c Remove use of CheckType to simplify expression handling. Christoffer Lerno 2025-09-28 11:41:32 +02:00
  • 3af5a537da Cleanup around expressions. Christoffer Lerno 2025-09-27 16:37:56 +02:00
  • 6287e8dfbf Restore some out checking. Christoffer Lerno 2025-09-26 21:19:38 +02:00
  • 1f49a5448e Add AES algorithm (#2496) konimarti 2025-09-26 16:59:30 +02:00
  • ece4a2b6fb Make StderrLogger print file and line if FULL_LOG (#2500) m0tholith 2025-09-26 17:58:29 +03:00
  • e68bd0c57f Update test. Christoffer Lerno 2025-09-25 10:30:43 +02:00
  • eaeafb7299 Issue not correctly aborting compilation on recursive generics. Christoffer Lerno 2025-09-22 21:11:48 +02:00
  • 44d736a537 Add +++= operator. Christoffer Lerno 2025-09-22 01:51:25 +02:00
  • 122dbb3668 Compiler assert with typed macro vaargs accessing a macro passed as vaarg #2498 Christoffer Lerno 2025-09-25 14:13:06 +02:00
  • c2abbe2e2f Loosen generic resolution. Christoffer Lerno 2025-09-24 00:12:58 +02:00
  • 3ccabd625c Renaming Christoffer Lerno 2025-09-22 23:08:11 +02:00
  • cfe6534c15 Add shebang test. Christoffer Lerno 2025-09-20 22:55:08 +02:00
  • f5090eb158 Support #! as a comment on the first line only. Christoffer Lerno 2025-09-20 21:10:19 +02:00
  • d3db91536c Incorrect nameof on nested struct names. #2492 Christoffer Lerno 2025-09-20 15:00:44 +02:00