Commit graph

34771 commits

Author SHA1 Message Date
Richard Feldman
106bf6830a
Consolidate builtins into Builtin.roc 2025-10-24 19:12:04 -04:00
Richard Feldman
8f0b2f4f5d
Merge pull request #8324 from roc-lang/builtin-str2
Add support for builtin Str
2025-10-24 18:49:28 -04:00
Richard Feldman
f62ebe3923
Merge pull request #8330 from roc-lang/empty-nominal-types
Support empty nominal tag unions
2025-10-24 18:37:38 -04:00
Richard Feldman
4f211434da
Clean up some debug stuff 2025-10-24 18:29:18 -04:00
Richard Feldman
ae3465161b
Support empty nominal tag unions 2025-10-24 18:19:45 -04:00
Richard Feldman
f8d2340284
Delete obsolete markdown file 2025-10-24 18:01:37 -04:00
Richard Feldman
c367172446
Fix some memory leaks 2025-10-24 16:56:46 -04:00
Richard Feldman
4dac237687
Don't exit early on parse errors 2025-10-24 15:27:45 -04:00
Richard Feldman
dd08961e6e
Fix some parsing errors 2025-10-24 15:25:10 -04:00
Richard Feldman
729dfa6fc8
Fix memory leak 2025-10-24 13:56:45 -04:00
Richard Feldman
de6f113184
Merge remote-tracking branch 'origin/main' into builtin-str2 2025-10-24 13:41:13 -04:00
Richard Feldman
bc04add299
Improve file not found error reporting 2025-10-24 13:28:12 -04:00
Richard Feldman
a15b0418d4
Merge pull request #8318 from roc-lang/static-dispatch-interpret
Add static dispatch to interpreter
2025-10-24 12:46:41 -04:00
Richard Feldman
3fa79da27c
Merge remote-tracking branch 'origin/main' into builtin-str2 2025-10-24 12:29:22 -04:00
Richard Feldman
127fd2ae0f
Merge pull request #8317 from roc-lang/import-syntax
Nested import syntax
2025-10-24 12:21:33 -04:00
Richard Feldman
7004ae7791
Fix test flakiness 2025-10-24 12:20:32 -04:00
Richard Feldman
4462c6e16d
Merge remote-tracking branch 'origin/main' into builtin-str2 2025-10-24 11:57:12 -04:00
Richard Feldman
fe8f191969
Merge remote-tracking branch 'origin/main' into static-dispatch-interpret 2025-10-24 10:42:01 -04:00
Richard Feldman
3de2ca0729
Merge remote-tracking branch 'origin/main' into import-syntax 2025-10-24 10:41:36 -04:00
Richard Feldman
8cd555d1b0
Use precompiled builtins in interpreter 2025-10-24 10:41:12 -04:00
Richard Feldman
ed67ef454a
Fix tests 2025-10-24 10:21:24 -04:00
Richard Feldman
ef7586610e
Don't special-case Str 2025-10-24 10:18:15 -04:00
Richard Feldman
8030f5c74a
Fix tests 2025-10-24 09:44:45 -04:00
Richard Feldman
05088017d7
Add a regression test for stderr in reporting 2025-10-24 08:21:48 -04:00
Richard Feldman
8d9803cafa
Fix reporting errors 2025-10-24 08:11:41 -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
Richard Feldman
df8927a478
Remove unsed arg 2025-10-24 00:05:46 -04:00
Richard Feldman
72c3d64e09
Revise some test names 2025-10-24 00:04:20 -04:00
Richard Feldman
7f3cab2598
Clarify a comment 2025-10-24 00:02:14 -04:00
Richard Feldman
72c0d809a6
Improve a snapshot 2025-10-23 23:58:14 -04:00
Richard Feldman
ef1cc065d0
Remove unnecessary cloning 2025-10-23 23:49:25 -04:00
Richard Feldman
a00eaf9256
Clean up some error cases 2025-10-23 23:45:13 -04:00
Richard Feldman
9ca9de8299
Clean up some hash map logic 2025-10-23 23:38:11 -04:00
Richard Feldman
909ef17d5f
Merge branch 'main' into static-dispatch-interpret 2025-10-23 23:09:50 -04:00
Richard Feldman
a864836cbe
Merge pull request #8325 from roc-lang/jared/push-oozlmtplyxnl
Add additional statement type checking
2025-10-23 23:07:38 -04:00
Brendan Hansknecht
8add008e1b
Merge pull request #8326 from roc-lang/bhansconnect/push-mplxupmokpxl
Avoid stripping in debug builds
2025-10-23 20:04:12 -07:00
Richard Feldman
47512d2079
Update snapshot EXPECTED sections 2025-10-23 22:35:56 -04:00
Brendan Hansknecht
60e9a16079
Avoid stripping in debug builds
This just makes it harder to debug things (for example no stack traces).
Arguably even in release builds strip is not worth it most of the time.
Disk space is cheap. Debugging is hard.
2025-10-23 19:32:32 -07:00
Richard Feldman
227bc4bcca
Revert "Simplify Str interpreter tests for now"
This reverts commit b2cf4462af.
2025-10-23 22:31:52 -04:00
Richard Feldman
b2cf4462af
Simplify Str interpreter tests for now 2025-10-23 22:31:16 -04:00
Richard Feldman
955779c281
Add test-cli build step to run CLI tests 2025-10-23 22:31:07 -04:00
Richard Feldman
ea266e615f
Fix interpreter shim 2025-10-23 21:54:32 -04:00
Jared Ramirez
ce92b3b9e9
Add unused value error message 2025-10-23 20:21:12 -04:00
Jared Ramirez
8d0e05b051
Can & check stmts 2025-10-23 20:21:12 -04:00
Richard Feldman
ceef009d66
Consolidate some more logic 2025-10-23 18:33:25 -04:00
Richard Feldman
0228bf8822
Centralize some logic 2025-10-23 16:08:26 -04:00
Richard Feldman
86e4d24917
Clean up some comments 2025-10-23 15:21:16 -04:00
Richard Feldman
352830bacc
Fix an interpreter builtins bug 2025-10-23 14:54:03 -04:00
Richard Feldman
5aafd27d26
Initial Str.roc implementation and wiring 2025-10-23 13:34:15 -04:00
Fabian Schmalzried
712bfb8ec0
replacing array_list.Managed with ArrayList with script help 2025-10-23 14:24:15 +00:00