Commit graph

31860 commits

Author SHA1 Message Date
Anton-4
c93e27ca9a
added List.keep_if_try! (#7804)
* added keep_if_try!

* cleanup types

* cleanup var name
2025-05-21 14:12:24 -05:00
Richard Feldman
e1f4ac1a96
Merge pull request #7795 from roc-lang/host-abi
Initial pass at new host ABI
2025-05-20 01:42:32 +02:00
Jared Ramirez
dbea908527
Type Unification (#7772)
Setup type unification
2025-05-19 19:42:24 -04:00
Richard Feldman
9b8c96bc6c
Merge pull request #7801 from roc-lang/gamebox-patch-1
Add gamebox to Sponsors
2025-05-20 01:42:05 +02:00
Anthony Bullard
3a4f1035cd
Add gamebox to Sponsors
should have done this months ago
2025-05-19 15:35:00 -05:00
Anton-4
d8cd7662ef
compiler overview img (#7800)
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-05-19 19:01:31 +02:00
Anton-4
643638443f
glossary: box (#7798)
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-05-19 13:30:51 +02:00
Richard Feldman
d07854891f
Make some other structs extern 2025-05-18 21:37:46 -04:00
Richard Feldman
1448adb5ab
fix typo 2025-05-18 21:35:19 -04:00
Richard Feldman
b23175231d
Make RocRealloc extern
Co-authored-by: Andrew Kelley <andrew@ziglang.org>
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2025-05-18 21:34:22 -04:00
Richard Feldman
05c120ae77
Merge pull request #7796 from roc-lang/bhansconnect/push-kspyqnlkzoom
Stop caching the zig cache
2025-05-19 03:33:42 +02:00
Brendan Hansknecht
567618b20e
Stop caching the zig cache
This is bloating our cache storage and occasionally leads to CI failures.
Instead, just cache the zig executable, but rebuild roc from scratch.
2025-05-18 13:03:22 -07:00
Richard Feldman
609bac1e41
Rename ret to answer 2025-05-18 12:57:49 -04:00
Richard Feldman
abdbb99799
We don't know Ret at comptime 2025-05-18 12:55:34 -04:00
Richard Feldman
e5ffde41ce
Add HostFns 2025-05-18 12:12:34 -04:00
Richard Feldman
6cba47b93e
Use varargs for RocCall 2025-05-18 12:12:34 -04:00
Richard Feldman
b7489e774a
Add a comment about zig std 2025-05-18 12:12:33 -04:00
Richard Feldman
e528bbf14a
Update some doc comments 2025-05-18 12:12:33 -04:00
Richard Feldman
be5f68cb90
Revise doc comment
Co-authored-by: Brendan Hansknecht <Brendan.Hansknecht@gmail.com>
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2025-05-18 12:12:33 -04:00
Richard Feldman
324c028a62
Use comptime for RocCall and RocOps 2025-05-18 12:12:33 -04:00
Richard Feldman
6664b2ff40
fix typo 2025-05-18 12:12:33 -04:00
Richard Feldman
f53d97cd2d
Use explicit env pointer 2025-05-18 12:12:33 -04:00
Richard Feldman
47286b05ca
Add host_abi.zig 2025-05-18 12:12:33 -04:00
Anthony Bullard
dd2c98d307
Merge pull request #7794 from gamebox/finish-parse-sexprs 2025-05-18 10:42:31 -05:00
Anthony Bullard
bb9e372976
Add region to binop SExpr 2025-05-18 09:28:03 -05:00
Anthony Bullard
9516035422
Put type anno return value last in SExpr 2025-05-18 09:26:52 -05:00
Anthony Bullard
3d66f2828d
Improve type_decl header SExpr node 2025-05-18 09:17:51 -05:00
Anthony Bullard
79345000b6
Finish tag union SExpr node 2025-05-18 09:14:22 -05:00
Anthony Bullard
9e61261f6f
Add region node to pattern record field SExpr nodes 2025-05-18 09:07:23 -05:00
Anthony Bullard
ee2a055a8d
Unary SExpr node 2025-05-18 08:58:18 -05:00
Anthony Bullard
69a8648754
Add region to File SExpr node 2025-05-18 08:55:57 -05:00
Anthony Bullard
bae705a17c
File SExpr statements in a node 2025-05-18 08:54:49 -05:00
Anthony Bullard
c9795890b5
Add region to block SExpr node 2025-05-18 08:52:39 -05:00
Anthony Bullard
7fb647faa2
Hosted header SExpr 2025-05-18 08:49:41 -05:00
Anthony Bullard
51340496c5
Platform Header SExpr 2025-05-18 06:56:39 -05:00
Anthony Bullard
94eb71e999
Package Header SExpr 2025-05-18 06:41:03 -05:00
Anthony Bullard
d40fdb793d
App Header SExpr 2025-05-18 06:34:54 -05:00
Brendan Hansknecht
e8ee97694d
Merge pull request #7793 from roc-lang/bhansconnect/push-ltlytlqrmnmx
Deal with bad offset for identifier
2025-05-18 10:34:01 +00:00
Brendan Hansknecht
12423fd0bf
fix token tracking and formating for ty and mod_ty 2025-05-17 21:25:32 -07:00
Brendan Hansknecht
4f9fc42b9f
Deal with bad offset for identifier
Advance can advance more than one position.
It will skip newlines.
As such, we need to get the correct offset here.
2025-05-17 12:52:48 -07:00
Anthony Bullard
2394d550e2
Merge pull request #7792 from gamebox/remove_parse_panics_and_unreachables
fix: Remove parse panics and unreachables
2025-05-17 13:52:16 -05:00
Anthony Bullard
92f954cc81
fix: Remove parse panics and unreachables 2025-05-17 13:46:04 -05:00
Anton-4
3d4ab7eb36
Fix unsupported content disposition + http 500 flake (#7791)
* Fix unsupported content disposition flake

* add retry flaky script
2025-05-17 19:08:57 +02:00
Anton-4
9c3bb3690f
allow re-exports without comments (#7790) 2025-05-17 15:24:33 +02:00
Brendan Hansknecht
520ad12127
update, format, and pin verions for ci_zig (also fixes caching) (#7788)
update, format, and pin verions for ci_zig (also fixes caching
2025-05-17 12:35:06 +02:00
Anton-4
e0cefe4d41
add licenses subcommand (#7787)
* added licenses subcommand

* fmt

* fix nix legal_details inclusion

* zig fmt

* fix tests
2025-05-17 10:30:41 +02:00
Anton-4
582b411dc4
glossary: type variables (#7789)
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-05-16 20:15:20 +02:00
Anthony Bullard
70e1890c65
Merge pull request #7786 from gamebox/fmt-uses-tab 2025-05-16 10:20:01 -05:00
Anthony Bullard
15ec65e54b
Please the linter better 2025-05-16 05:06:29 -05:00
Anthony Bullard
3684297716
Please the linter 2025-05-16 05:01:08 -05:00