100 Commits

Author SHA1 Message Date
5353760f49 wip 2025-05-18 07:21:50 -06:00
0eee2a4ff3 Make more progress
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (pull_request) Successful in 2m53s
CI / ci (ReleaseSmall, ubuntu-latest) (pull_request) Successful in 2m52s
CI / ci (ReleaseSafe, ubuntu-latest) (pull_request) Successful in 2m58s
CI / ci (Debug, ubuntu-latest) (pull_request) Successful in 4m26s
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m58s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 2m56s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 3m1s
CI / ci (Debug, ubuntu-latest) (push) Successful in 4m27s
2025-04-29 05:34:52 -06:00
1b0a5c4636 Loop break and continue
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (pull_request) Successful in 2m46s
CI / ci (ReleaseSmall, ubuntu-latest) (pull_request) Successful in 2m44s
CI / ci (ReleaseSafe, ubuntu-latest) (pull_request) Successful in 2m50s
CI / ci (Debug, ubuntu-latest) (pull_request) Successful in 4m21s
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m47s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m58s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 2m37s
CI / ci (Debug, ubuntu-latest) (push) Successful in 4m21s
2025-04-28 20:19:55 -06:00
88c187de46 Constant global reference and proper type solving
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (pull_request) Successful in 2m42s
CI / ci (ReleaseSmall, ubuntu-latest) (pull_request) Successful in 2m41s
CI / ci (ReleaseSafe, ubuntu-latest) (pull_request) Successful in 2m45s
CI / ci (Debug, ubuntu-latest) (pull_request) Successful in 4m12s
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m40s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 2m36s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m42s
CI / ci (Debug, ubuntu-latest) (push) Successful in 4m8s
2025-04-28 15:34:52 -06:00
a4544ff941 Basic union
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m33s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 2m31s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m36s
CI / ci (Debug, ubuntu-latest) (push) Successful in 3m56s
2025-04-27 19:37:10 -06:00
a8ec7caab7 For each integer
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (pull_request) Successful in 2m35s
CI / ci (ReleaseSmall, ubuntu-latest) (pull_request) Successful in 2m34s
CI / ci (ReleaseSafe, ubuntu-latest) (pull_request) Successful in 2m41s
CI / ci (Debug, ubuntu-latest) (pull_request) Successful in 3m59s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 2m28s
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m32s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m37s
CI / ci (Debug, ubuntu-latest) (push) Successful in 3m56s
2025-04-25 17:47:01 -06:00
1983d50280 Implement generic macro
All checks were successful
CI / ci (ReleaseSmall, ubuntu-latest) (pull_request) Successful in 2m40s
CI / ci (ReleaseFast, ubuntu-latest) (pull_request) Successful in 2m44s
CI / ci (ReleaseSafe, ubuntu-latest) (pull_request) Successful in 2m43s
CI / ci (Debug, ubuntu-latest) (pull_request) Successful in 4m10s
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m29s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 2m26s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m32s
CI / ci (Debug, ubuntu-latest) (push) Successful in 3m51s
2025-04-25 11:05:59 -06:00
7cc1e29694 Implement basic macro
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (pull_request) Successful in 2m35s
CI / ci (ReleaseSmall, ubuntu-latest) (pull_request) Successful in 2m33s
CI / ci (ReleaseSafe, ubuntu-latest) (pull_request) Successful in 2m43s
CI / ci (Debug, ubuntu-latest) (pull_request) Successful in 4m5s
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m30s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 2m27s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m35s
CI / ci (Debug, ubuntu-latest) (push) Successful in 3m53s
2025-04-24 06:29:19 -06:00
2be7142608 Arbitrary-bit fields inside structs
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (pull_request) Successful in 2m25s
CI / ci (ReleaseSmall, ubuntu-latest) (pull_request) Successful in 2m22s
CI / ci (ReleaseSafe, ubuntu-latest) (pull_request) Successful in 2m29s
CI / ci (Debug, ubuntu-latest) (pull_request) Successful in 3m47s
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m39s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 2m37s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m44s
CI / ci (Debug, ubuntu-latest) (push) Successful in 4m2s
2025-04-21 07:00:08 -06:00
b8873564af Integer formats
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m21s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 2m20s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m25s
CI / ci (Debug, ubuntu-latest) (push) Successful in 3m37s
2025-04-20 20:28:59 -06:00
3cbd427f14 Introduce typealias
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m20s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 2m18s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m24s
CI / ci (Debug, ubuntu-latest) (push) Successful in 3m35s
2025-04-20 20:08:12 -06:00
1e6dd642d9 Enum name and slice of slices
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (pull_request) Successful in 2m27s
CI / ci (ReleaseSmall, ubuntu-latest) (pull_request) Successful in 2m23s
CI / ci (ReleaseSafe, ubuntu-latest) (pull_request) Successful in 2m28s
CI / ci (Debug, ubuntu-latest) (pull_request) Successful in 3m43s
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m13s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 2m13s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m20s
CI / ci (Debug, ubuntu-latest) (push) Successful in 3m29s
2025-04-20 13:02:43 -06:00
c7c5b509f2 Rework value type analysis and remove slice coerce
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m23s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 2m22s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m30s
CI / ci (Debug, ubuntu-latest) (push) Successful in 3m35s
2025-04-19 19:58:43 -06:00
c09715b2d0 For each
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (pull_request) Successful in 2m19s
CI / ci (ReleaseSmall, ubuntu-latest) (pull_request) Successful in 2m17s
CI / ci (ReleaseSafe, ubuntu-latest) (pull_request) Successful in 2m23s
CI / ci (Debug, ubuntu-latest) (pull_request) Successful in 3m33s
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m19s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 2m16s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m22s
CI / ci (Debug, ubuntu-latest) (push) Successful in 3m32s
2025-04-19 06:31:54 -06:00
d421189c45 Fix field access left assign
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m10s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 2m9s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m17s
CI / ci (Debug, ubuntu-latest) (push) Successful in 3m21s
2025-04-18 12:52:59 -06:00
72f887c707 Shortcircuiting if
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m13s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 2m12s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m18s
CI / ci (Debug, ubuntu-latest) (push) Successful in 3m28s
2025-04-17 22:01:14 -06:00
4dedaf3006 Else if and empty if
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (pull_request) Successful in 2m3s
CI / ci (ReleaseSmall, ubuntu-latest) (pull_request) Successful in 2m3s
CI / ci (ReleaseSafe, ubuntu-latest) (pull_request) Successful in 2m12s
CI / ci (Debug, ubuntu-latest) (pull_request) Successful in 3m13s
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m3s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 2m2s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m7s
CI / ci (Debug, ubuntu-latest) (push) Successful in 3m10s
2025-04-17 16:50:06 -06:00
408d53a6f9 String to enum
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (pull_request) Successful in 2m3s
CI / ci (ReleaseSmall, ubuntu-latest) (pull_request) Successful in 2m3s
CI / ci (ReleaseSafe, ubuntu-latest) (pull_request) Successful in 2m7s
CI / ci (Debug, ubuntu-latest) (pull_request) Successful in 3m12s
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m2s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 2m0s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m7s
CI / ci (Debug, ubuntu-latest) (push) Successful in 3m10s
2025-04-17 12:05:02 -06:00
0e789d3f13 Switch else empty
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 1m59s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 1m56s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m6s
CI / ci (Debug, ubuntu-latest) (push) Successful in 3m7s
2025-04-15 11:41:08 -06:00
da5d6182f3 Switch else
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 1m53s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 1m51s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m2s
CI / ci (Debug, ubuntu-latest) (push) Successful in 3m0s
2025-04-15 11:17:59 -06:00
b7aaa12f61 Basic switch
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (pull_request) Successful in 1m57s
CI / ci (ReleaseSmall, ubuntu-latest) (pull_request) Successful in 1m56s
CI / ci (ReleaseSafe, ubuntu-latest) (pull_request) Successful in 2m2s
CI / ci (Debug, ubuntu-latest) (pull_request) Successful in 3m10s
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 2m0s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 2m7s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 1m55s
CI / ci (Debug, ubuntu-latest) (push) Successful in 3m6s
2025-04-15 11:01:34 -06:00
eaeaa0f3b2 Pass C abi tests
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (pull_request) Successful in 1m39s
CI / ci (ReleaseSmall, ubuntu-latest) (pull_request) Successful in 1m36s
CI / ci (ReleaseSafe, ubuntu-latest) (pull_request) Successful in 1m45s
CI / ci (Debug, ubuntu-latest) (pull_request) Successful in 2m45s
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 1m33s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 1m31s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 1m39s
CI / ci (Debug, ubuntu-latest) (push) Successful in 2m38s
2025-04-14 07:46:57 -06:00
bfd6b90b53 Return type builtin
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 1m4s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 1m3s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 1m11s
CI / ci (Debug, ubuntu-latest) (push) Successful in 1m46s
2025-04-13 06:43:37 -06:00
30b0b2a259 Basic while
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 50s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 49s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 56s
CI / ci (Debug, ubuntu-latest) (push) Successful in 1m23s
2025-04-12 04:49:08 -06:00
73cf2ad30b Basic branch
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 41s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 42s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 49s
CI / ci (Debug, ubuntu-latest) (push) Successful in 1m10s
2025-04-10 11:33:44 -06:00
0d910fd58d Basic pointer
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 30s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 32s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 38s
CI / ci (Debug, ubuntu-latest) (push) Successful in 51s
2025-04-06 15:22:58 +02:00
1c50a06cce Minimal stack arithmetic
All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 30s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 29s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 37s
CI / ci (Debug, ubuntu-latest) (push) Successful in 44s
2025-04-06 09:47:44 +02:00
8693ea60d4 wip 2025-03-31 18:54:28 +02:00
196b8c0588 Start reworking parser and moving away from Zig 2025-03-30 15:49:31 +02:00
17918ce4e3 Assignment operators 2025-03-26 18:19:26 +01:00
cb12fa62fe C string to slice 2025-03-26 12:15:28 +01:00
5bf0f10455 Rebuild array to slice introducing a new builtin 2025-03-26 11:14:44 +01:00
3f66a9587d Implement basic while 2025-03-26 00:18:23 +01:00
00d77039f3 Implement argv and proper pointer indexing 2025-03-25 20:53:16 +01:00
a9c95a1d88 Implement slices and strings 2025-03-25 12:27:15 +01:00
aba6b2d22b Implement global struct 2025-03-24 21:10:17 +01:00
27e8d13748 Implement basic struct assignment 2025-03-24 20:35:51 +01:00
37d45aa101 Implement pointer_cast 2025-03-24 14:01:26 +01:00
832baa7137 Implement unreachable 2025-03-24 13:01:00 +01:00
8b1013b3e7 Implement integer_max 2025-03-24 12:44:18 +01:00
0721f8a2ef Fix bits return location type 2025-03-24 10:24:16 +01:00
852f312471 Select 2025-03-24 10:02:57 +01:00
a74e827f55 Struct zero 2025-03-24 00:13:49 +01:00
209aae6959 Bits 'zero' 2025-03-23 22:51:45 +01:00
4fa1ba260a Return type builtin 2025-03-23 20:08:28 +01:00
0a778aa94f Basic enum support 2025-03-23 19:40:55 +01:00
c1f0c64757 Add implicit backing type for 'bits' type 2025-03-23 19:36:52 +01:00
9ad86fe936 Implement byte size intrinsic 2025-03-23 12:23:27 +01:00
614c3d7e35 Implement basic support for varargs 2025-03-23 11:47:21 +01:00
8e7d81d8ff C ABI rework 2025-03-22 12:01:10 +01:00