Commit graph

27 commits

Author SHA1 Message Date
Sam Mohr
fce14d31b0
Move desugaring to new roc_can_solo crate 2025-01-19 07:16:43 -08:00
Sam Mohr
2150ee2219
Remove Task from Roc 2025-01-08 17:00:40 -08:00
Sam Mohr
cbcbfd3265
Remove backpassing 2025-01-01 17:44:56 -08:00
Joshua Warner
96c5dcb651
Relax indentation parsing inside parens, lists, and records 2024-12-15 18:33:54 -08:00
Agus Zubiaga
3948f485a0
Implement dbg for when mono exprs 2024-12-14 18:14:09 -03:00
Agus Zubiaga
30532bf565
Specialize when idents 2024-12-12 22:28:41 -03:00
Agus Zubiaga
4b28136143
Do not discard empty types in specialize_types
Currently, `to_mono_expr` returns `Nothing` when it encounters
an empty record and it discards fields that are empty.

For simplicity, we decided to do this at a later stage, so this changes
it to return a new `MonoExpr::Unit` type instead.
2024-12-11 12:13:11 -03:00
JRI98
90f517712a
Remove unused code 2024-12-05 09:18:52 +00:00
Luke Boswell
e43b78b354
update to workspace deps for miscellaneous 2024-11-29 11:37:39 +11:00
Luke Boswell
1d3660df89
replace cargo deps with workspace in roc_std_heap, test_compile, valgrind tests, wasi-libc, wasm_* 2024-11-29 11:07:43 +11:00
Agus Zubiaga
6ffc8a507b
Allow suffixed pure functions that are exposed to the host 2024-11-27 14:06:37 -03:00
Agus Zubiaga
568525ad7e
Allow panics in test_compile since it's only used in tests 2024-11-26 22:00:45 -03:00
Agus Zubiaga
4dd61e5c3c
Remove inaccurate comment 2024-11-25 19:50:02 -03:00
Agus Zubiaga
6e5f9eb510
Ignore whitespace-only lines in test_compile deindent 2024-11-25 19:46:19 -03:00
Agus Zubiaga
b781b966a2
Remove test_compile dep on test_solve_helpers 2024-11-25 19:11:22 -03:00
Agus Zubiaga
2974dcbc18
Fix warnings in specialize_types 2024-11-23 02:20:47 -03:00
Agus Zubiaga
2e96aca0fd
Merge branch 'main' into specialize-exprs 2024-11-23 01:48:51 -03:00
Richard Feldman
13efa083dd
Improve representation of record fields in mono 2024-11-18 21:36:39 -05:00
Richard Feldman
2e8ea853f7
Fix floating-point monomorphization 2024-11-17 00:00:33 -05:00
Richard Feldman
03370da6d6
Unwrap single-field records 2024-11-16 15:08:51 -05:00
Richard Feldman
8b73efc2ec
Test monomorphizing string literals 2024-11-08 21:07:29 -05:00
Richard Feldman
7b80489772
Fill out some more mono expr types 2024-11-08 19:20:33 -05:00
Richard Feldman
ed6ad1bc82
Get a failing specialize_expr test 2024-11-08 00:55:04 -05:00
Richard Feldman
2af00caa9c
Add help_constrain, help_solve, help_specialize 2024-11-01 21:16:45 -04:00
Richard Feldman
78ceb8cdbf
Fix help_can and help_parse 2024-11-01 21:15:35 -04:00
Richard Feldman
67bca80921
Add test_compile crate 2024-10-20 18:52:22 -04:00
Richard Feldman
98535bfbce
wip 2024-10-20 11:00:58 -04:00