Commit graph

1343 commits

Author SHA1 Message Date
Folkert
ada331567a respect int/float precision in pattern matchs 2021-09-18 22:55:34 +02:00
Folkert
77911cb68a store closure data for bool/byte again 2021-09-18 01:01:38 +02:00
Folkert
7416cc4e81 don't pass closure argument if not expected 2021-09-17 22:51:51 +02:00
Folkert
c68689a52b drop closure argument if the function does not use it 2021-09-17 22:43:09 +02:00
Folkert
02ffcc2096 Merge remote-tracking branch 'origin/trunk' into mix-function-closure 2021-09-17 20:45:15 +02:00
Folkert
e97df90bda don't wrap in LambdaSet 2021-09-15 23:26:13 +02:00
Folkert
7fe652ab19 add Development optimization option 2021-09-15 20:05:39 +02:00
Folkert
58ee7f0bfc fix argument order bug for mapWithIndex 2021-09-14 22:20:35 +02:00
Richard Feldman
f619932255
Merge pull request #1699 from rtfeldman/effect-after
Fix closures only monomorphizing once
2021-09-13 19:50:50 -04:00
Folkert
52d36cbe72 fix closure weirdness (skipping or infinite looping) 2021-09-13 22:50:48 +02:00
Folkert
350891468a add LambdaSet layout variant 2021-09-12 17:00:09 +02:00
Folkert
0b893eb972 remove alignment bump again 2021-09-12 14:01:41 +02:00
Folkert de Vries
575aaa1f0b
Merge pull request #1682 from rtfeldman/gen_wasm_join
joinpoints for the wasm backend
2021-09-10 16:23:34 +02:00
Folkert
daf0a0e02b Merge remote-tracking branch 'origin/trunk' into gen_wasm_join 2021-09-10 13:16:46 +02:00
Folkert de Vries
001e94a071
Merge branch 'trunk' into single-record-update 2021-09-09 12:12:41 +02:00
Folkert
fe83de39fb don't do aliasing in join points any more 2021-09-08 19:55:30 +02:00
Folkert
bdd07b0968 special-case properly 2021-09-08 13:10:44 +02:00
Folkert
0d1cc3844e don't special-case a single element record any more in updates 2021-09-08 12:59:38 +02:00
Folkert
0865826364 Merge remote-tracking branch 'origin/trunk' into wasm-base64 2021-09-06 22:17:52 +02:00
Folkert
b97c2d5d84 store literals in lists directly 2021-09-05 21:23:08 +02:00
Folkert
8e7aef314a add ListLiteralElement 2021-09-05 21:23:08 +02:00
Folkert
9713645806 only round up to 2*usize on 32-bit platforms 2021-09-04 16:00:22 +02:00
Folkert
1d17a21d1f higher alignment requirement on rocstr/roclist 2021-09-04 15:18:37 +02:00
Folkert
97577c92cf layout add allocation_alignment_bytes 2021-09-04 00:03:10 +02:00
Folkert
c6163a73f6 use environment size of pointer 2021-08-27 12:25:21 +02:00
Richard Feldman
18231876be
Drop comment 2021-08-26 21:39:46 -04:00
Richard Feldman
ffeaa1ac08
Merge branch 'trunk' into store-dec-as-str 2021-08-26 21:24:56 -04:00
Folkert
e95cf7dd5f use non-hardcoded alignment 2021-08-26 22:58:24 +02:00
Folkert
a070a7fcc7 add ptr_bytes to layout env 2021-08-26 22:12:44 +02:00
Folkert
af1051ef89 add ptr_bytes to the layout cache 2021-08-26 22:06:47 +02:00
Jared Ramirez
4b2a63fb30 Merge branch 'trunk' of https://github.com/rtfeldman/roc into store-dec-as-str 2021-08-26 11:23:17 -07:00
Jared Ramirez
8594f2efbe Change how decimals are stored in mono 2021-08-26 11:18:26 -07:00
Folkert
6a43be26d3 fix usize vs. u32/u64 conflict 2021-08-25 20:58:42 +02:00
Folkert
b6255748b3 emit an error message when a symbol is not defined
i.e. don't panic in this case
2021-08-22 21:58:07 +02:00
Folkert
ecba687243 Unify variables directly when possible
instead of going through a solved type
2021-08-22 16:30:06 +02:00
Richard Feldman
1348ec433b
Merge pull request #1605 from rtfeldman/drop-libcxx
Clean up some libc++ and libunwind deps
2021-08-20 23:37:10 -04:00
Richard Feldman
349b799d00
Merge pull request #1610 from rtfeldman/captured-symbols-layout-error
Captured symbols layout error
2021-08-20 23:22:54 -04:00
Richard Feldman
d15f7480dc
Merge pull request #1609 from rtfeldman/type-error-does-not-generate-function
Type error does not generate function
2021-08-20 23:17:14 -04:00
Richard Feldman
a0fe80f202 Fix some unused args 2021-08-20 23:12:32 -04:00
Folkert
f35a20bc16 the test 2021-08-20 23:43:38 +02:00
Folkert
82a4b31c08 the fix 2021-08-20 23:41:54 +02:00
Folkert
807e00ca96 fix the issue 2021-08-20 22:42:29 +02:00
Folkert
194918fe4b remove Invoke 2021-08-20 19:32:55 +02:00
Folkert de Vries
86d46825aa
Merge branch 'trunk' into NumBytesTo 2021-08-20 11:32:20 +02:00
Richard Feldman
4c72aba4a7
Merge branch 'trunk' into store-dec-as-str 2021-08-19 23:06:04 -04:00
Joshua Hoeflich
b57ebb6229 Remove castToNat 2021-08-19 16:11:21 -05:00
Richard Feldman
f279485edf
Merge branch 'trunk' into roc_panic 2021-08-19 07:20:26 -04:00
Richard Feldman
0bebb64bae
Merge branch 'trunk' into NumBytesTo 2021-08-19 01:37:39 -04:00
Richard Feldman
ce9f85ecbc
Merge pull request #1601 from rtfeldman/panic-lookup-not-in-scope
Delay panicking on LookupNotInScope until the error is reported
2021-08-19 01:36:36 -04:00
Jared Ramirez
d69b9173fc Also store f64 for things like pattern comparisons, etc 2021-08-18 17:18:13 -07:00