Anton-4
20c39a006f
Link to thesis ( #7847 )
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-06-20 17:22:24 +02:00
Lars Frogner
560171c238
Add Num.[f32,f64,dec]_[to,from]_bits
builtins and deprecate Num.[f32,f64]_[to,from]_parts
( #7741 )
...
* Add `Num.[f32,f64,dec]_[to,from]_bits` builtins
* Update mono tests
* Deprecate `Num.[f32,f64]_[to,from]_parts`
2025-04-18 10:10:45 +02:00
J Teeuwissen
4579d61eb4
Fixed drop specialization for join point bodies
2025-01-28 17:26:24 +01:00
Sam Mohr
cf1cfefadb
Merge pull request #7543 from HajagosNorbert/ascii
...
add with_ascii_uppercased and caseless_ascii_equals to Str
2025-01-24 10:58:22 -08:00
Anton-4
60fcb6089d
link to issue
2025-01-24 15:27:34 +01:00
Norbert Hajagos
fc0a9ec4cf
add with_ascii_uppercased and caseless_ascii_equals to Str
2025-01-23 15:21:11 +01:00
shua
6c29d7aa1f
Merge branch 'main' into fromutf-roc
2025-01-20 19:16:38 +01:00
shua
98fbc4f1fb
rm dbg!'s
2025-01-20 19:08:21 +01:00
Norbert Hajagos
8403f1ea19
with_ascii_lowercased zig builtin
2025-01-20 10:58:41 +01:00
shua
ec9d4fa58b
mv dbg to check proc key hashes
2025-01-19 00:27:06 +01:00
Anton-4
b2e3adf508
proc sort fix #7531 #7514 #7496
2025-01-18 23:15:18 +01:00
shua
922fe7ecd8
add back linux mono and dbg statement
2025-01-18 01:54:31 +01:00
Sam Mohr
a292e070d4
Prefer and
and or
for boolean operators
2025-01-17 16:15:31 -08:00
shua
414fecd14d
add fromUtf16 and 32, as well as lossy variants
2025-01-15 00:17:09 +01:00
Ian McLerran
5774095300
Fix grammatical error in borrower error message
2025-01-13 12:05:41 -06:00
Luke Boswell
37cd04c002
Merge branch 'main' into simplify-refcount
2025-01-09 10:18:00 +11:00
Sam Mohr
b56fbd38e1
Progress on updating entire compiler for snake_case
2025-01-05 03:48:03 -08:00
Brendan Hansknecht
4b8693537a
Simplify Refcounting
...
Instead of -max_size to -1 for regular refcounts, use 1 to max_size.
0 still means constant refcount.
The highest bit is used to signify atomic refcounting required.
This does not turn on any sort of atomic refcounting.
2025-01-01 11:00:18 -08:00
J.Teeuwissen
14a338e15b
fixed drop specialization assert for unreachable switch branches on unions
2024-12-16 14:38:36 -08:00
Sam Mohr
01f4d4f3da
Merge branch 'main' into cleanup_unused
2024-12-08 10:14:47 -08:00
Sam Mohr
de626102c8
Use new try impl for ? operator
2024-12-05 02:13:13 -08:00
JRI98
90f517712a
Remove unused code
2024-12-05 09:18:52 +00:00
Sam Mohr
eedade8e81
Initial working version of proper try
keyword
2024-12-04 02:31:59 -08:00
JRI98
75f13d3f2e
Remove unused RuntimeErrorFunction variant from roc_mono::ir::Expr
2024-11-28 20:11:56 +00:00
JRI98
dcb6c543c0
Remove unused TypedHole variant from roc_can::expr::Expr
2024-11-28 20:11:37 +00:00
Joshua Warner
9ead801536
Remove expect-fx syntax and handling
...
This was never fully hooked up in platforms, and the plan is to replace the need for this with doing purity-inference on normal `expect` statements.
On the other hand, fuzzing is finding some bugs caused by having a hyphenated keyword, so this is a great time to go ahead and remove it!
2024-11-17 20:25:37 -08:00
Isaac Van Doren
d99c347998
rename Str.split
2024-11-15 21:12:23 -06:00
Luke Boswell
8a566dc339
WIP
2024-11-11 10:22:58 +11:00
Luke Boswell
c00db6da37
Merge remote-tracking branch 'remote/main' into rebuild-platform
2024-11-04 13:57:51 +11:00
Sam Mohr
39687fdb97
Merge branch 'main' into return-keyword
2024-10-26 06:50:16 -07:00
Ayaz
e1183e58e5
Merge pull request #7179 from JRI98/unused_emptytuple
...
Remove unused EmptyTuple variant from FlatType enum
2024-10-25 09:19:57 -04:00
Sam Mohr
294f0c0d1f
Merge branch 'main' into return-keyword
2024-10-24 23:01:10 -07:00
Luke Boswell
06996d88f2
Merge pull request #7178 from JRI98/fix_6240
...
Fix #6240
2024-10-24 13:29:47 +11:00
Luke Boswell
926014518f
Merge remote-tracking branch 'remote/main' into rebuild-platform
2024-10-24 10:21:08 +11:00
JRI98
edd0bb553d
Remove unused EmptyTuple variant from FlatType enum
2024-10-22 16:29:53 +01:00
JRI98
511308d4d3
Fix #6240
2024-10-22 12:04:48 +01:00
Richard Feldman
44d00e1f13
Updates for making soa
no_std
2024-10-21 22:10:43 -04:00
Sam Mohr
b3e60f9d3a
Implement return keyword
2024-10-20 08:58:59 -07:00
Anton-4
3bad18dc92
refactoring progress, use valgrind on exe
2024-10-09 20:04:36 +02:00
Brendan Hansknecht
5b8b781bad
remove single entrypoint
2024-10-07 21:16:30 -07:00
Brendan Hansknecht
a9d1327dd1
Enable multiple functions exposed to the host
2024-10-07 21:16:30 -07:00
Anton-4
63d95a2aba
fix tip 2 formatting
...
Forgot a `\` here.
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-09-26 14:20:26 +02:00
Luke Boswell
49dedf0b7b
Merge branch 'main' into ayaz/optimize-list-literal-alloc
2024-09-17 19:44:02 +10:00
Anton-4
3c679f6338
Merge branch 'main' into lower-module-params
2024-08-30 16:29:46 +02:00
Agus Zubiaga
287a8fa2e7
Merge branch 'main' into lower-module-params
2024-08-28 08:50:40 -03:00
Anton-4
ed01e521f0
add roc check tip
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-08-27 20:29:12 +02:00
Brendan Hansknecht
7997cf95e7
ensure alignment is never 0. Must be at least 1.
2024-08-25 11:48:46 -07:00
Agus Zubiaga
519ff56a85
Create can::module::ModuleParams for convenience
2024-08-17 13:10:37 -03:00
Agus Zubiaga
e80e3e5b2d
Convert top-level value def to fn taking params
2024-08-17 11:21:21 -03:00
Ayaz Hafiz
9abbcfaafc
Optimize literal list construction in LLVM backend
...
Currently, list literals are always heap-allocated and their elements
are stored by emitting a GEP and store for each item in the literal.
This produces huge quantities of IR, causing compile times for e.g.
programs with large literals or ingested files to blow up.
Instead, if a list literal consists entirely of literal values, create a
global section for the literal and return a pointer to it.
2024-08-09 18:51:17 -07:00