Commit graph

270 commits

Author SHA1 Message Date
Richard Feldman
bedcc21575
Use extern for serialized structs 2025-11-22 12:30:32 -05:00
Richard Feldman
1f1c61091a
More number fixes 2025-11-20 00:06:05 -05:00
Anton-4
824c243d06
more Result>Try updates (#8382)
* more Result>Try updates

* [WIP] Fix typo in Try variable names (#8383)

* Initial plan

* Add exception for 'Trys' to typos.toml

Co-authored-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* not this one

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2025-11-14 17:10:55 +01:00
Richard Feldman
d070538547
Use interned "plus" string 2025-11-09 10:53:34 -05:00
Richard Feldman
33eecaf61c
lints 2025-11-06 08:00:38 -05:00
Richard Feldman
9cebb9efa1
Use named constants 2025-11-05 22:19:52 -05:00
Richard Feldman
9bd0c20dbd
Switch to $ for reusable vars 2025-10-27 20:27:20 -04:00
Anton-4
551e627915
Merge pull request #8327 from FabHof/ArrayList-cleanup
0.15.2. cleanup: Starting to migragte from std.array_list.Managed to std.ArrayList
2025-10-24 10:21:31 +02:00
Jared Ramirez
8d0e05b051
Can & check stmts 2025-10-23 20:21:12 -04:00
Fabian Schmalzried
9be36d89a9
replacing array_list.Managed with ArrayList with script help 2025-10-23 14:23:32 +00:00
Richard Feldman
b6331133ec
Remove unnecessary comment 2025-10-19 22:58:55 -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
b61e2128b9
Use real builtin types in more places 2025-10-19 13:50:27 -04:00
Richard Feldman
20574735f4
Re-add some debug asserts 2025-10-19 08:14:13 -04:00
Richard Feldman
e69ea6a70e
Update some comments 2025-10-19 07:46:24 -04:00
Anton-4
995296d851
Merge branch 'main' of github.com:roc-lang/roc into upgrade-to-zig-0.15.1 2025-10-19 12:33:25 +02:00
Richard Feldman
4086366260
Re-enable some cross-module tests 2025-10-18 22:44:05 -04:00
Richard Feldman
26313674ab
Remove frozen field 2025-10-18 22:27:13 -04:00
Richard Feldman
2be42c0ee3
Merge origin/main into import-builtins 2025-10-18 22:00:02 -04:00
Richard Feldman
51affced49
Don't serialize the frozen field 2025-10-18 21:48:08 -04:00
Richard Feldman
b6403bff72
Clean up some comments 2025-10-18 19:00:30 -04:00
Richard Feldman
b73367d524
Fix memory leak 2025-10-18 18:26:27 -04:00
Richard Feldman
1eb767ee86
Fix CI 2025-10-18 17:09:50 -04:00
Richard Feldman
1d18180011
Delete some unnecessary comments 2025-10-17 21:16:42 -04:00
Richard Feldman
82c6562352
Merge remote-tracking branch 'origin/main' into import-builtins 2025-10-17 21:05:58 -04:00
Anton-4
aea973e12c
fix zig build roc 2025-10-17 13:41:28 +02:00
Anton-4
ea45b7f99f
Merge branch 'main' of github.com:roc-lang/roc into upgrade-to-zig-0.15.1 2025-10-17 11:38:36 +02:00
Joshua Warner
5d0167b776
Remove line/col info from snapshots by default 2025-10-16 07:00:23 -07:00
Brendan Hansknecht
1beda4275d
use the debug allocator in Debug and ReleaseSafe
This will help us cache any accidentally memory bugs like leaks or double frees.
Added cause I hit:
```
roc(57273,0x1fd0d9f00) malloc: double free for ptr 0x140058000
roc(57273,0x1fd0d9f00) malloc: *** set a breakpoint in malloc_error_break to debug
```

Impl just taken from https://ziglang.org/download/0.14.0/release-notes.html#SmpAllocator with minor modifications.
2025-10-15 16:25:45 -07: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
9399b2b23d
Fix ModuleEnv 32-bit serialization 2025-10-12 19:21:42 -04:00
Richard Feldman
ab814cca87
wip 2025-10-11 10:38:26 -04:00
Anton-4
295767101a
Removed last deprecated things. 2025-10-01 18:08:47 +02:00
Anton-4
b127b29d24
get rid of all deprecated things 2025-10-01 15:52:56 +02:00
Jared Ramirez
ef3225f2d0
Process type decls separately, generalize, then inst in annos 2025-09-30 17:44:45 -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
Isaac Van Doren
30a65a96a7
rename std.ArrayList to std.array_list.Managed 2025-09-06 20:47:40 -05:00
Luke Boswell
63684a4105
Update README's 2025-08-12 18:26:26 +10:00
Luke Boswell
7c1c8876bc
fix cross compilation 2025-08-12 15:29:50 +10:00
Luke Boswell
35c24ab6c6
Add comprehensive roundtrips for CommonEnv 2025-08-12 10:16:59 +10:00
Luke Boswell
cd3eb27e32
fix 1 segfault 2025-08-12 09:04:13 +10:00
Richard Feldman
31ec36e15f
Fix lints 2025-08-11 11:46:05 -04:00
Luke Boswell
2f8e342014
WIP enabling tests 2025-08-11 17:36:55 +10:00
Luke Boswell
8174e2b7a8
WIP 2025-08-11 16:47:33 +10:00
Luke Boswell
6cf71d5214
WIP test compiling 2025-08-11 16:28:15 +10:00
Luke Boswell
9ce886740e
WIP 2025-08-11 12:13:25 +10:00