Commit graph

134 commits

Author SHA1 Message Date
Richard Feldman
d608edd4a2
Delete a bunch of unused variables 2025-12-04 00:48:40 -05:00
Richard Feldman
f5094c6428
Fix tests, update snapshots 2025-12-03 23:02:46 -05:00
Richard Feldman
65afa956a0
Eliminate an AST traversal 2025-12-03 22:00:46 -05:00
Richard Feldman
0f88959630
Fix some spurious error reporting 2025-12-03 21:38:20 -05:00
Richard Feldman
c4b5fff357
Make inspect be used on nested types too 2025-12-02 07:25:57 -05:00
Richard Feldman
10c84e5862
Don't let-generalize number literals 2025-12-01 18:43:01 -05:00
Luke Boswell
a3d98f0954
various platform fixes 2025-11-29 12:12:10 +11:00
Richard Feldman
67e8ea2e3e
Render records in snapshots 2025-11-27 22:19:41 -05:00
Richard Feldman
c3f32d1823
Fix more interpreter stuff 2025-11-27 20:00:01 -05:00
Richard Feldman
9f3d0cf24d
Merge remote-tracking branch 'origin/main' into propagate_is_eq 2025-11-26 20:31:35 -05:00
Richard Feldman
933dcdef8c
Minor getIdentTextFromAnyStore hack 2025-11-26 18:48:24 -05:00
Richard Feldman
4b1b1f7b44
More fixes 2025-11-26 14:11:01 -05:00
Richard Feldman
e5e6ca55b8
Merge remote-tracking branch 'origin/main' into propagate_is_eq 2025-11-26 13:29:54 -05:00
Richard Feldman
78b015ee34
Use import mapping to display types 2025-11-26 10:26:05 -05:00
Richard Feldman
e2fb02d28d
Automatically delete cache on rebuild-builtins 2025-11-26 08:57:02 -05:00
Richard Feldman
914cec2d21
Avoid string stuff 2025-11-25 21:31:32 -05:00
Richard Feldman
124e5e2697
Fix repl 2025-11-24 13:29:04 -05:00
Richard Feldman
787d930e15
Merge origin/main 2025-11-24 12:02:31 -05:00
Richard Feldman
a7ff8c969c
Avoid string parsing hack in playground 2025-11-24 11:54:10 -05:00
Anton-4
a49a3a3fe0
fix Str.is_empty repl test (#8422)
* fix Str.is_empty repl

* retry on 503

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

---------

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-11-24 16:54:41 +01:00
Richard Feldman
36c6502d58
Improve eval error message output 2025-11-24 07:20:12 -05:00
Richard Feldman
48ff65f81b
Fix inference for == and != 2025-11-24 00:14:46 -05:00
Richard Feldman
a26b5ea217
from_nominal takes a Nominal 2025-11-23 01:22:01 -05:00
Richard Feldman
e5153d7624
Use static dispatch for arithmetic 2025-11-19 12:29:55 -05:00
Richard Feldman
129e1e1d28
Remove .str primitive type 2025-11-16 22:59:24 -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
2511cb8c7a
Revert "Fix repl"
This reverts commit 948929e048.
2025-11-02 21:41:24 -05:00
Richard Feldman
2a869b3cdd
Revert "Fix repl interpreting of builtins"
This reverts commit 92c9f7da1d.
2025-11-02 21:41:09 -05:00
Richard Feldman
dae4065f3f
Revert "Fix some repl tests"
This reverts commit 0c2cb84b79.
2025-11-02 21:40:59 -05:00
Richard Feldman
f33e8fdbac
Revert "wip"
This reverts commit d39e990c20.
2025-11-02 21:40:55 -05:00
Richard Feldman
d39e990c20
wip 2025-11-02 21:40:51 -05:00
Richard Feldman
0c2cb84b79
Fix some repl tests 2025-11-01 15:17:42 -04:00
Richard Feldman
92c9f7da1d
Fix repl interpreting of builtins 2025-11-01 12:36:51 -04:00
Richard Feldman
948929e048
Fix repl 2025-10-31 23:01:22 -04:00
Richard Feldman
5c52cfa754
Share eval code 2025-10-31 12:20:15 -04:00
Richard Feldman
a2290d3bf8
Try renaming Result to Try 2025-10-30 20:18:53 -04:00
Richard Feldman
4724e8501d
Remove a linear scan 2025-10-26 11:08:22 -04:00
Richard Feldman
fe5d447a89
Refactor out type_import_mapping from ModuleEnv 2025-10-26 10:16:13 -04:00
Richard Feldman
bc2523e0f7
zig fmt 2025-10-25 20:16:25 -04:00
Richard Feldman
260c76114d
Fix some external tags 2025-10-25 09:15:30 -04:00
Richard Feldman
7f7628a323
Respect imports in type pretty printing 2025-10-24 21:18:26 -04:00
Richard Feldman
7614a9f929
Disable a test for now 2025-10-24 21:03:22 -04:00
Richard Feldman
106bf6830a
Consolidate builtins into Builtin.roc 2025-10-24 19:12:04 -04:00
Richard Feldman
c367172446
Fix some memory leaks 2025-10-24 16:56:46 -04:00
Richard Feldman
de6f113184
Merge remote-tracking branch 'origin/main' into builtin-str2 2025-10-24 13:41:13 -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
9ca9de8299
Clean up some hash map logic 2025-10-23 23:38:11 -04:00
Richard Feldman
0228bf8822
Centralize some logic 2025-10-23 16:08:26 -04:00
Richard Feldman
5aafd27d26
Initial Str.roc implementation and wiring 2025-10-23 13:34:15 -04:00