Commit Graph

  • 35d84390bd Simplify CI, do more with less. Manuel Barrio Linares 2026-02-05 17:51:43 -03:00
  • 124efb2684 Improve error message on const int* Christoffer Lerno 2026-02-06 02:00:26 +01:00
  • 5c158e481b Always have wmain. Cleanup synthetic main generation. Some cleanup for generics. Christoffer Lerno 2026-02-06 01:28:19 +01:00
  • 42b79d19c1 Update all stub methods. Christoffer Lerno 2026-02-06 00:55:57 +01:00
  • 4521a25284 [stdlib] Add PEM Encoding/Decoding Module (#2858) Zack Puhl 2026-02-05 18:01:07 -05:00
  • 1933d47ba1 add Intel user interrupt instructions (#2767) Foxy-Boxes 2026-02-05 22:56:35 +03:00
  • bb9e9b54cf Improve android support & add CI (#2664) Book-reader 2026-02-05 19:04:16 +00:00
  • eddbfb8ba3 CMakeLists and CI: Use our custom llvm (#2893) Manu Linares 2026-02-05 14:55:09 -03:00
  • 2c55d6e220 Further fix shadowing of generics Christoffer Lerno 2026-02-05 18:43:54 +01:00
  • 472c49de25 Differentiate errors on generic mismatch. Christoffer Lerno 2026-02-05 16:20:17 +01:00
  • 016254d38c Improve error message when using functions as values #2856 Christoffer Lerno 2026-02-05 16:03:56 +01:00
  • 054fcd2deb Update advice when an enum is found with "= 2" and no associated values. Christoffer Lerno 2026-02-05 13:57:35 +01:00
  • d71aa10f62 - Const inline enums would not always implicitly get converted to the underlying type. - Update to dstring.append_string to take any type converting to String. Christoffer Lerno 2026-02-05 13:04:57 +01:00
  • 1d0aef4522 Remove unnecessary macro. Christoffer Lerno 2026-02-05 02:07:42 +01:00
  • 71b673d241 - Shadowing not detected for generic declarations #2876 Christoffer Lerno 2026-02-05 01:33:47 +01:00
  • dcf695c726 Fix list[0].i = 5 when list[0] returns a pointer. #2888 Christoffer Lerno 2026-02-05 00:34:17 +01:00
  • 5e656603a5 - Remove dependency on temp allocator in File.open. Christoffer Lerno 2026-02-04 14:27:52 +01:00
  • b4426c095b - Remove dependency on temp allocator in String.join. Christoffer Lerno 2026-02-04 13:06:12 +01:00
  • 5f32c97094 - Compiler crash when using arrays of vectors in lists. #2889 Christoffer Lerno 2026-02-04 12:40:16 +01:00
  • 1c8cb7fa11 Method resolution and $define now works together well unless definitions are out of order for real. Christoffer Lerno 2026-02-04 12:23:37 +01:00
  • 6bc606a9b1 Removed analyse top pass. Remove sub module tracking. Fix errors where ? should be ~ Christoffer Lerno 2026-02-02 12:20:34 +01:00
  • d509b4caa1 Updated info about contributing bindings. Christoffer Lerno 2026-01-31 22:07:06 +01:00
  • 12975d07ac [stdlib] Reduce inline code volume from sorting macros (#2831) Zack Puhl 2026-01-31 14:19:57 -05:00
  • 3d512abaf7 Fix non-LLVM build. Laura Kirsch 2026-01-27 20:09:25 +01:00
  • a9d93c93d5 Improve linker error message (#2880) Kiana 2026-01-31 04:55:47 +01:00
  • 1b7601fdbb stdlib: optimize math::next_power_of_2 to O(1) using hardware CLZ (#2839) Manu Linares 2026-01-30 20:20:58 -03:00
  • 373013046d Fix formatting of path assignment in msvc_build_libraries.py Smite Rust 2026-01-30 19:37:16 +08:00
  • 10d369d766 Updated grammar, and 0.7.10 first commit Christoffer Lerno 2026-01-30 21:59:20 +01:00
  • 161280ce7d Add deprecation silence notice. v0.7.9 Christoffer Lerno 2026-01-30 13:57:52 +01:00
  • 4e129d4ae2 Fix test. Christoffer Lerno 2026-01-30 13:18:56 +01:00
  • 2b6f1c061d Fix of evaluation order warning. Christoffer Lerno 2026-01-30 13:10:54 +01:00
  • cb19c7d9e7 Test update Christoffer Lerno 2026-01-29 20:08:58 +01:00
  • 224b120745 Another fix error => warn Christoffer Lerno 2026-01-29 20:07:42 +01:00
  • 534dd42472 Update test. Christoffer Lerno 2026-01-29 17:51:50 +01:00
  • 163976f85f Fix of second warning triggered on failing to detect a method. Christoffer Lerno 2026-01-29 17:42:51 +01:00
  • d79a8808d7 Update readme example and last version Christoffer Lerno 2026-01-29 14:36:13 +01:00
  • 1cba5a0774 Release candidate Christoffer Lerno 2026-01-29 11:44:45 +01:00
  • 6c76a7ce4e Make methods not fully determined a warning. Christoffer Lerno 2026-01-29 11:42:58 +01:00
  • 084d5cbc94 Set target in test. Christoffer Lerno 2026-01-29 02:30:06 +01:00
  • 32b1df0f86 Set target in test. Christoffer Lerno 2026-01-29 00:43:53 +01:00
  • 50718cb905 - Crash in slice expression when it contains a rethrow #2872 - Multiple issues when rethrowing inside of expressions #2873 Christoffer Lerno 2026-01-29 00:42:20 +01:00
  • 414c0c9438 - Initializer did not correctly handle second rethrow #2870 - Crash encountering panic in if-else style switch #2871 Christoffer Lerno 2026-01-28 22:56:59 +01:00
  • 362d5680e4 - Optional in initializer cause a crash #2864 - Negating a global address with offset was a counted as a global runtime constant #2865 - Converting static "make_slice" to array failed to be handled #2866 - Narrowing a not expression was incorrectly handled #2867 - Vector shift by optional scalar failed #2868 Christoffer Lerno 2026-01-28 21:59:40 +01:00
  • fed7a74a75 Fix assert in #2863 Christoffer Lerno 2026-01-28 19:02:27 +01:00
  • d276d3767f Incorrect handling when reporting fn with optional compile time type #2862 Christoffer Lerno 2026-01-28 18:51:21 +01:00
  • a07660f957 Improve tracing of liveness error reporting. Christoffer Lerno 2026-01-28 11:44:37 +01:00
  • 4d02ce4414 Additional fix for #2853 Christoffer Lerno 2026-01-27 23:43:14 +01:00
  • c1e3cfaacc - Crash when trying to create a const zero untyped list #2847 Christoffer Lerno 2026-01-27 23:36:00 +01:00
  • c11385cf49 Fix wasm int128 size on LLVM 17-19. Christoffer Lerno 2026-01-27 16:26:35 +01:00
  • 0b5064683f Regression: Generic type could not be found in lambda inside macro #2853 Christoffer Lerno 2026-01-27 14:23:41 +01:00
  • f3ede27f60 Regression: "'out' parameters may not be read" when writing to array #2852 Christoffer Lerno 2026-01-27 13:48:50 +01:00
  • 4fbb42833e - Crash when creating $Type* where $Type is an optional type #2848 - Crashes when using io::EOF~! in various unhandled places. #2848 Christoffer Lerno 2026-01-27 13:32:08 +01:00
  • 3e76b7ff1c Fixes to optional rethrow in expressions. Christoffer Lerno 2026-01-26 04:10:38 +01:00
  • e901a3de55 - Fix alignment for uint128 to 16 with WASM targets. - Incorrect assert in struct alignment checking #2841 - Packed structs sometimes not lowered as such. Christoffer Lerno 2026-01-25 23:05:43 +01:00
  • 4899ee14e2 Resolving &X.b when X is a const incorrectly checked for runtime constness #2842 Creating a generic instance fails if it is created after interface checking #2840 Christoffer Lerno 2026-01-25 21:24:27 +01:00
  • 3c04a326f4 Resolving &X.b when X is a const incorrectly checked for runtime constness #2842 Christoffer Lerno 2026-01-25 20:28:35 +01:00
  • a1ff3b05ed - Lowering of optional in && was incorrect #2843 Christoffer Lerno 2026-01-25 19:50:28 +01:00
  • 74e228688a - Packed .c3l files without compressions weren't unpacked correctly. Christoffer Lerno 2026-01-25 19:13:42 +01:00
  • 75d454b6a6 Add mem_allocator realloc_array Macros (#2760) Zack Puhl 2026-01-25 10:12:44 -05:00
  • 6cffb888ea Add maximum memory usage tracking to tracking allocator (#2772) m0tholith 2026-01-25 18:11:46 +03:00
  • cf03215564 Added unit tests for Crc32 hashing. (#2833) soerlemans 2026-01-25 13:16:44 +01:00
  • 5b90743120 Fix test compatibility Christoffer Lerno 2026-01-25 13:15:26 +01:00
  • 0fb91265b6 - Bug when initializing an inferred array with deep structure using designated init #2826 Christoffer Lerno 2026-01-25 13:13:59 +01:00
  • 3cb7c489ee Updated releasenotes Christoffer Lerno 2026-01-25 12:50:02 +01:00
  • c65c378b7f - Bitstruct as substruct fails to properly work with designated initializers. #2827 Christoffer Lerno 2026-01-25 12:48:36 +01:00
  • cf9784afee - Bitstruct accidentally allowed other arrays than char arrays #2836 Christoffer Lerno 2026-01-25 12:14:34 +01:00
  • 8bd942c1b8 - Store of zero in lowering did not properly handle optionals in some cases #2837 Christoffer Lerno 2026-01-25 04:57:35 +01:00
  • 109e15b5a0 - Empty enums would return the values as zero sized arrays #2838 Christoffer Lerno 2026-01-25 04:41:06 +01:00
  • 0fdd6bdc81 - Early exit in macro call crashes codegen #2820 Christoffer Lerno 2026-01-25 00:52:57 +01:00
  • 378b35265b - Raw vaargs with optional return not lowered correctly #2819 Christoffer Lerno 2026-01-24 23:54:20 +01:00
  • b5e25e3857 Constant deref of subscript had inserted checks #2818 Christoffer Lerno 2026-01-24 23:24:36 +01:00
  • 9b2fc04959 ompile time dereference of a constant slice was too generous #2821 Christoffer Lerno 2026-01-24 22:42:04 +01:00
  • ce8167a102 - Incorrectly try compile time int check on vector #2815 - Generating typeid from function gives incorrect typeid #2816 - Recursive definitions not discovered when initializer is access on other const #2817 - Slice overrun detected late hit codegen assert #2822 Christoffer Lerno 2026-01-24 19:38:51 +01:00
  • 397d065a74 - Constant shifting incorrectly doesn't flatten the underlying vector base #2825 - String not set as attributes resolved breaking has_tagof #2824 - Self referencing forward resolved const enum fails to be properly detected #2823 Christoffer Lerno 2026-01-24 18:32:26 +01:00
  • 5e23817a3d - Comparing a flexible array member to another type would hit an assert. #2830 - Underlying slice type not checked correctly in $defined #2829 - Checking for exhaustive cases is done even in if-chain switch if all is enum #2828 Christoffer Lerno 2026-01-24 17:57:56 +01:00
  • 396263f5c3 De-macro readline. Christoffer Lerno 2026-01-23 22:45:58 +01:00
  • 26d0760c0d Make counting sort normal. Christoffer Lerno 2026-01-23 17:09:34 +01:00
  • 11f090116f Allow disabling asserts. Christoffer Lerno 2026-01-23 13:09:34 +01:00
  • 5e1c343be4 Deprecate builtin EMPTY_MACRO_SLOT for optional macro arguments (#2805) Zack Puhl 2026-01-23 06:34:50 -05:00
  • 0e69432e3d Improved error diagnostics for memory overflow. Christoffer Lerno 2026-01-23 11:58:19 +01:00
  • 94a26d9483 Add asserts, tracking Windows bug Christoffer Lerno 2026-01-23 11:51:51 +01:00
  • efa5bdc6df Add better error message on VirtualAlloc failure on windows. Christoffer Lerno 2026-01-23 11:45:00 +01:00
  • 459969ddb2 Make sure we don't switch over bad things. Christoffer Lerno 2026-01-23 01:22:58 +01:00
  • ae5047b73f Deprecating multi-level array length inference. int[*][*] is deprecated and will be removed 0.8.0. Christoffer Lerno 2026-01-22 23:50:39 +01:00
  • 17f3db835c - Remove dependency on test tmp library for stdlib compiler tests. #2800 Christoffer Lerno 2026-01-22 22:15:34 +01:00
  • 1845a515ca - Empty ichar slice + byte concatenation hit an assert. #2789 Christoffer Lerno 2026-01-22 21:39:03 +01:00
  • bf50178eb3 $typeof(<type>) returns typeinfo, causing errors #2795 Christoffer Lerno 2026-01-22 20:04:09 +01:00
  • 32675161c4 - Attrdef eval environment lacked rtype, causing error on invalid args #2797 Christoffer Lerno 2026-01-22 19:47:37 +01:00
  • e257500e03 Recursive definition of tag not detected with nested tag/tagof #2790 Christoffer Lerno 2026-01-22 19:16:54 +01:00
  • 0add42b0a0 - Make foo.$abc implicitly mean foo.eval("$abc"). Christoffer Lerno 2026-01-22 16:46:07 +01:00
  • b14053df41 - Too deeply nested scopes was a fatal crash and not a regular semantic error. #2796 Christoffer Lerno 2026-01-22 15:13:01 +01:00
  • 6a78864b6c Instantiating an alias of a user-defined type was not properly caught #2798 Christoffer Lerno 2026-01-22 13:50:57 +01:00
  • b1fea45cd1 Using an optional type as generic parameter was not properly caught #2799 Christoffer Lerno 2026-01-22 13:34:16 +01:00
  • cef48482f1 Unable to access fields of a const inline enum with an aggregate underlying type. #2802 Christoffer Lerno 2026-01-21 13:22:46 +01:00
  • a126a25d66 Casting const bytes to vector with different element size was broken #2787 Christoffer Lerno 2026-01-21 12:56:25 +01:00
  • 61c939059d int? ? was not correctly handled. #2786 Christoffer Lerno 2026-01-21 00:52:18 +01:00
  • 5fa820a462 When a global const has invalid attributes, handling is incorrect, leading to a crash #2785. Christoffer Lerno 2026-01-21 00:43:30 +01:00
  • 472124dab3 Bug in sysv abi when passing union in with floats #2784 Christoffer Lerno 2026-01-21 00:34:37 +01:00
  • 1e11b6c442 Inferring the size of a slice with an inner inferred array using {} isn't detected as error #2783 Christoffer Lerno 2026-01-20 23:58:45 +01:00
  • 34a86852c6 Failed to reject void compile time variables, leading to crash. #2781 Christoffer Lerno 2026-01-20 23:07:11 +01:00