Commit graph

22 commits

Author SHA1 Message Date
Richard Feldman
3156742e67
Add more refcounting tests 2025-11-19 13:46:18 -05:00
Richard Feldman
a33cc0ef23
Fix refcounting bug 2025-11-19 12:30:21 -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
Anton-4
5decd64a56
add forgotten tests + fixes (#8369)
* add forgotten tests + fixes

* fmt
2025-11-10 15:23:28 +01:00
Richard Feldman
4ecd774ccd
Add a bunch of tests 2025-11-06 14:25:25 -05:00
Richard Feldman
f2a83c9ceb
Evaluate standalone annotations (as crashes) 2025-10-27 21:09:54 -04:00
Richard Feldman
0228bf8822
Centralize some logic 2025-10-23 16:08:26 -04:00
Richard Feldman
b61e2128b9
Use real builtin types in more places 2025-10-19 13:50:27 -04:00
Richard Feldman
74e7313237
Add more comptime eval 2025-10-17 14:48:24 -04:00
Richard Feldman
b568a56f86
Add comptime evaluation of constants 2025-10-17 13:23:44 -04:00
Richard Feldman
b69f3f4447
Delegate crash handling to host CrashContext 2025-09-29 07:38:31 -04:00
Richard Feldman
45d329b6a6
Fix lints 2025-09-26 23:23:05 -04:00
Richard Feldman
2d42f57fdf
Make errors more explicit 2025-09-26 21:20:08 -04:00
Richard Feldman
73d9885e0b
Convert everything over to use new interpreter 2025-09-26 20:54:43 -04:00
Richard Feldman
0320d798bd
Interpreter2: closures w/o captures; support calling closure values; add polymorphism tests using Zig multiline strings (Milestone 1). 2025-09-24 12:34:11 -04:00
Richard Feldman
4d18bc526b
tests(eval/interpreter2): add Roc-syntax style test for (|x| x)("Hello") beginning/ending with Roc code; use Interpreter for value check and Interpreter2 for runtime call prep; integrate unifier into prepareCallWithFuncVar 2025-09-24 11:20:24 -04:00
Richard Feldman
1d069c0fdf
eval: add Interpreter2 skeleton with O(1) Var→Layout cache and passing tests; wire into eval module; add FINAL_INTERPRETER_DESIGN.md 2025-09-24 09:41:40 -04:00
Fabian Schmalzried
29ee0514c5
Create test runner 2025-09-12 01:27:24 +02:00
Luke Boswell
478f282d12
refactor, repl, eval and fmt into modules 2025-08-12 17:03:32 +10:00
Luke Boswell
5148beee66
WIP - restoring eval tests, upgrade to module 2025-08-12 16:36:32 +10:00
Luke Boswell
4de2be8314
zig lints 2025-08-12 15:05:13 +10:00
Luke Boswell
02a38a17d0
WIP 2025-08-10 15:37:14 +10:00