Commit graph

4369 commits

Author SHA1 Message Date
Anton-4
f6b76f2df5
Num.exp is Num.pow now
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-05-31 15:28:31 +02:00
Anton-4
0c50ee0458
Merge pull request #5485 from roc-lang/manual-compiler-rt
Add all fns in compiler-rt that builtins are known to depend on
2023-05-31 10:59:09 +02:00
Brendan Hansknecht
e7906b30a9
add other compiler-rt functions in builtins.o 2023-05-30 14:38:10 -07:00
Brendan Hansknecht
fe4577ce4c
fix typo 2023-05-30 09:38:30 -07:00
Brendan Hansknecht
81e8812f38
Add all fns in compiler-rt that builtins are known to depend on
Also removes the workaround in the surigical linker.
This should mean we should get clear errors if we missed a function instead of crashes/segfaults.
2023-05-30 09:21:59 -07:00
Ayaz
be077ed046
Merge pull request #5130 from roc-lang/big-compiler-doc
Compiler design overview doc
2023-05-30 10:40:15 -05:00
J.Teeuwissen
162e6bbb90
manual default 2023-05-30 11:01:13 +02:00
J.Teeuwissen
f0addf5300
feedback 2023-05-30 10:55:38 +02:00
J.Teeuwissen
93ea086115
Merge branch 'main' into record-update-index-top 2023-05-30 10:47:19 +02:00
Kilian Vounckx
d43a78d000
Add update to symbols table and auto generate test_mono 2023-05-30 09:07:15 +02:00
KilianVounckx
c22a9ef8b5
Merge branch 'roc-lang:main' into list-update 2023-05-30 08:54:26 +02:00
Folkert de Vries
ef05ec6906
Merge pull request #5452 from JTeeuwissen/save-construction-children
Add construction (Struct/TagId/List/Box) to known parent/child relations
2023-05-29 22:21:44 +02:00
Brendan Hansknecht
fa57788c09
Merge pull request #5460 from roc-lang/dict-tuple
switch Dict to real tuples
2023-05-29 15:00:38 +00:00
J.Teeuwissen
9f23c3d26a
Feedback 2023-05-29 16:38:34 +02:00
J.Teeuwissen
b7a7a735fc
keep inc env always, but set count to 0. 2023-05-29 12:09:18 +02:00
J.Teeuwissen
079290dcaf
Keep 0 in counting map 2023-05-29 10:54:09 +02:00
KilianVounckx
9cc2caa08d
Merge branch 'roc-lang:main' into list-update 2023-05-29 10:20:19 +02:00
Kilian Vounckx
8371c060a0
Expose update function 2023-05-29 10:14:01 +02:00
J.Teeuwissen
e29af85dcf
Fixed tests 2023-05-29 08:39:59 +02:00
J.Teeuwissen
c3e1e600a6
Merge branch 'main' into save-construction-children 2023-05-29 08:02:34 +02:00
Brendan Hansknecht
0e28423aea
fix segfault in Num.toStr for Dec 2023-05-28 20:37:32 -07:00
Brendan Hansknecht
6149e721f6
fix main by adding missing match branches 2023-05-28 20:29:10 -07:00
J.Teeuwissen
dbebaf17a6
using CountingMap for children 2023-05-28 23:10:24 +02:00
J.Teeuwissen
8f022d4310
fixed specialisation box 2023-05-28 21:18:28 +02:00
Kilian Vounckx
8dee7aeab3
Add List update function with tests and documentation 2023-05-28 20:36:27 +02:00
J.Teeuwissen
ffc19ec2a2
missing arm 2023-05-28 20:21:10 +02:00
J.Teeuwissen
d988ab5378
newlines 2023-05-28 20:09:43 +02:00
J.Teeuwissen
6e6e1ce833
Merge remote-tracking branch 'origin/main' into save-construction-children 2023-05-28 20:08:22 +02:00
Folkert de Vries
cf20c74eb9
Merge pull request #5436 from JTeeuwissen/drop-specialize-over-matches
allow lowlevel and match
2023-05-28 19:59:14 +02:00
J.Teeuwissen
576558b9d0
update test 2023-05-28 09:44:27 +02:00
J.Teeuwissen
c6e7d56fb6
For single update 2023-05-27 21:29:32 +02:00
J.Teeuwissen
452bafc616
possible_reuse_symbol_or_specialize 2023-05-27 19:34:01 +02:00
J.Teeuwissen
16da790fac
Order by index + clippy 2023-05-27 14:52:25 +02:00
J.Teeuwissen
378a298b45
move record index to start of update 2023-05-27 14:42:37 +02:00
Brendan Hansknecht
9eb7019e73
update mono and uitests 2023-05-26 15:44:31 -07:00
Brendan Hansknecht
e8952dfc71
switch Dict to real tuples 2023-05-26 15:39:42 -07:00
Ayaz
62cdceabd6
Merge pull request #5457 from roc-lang/tuple-aliases
Add test for tuple annotations
2023-05-26 17:28:56 -05:00
Ayaz Hafiz
52a719bc18
Add test for tuple annotations
Closes #5447
2023-05-26 12:14:41 -05:00
Ayaz Hafiz
5c43c0c91b
Gen test for hash Dec 2023-05-26 11:38:30 -05:00
Ayaz Hafiz
3585d5bb5b
Implement hash for Dec 2023-05-26 11:38:30 -05:00
Brendan Hansknecht
0b475ae979
Merge pull request #5445 from roc-lang/dict-pseudo-seed
Seed Dict and Set
2023-05-26 16:19:15 +00:00
Brendan Hansknecht
90636d14c8
add extra note on security 2023-05-26 07:31:35 -07:00
J.Teeuwissen
b0705a00ad
saved info and added test 2023-05-26 15:56:18 +02:00
Fábio Beirão
35820414c1
Add Types header on the List module 2023-05-26 14:01:02 +02:00
Fábio Beirão
7d84334822
Further "returns" consistency on the Num module 2023-05-26 13:57:18 +02:00
Fábio Beirão
028f28c731
Fix denominator typo 2023-05-26 13:44:59 +02:00
Fábio Beirão
9f6d8d02f7
Return/Returns Add/Adds .. consistency for the Num module 2023-05-26 13:44:30 +02:00
Fábio Beirão
00ee063095
Return/Returns consistency for the Num module 2023-05-26 13:38:34 +02:00
Fábio Beirão
ad6bd540a7
Remove redundant can
Better readability, IMO.
2023-05-26 13:38:33 +02:00
Fábio Beirão
658491fe52
Fix typo, these savings instead of this savings 2023-05-26 13:38:33 +02:00