Commit graph

53 commits

Author SHA1 Message Date
Richard Feldman
4e2ee4e38c
Add if-without-else 2025-11-20 16:49:48 -05:00
Fabian Schmalzried
a55b048dad
Change the handling of invalid single quote to improve error messages. (#8370)
* add value_not_exposed report

* Change handling of invalid single-quote.

* fix typo
2025-11-11 13:42:35 +01:00
Richard Feldman
9134c55a6f
Implement low-level builtins 2025-10-31 19:37:26 -04:00
Richard Feldman
7acf127b32
Introduce the concept of builtin overrides 2025-10-30 20:40:41 -04:00
Richard Feldman
603f5cf9fe
Clarify an error message 2025-10-30 18:59:58 -04:00
Richard Feldman
476478b4dd
Improve an error message 2025-10-30 17:11:43 -04:00
Richard Feldman
2d1eb33bb8
Merge remote-tracking branch 'origin/main' into standalone-anno 2025-10-27 21:16:01 -04:00
Richard Feldman
9bd0c20dbd
Switch to $ for reusable vars 2025-10-27 20:27:20 -04:00
Richard Feldman
634cadc645
Type-check standalone annotations 2025-10-27 20:17:12 -04:00
Richard Feldman
32210df78a
More fixes 2025-10-22 10:38:13 -04:00
Jared Ramirez
d2fbc1c07c
Infer static dispatch types in check 2025-10-21 08:48:30 -04:00
Richard Feldman
7c8a9687fd
Merge remote-tracking branch 'origin/main' into import-builtins 2025-10-19 21:55:32 -04:00
Richard Feldman
8d66502182
Fix playground 2025-10-19 20:37:39 -04:00
Richard Feldman
df61ff12f2
Merge remote-tracking branch 'origin/main' into constant-folding 2025-10-19 15:22:54 -04:00
Richard Feldman
6706a068f0
Merge origin/main - upgrade to Zig 0.15.2
- Resolved conflicts preserving BuiltinTypes architecture
- Updated ArrayList to array_list.Managed for Zig 0.15.2
- Updated Io.Writer API for Zig 0.15.2
- Kept Bool special-case handling in render_helpers
- Kept builtin module loading in all affected files
2025-10-19 14:58:53 -04:00
Richard Feldman
afe0fc98aa
Simplify some error handling 2025-10-19 14:07:30 -04:00
Richard Feldman
b61e2128b9
Use real builtin types in more places 2025-10-19 13:50:27 -04:00
Richard Feldman
254c66726c
skip recursion for now 2025-10-19 12:10:17 -04:00
Richard Feldman
20574735f4
Re-add some debug asserts 2025-10-19 08:14:13 -04:00
Richard Feldman
26313674ab
Remove frozen field 2025-10-18 22:27:13 -04:00
Richard Feldman
16caf6856e
Refactor how we update the defs 2025-10-18 22:25:57 -04:00
Richard Feldman
2045073334
Revise error message 2025-10-18 17:47:49 -04:00
Richard Feldman
1d18180011
Delete some unnecessary comments 2025-10-17 21:16:42 -04:00
Anton-4
f701a32503
fix all the things 2025-10-15 14:03:23 +02:00
Anton-4
e5fed613ce
Merge branch 'main' of github.com:roc-lang/roc into upgrade-to-zig-1.15.1 2025-10-14 15:48:33 +02:00
Richard Feldman
185f372fb8
Merge remote-tracking branch 'origin/main' into remove-injection 2025-10-12 20:53:50 -04:00
Richard Feldman
e06dfbf331
Back out the arena change 2025-10-12 19:24:15 -04:00
Richard Feldman
e868c5c2df
Fix lints 2025-10-12 18:56:22 -04:00
Richard Feldman
cbde139774
Refactor out a bunch of dereferences 2025-10-12 18:15:37 -04:00
Richard Feldman
727c1349dc
Fix CI 2025-10-12 17:36:15 -04:00
Richard Feldman
c22959035d
Back out the arena change 2025-10-12 16:30:17 -04:00
Richard Feldman
7b34f71f68
Fix implications of previous change 2025-10-12 15:31:40 -04:00
Richard Feldman
9963b86283
Store scratch as a pointer 2025-10-12 14:14:50 -04:00
Richard Feldman
2720e470f0
Drop unused serialization functions 2025-10-12 14:06:23 -04:00
Richard Feldman
ab814cca87
wip 2025-10-11 10:38:26 -04:00
Richard Feldman
30ea992a83
import type modules 2025-10-06 10:44:18 -04:00
Richard Feldman
0c189b93cf
Add type modules 2025-10-04 14:44:54 -04:00
Jared Ramirez
4d467ef0b4
Refactor expr num reqs + fix merge issues 2025-10-02 16:11:03 -04:00
Jared Ramirez
2c09638729
Implement patterns 2025-09-30 17:47:05 -04:00
Jared Ramirez
ef3225f2d0
Process type decls separately, generalize, then inst in annos 2025-09-30 17:44:45 -04:00
Jared Ramirez
fdb4fda577
Recursive nominal types 2025-09-30 17:43:52 -04:00
Jared Ramirez
d3207a6e71
Num type vars & generalization!!! 2025-09-30 17:41:35 -04:00
Jared Ramirez
ee82e2c08c
Add scope typed variables 2025-09-30 17:37:58 -04:00
Isaac Van Doren
ea942e13b5
Update alignedAlloc and other functions to use std.mem.Alignment instead of ints 2025-09-07 02:29:16 -05:00
Isaac Van Doren
3bd2a07cd2
rename std.ArrayListUnmanaged to std.ArrayList 2025-09-06 20:48:49 -05:00
Jared Ramirez
c10b7f91c1
Inline statement type annotations 2025-08-24 13:47:16 -04:00
Luke Boswell
5974dfdf75
fix cross-compile 2025-08-13 14:59:49 +10:00
Luke Boswell
b4af86d304
Update NodeStore.zig 2025-08-13 14:49:45 +10:00
Luke Boswell
7c1c8876bc
fix cross compilation 2025-08-12 15:29:50 +10:00
Luke Boswell
6cf71d5214
WIP test compiling 2025-08-11 16:28:15 +10:00