Commit Graph

5362 Commits

Author SHA1 Message Date
Luke Boswell
ac07ddcbaf
add highlighting for other languages 2023-04-10 13:21:24 +10:00
Brendan Hansknecht
a282995fa8
Merge pull request #5114 from Aurelius333/more-dev-aarch64-instructions
Add more gen_dev aarch64 instructions
2023-04-09 21:23:04 +00:00
Richard Feldman
1059c81d33
Merge pull request #5267 from Ocupe/json-example-qualified-imports
use qualified imports for json example
2023-04-09 14:37:20 -04:00
Ajai Nelson
be3cf0abd3
Add comments in aarch64 branch functions 2023-04-09 14:33:43 -04:00
Ajai Nelson
c71d7bb648
Simplify aarch64 mov_reg64_reg64 by delegating to orr_reg64_reg64_reg64 2023-04-09 14:11:59 -04:00
Ajai Nelson
ca0ef8f88f
Add structs to make new method parameters more readable in aarch64 2023-04-09 14:07:25 -04:00
Folkert de Vries
6b72139cda
Merge pull request #5268 from roc-lang/towards-dev-glue
More dev backend tag union fixes
2023-04-09 19:34:57 +02:00
Ajai Nelson
260c080d41
Fix clippy warnings 2023-04-09 13:02:27 -04:00
Ajai Nelson
5f831b6f50
Add aarch64 signed_compare_reg64 and unsigned_compare_reg64 2023-04-09 13:02:19 -04:00
Ajai Nelson
f9e31b828b
Merge branch 'main' into more-dev-aarch64-instructions
Fix merge conflict with fdffcc8b36:
- Add unused _register_width arguments
- Delete comparison functions,
  add empty signed_compare_reg64 and unsigned_compare_reg64 functions
2023-04-09 13:01:51 -04:00
Folkert
649b2775b2
enable more gen_tags tests 2023-04-09 18:27:40 +02:00
Folkert
d4bb5053b8
make function names unique by adding layout hash 2023-04-09 18:18:39 +02:00
Jonas Schell
399543a730 use qualified imports for json example 2023-04-09 17:38:21 +02:00
Folkert
c36a82d134
fix return type/CC issue 2023-04-09 16:52:53 +02:00
Folkert
9f8fb61281
fix assert 2023-04-09 16:49:19 +02:00
Folkert
cd95920d60
implement passing of non-recursive tag unions to functions 2023-04-09 15:15:56 +02:00
Folkert
679337e4c4
fix alignment issue in union creation 2023-04-09 15:13:24 +02:00
Folkert
2a4c4f0403
enable more tag dev tests 2023-04-09 14:46:53 +02:00
Folkert
079dd4c51e
ensure literal loading happens independently in branches 2023-04-09 14:41:16 +02:00
Brendan Hansknecht
f79ef07012
Merge pull request #5263 from yukiomoto/fix-dec-div
Fix dec division problem
2023-04-09 04:00:31 +00:00
Yuki Omoto
7ef166a11f
remove wrong subtraction in dec div 2023-04-09 11:34:24 +09:00
Folkert de Vries
45769b9044
Merge pull request #5262 from roc-lang/dev-backend-tags
dev backend: make more gen_tags tests pass
2023-04-08 21:17:58 +02:00
Yuki Omoto
f57085da05
refactor dec div 2023-04-09 03:52:17 +09:00
Folkert
67281b2712
handle lambda set when passed as a function argument 2023-04-08 20:14:15 +02:00
Folkert
fdffcc8b36
handle all comparison widths 2023-04-08 19:17:11 +02:00
Yuki Omoto
219e72ff20
Fix dec division problem
Fixed dec division that envolves a number that has a hi word greater than
0 when converted into `U256` like `341dec / 341`.

This commit resolves #5259
2023-04-09 00:00:06 +09:00
Folkert
9dd69f6f9c
Revert "WIP fix for zig functions returning Bool (strEqual)"
This reverts commit 09b01893c6.
2023-04-08 16:56:25 +02:00
Folkert
09b01893c6
WIP fix for zig functions returning Bool (strEqual) 2023-04-08 16:11:04 +02:00
Folkert
b54912b79b
handle lambda set in a couple more cases 2023-04-08 16:10:38 +02:00
Folkert
751e7fbf1e
enable more tag dev tests 2023-04-08 14:12:37 +02:00
Ayaz
e5d13bfc22
Merge pull request #5260 from roc-lang/subs-occur-cache
Do not revisit variables in an occurs check
2023-04-08 07:12:03 -05:00
Folkert
45ac4cd46e
enable more tag dev tests 2023-04-08 13:35:04 +02:00
Folkert
ab2cc76717
special-case true/false loading 2023-04-08 13:30:35 +02:00
Folkert
b982d1a442
enable more tag dev tests 2023-04-08 13:17:23 +02:00
Folkert
a7aa9530b6
load literal symbols when inserting a jump 2023-04-08 13:15:22 +02:00
Folkert
aa54033dd2
enable more tag dev tests 2023-04-08 13:02:24 +02:00
Folkert
1947bbcd0e
encode Bool.true/Bool.false more intelligently 2023-04-08 12:57:52 +02:00
Ayaz Hafiz
4d789cd0c6
Get content unchecked in occurs check 2023-04-07 20:24:04 -05:00
Ayaz Hafiz
e6be13052b
Correct order of cached occurs check 2023-04-07 20:19:58 -05:00
Ajai Nelson
d30fdb9a8f
Add aarch64 instruction doc comments 2023-04-07 01:00:42 -04:00
Ayaz Hafiz
a816f8bc83
Do not revisit variables in an occurs check
Turns out this mark cache check is unreasonably effective, even if it
is naive.
2023-04-06 14:42:31 -05:00
Folkert de Vries
3b28e897c3
Merge pull request #5257 from roc-lang/glue-recursive-tag-unions
Glue recursive tag unions
2023-04-06 18:53:41 +02:00
Folkert
f63460eb69
remove some UB 2023-04-06 16:10:31 +02:00
Folkert
92c2931678
make all glue tests run! 2023-04-05 23:19:17 +02:00
Folkert
84d61a0a64
implement enough of non-nullable unwrapped 2023-04-05 17:23:51 +02:00
Folkert
3151a08edb
full implementation for nullable unwrapped 2023-04-05 15:02:53 +02:00
Richard Feldman
d7528c528b
Merge pull request #5249 from roc-lang/glue-return-function
return record containing function
2023-04-05 08:11:29 -04:00
Richard Feldman
4b72d47c93
Merge pull request #5248 from roc-lang/glue-result-option
glue + tests for result and option
2023-04-04 19:18:46 -04:00
Folkert
64f96c4182
formatting 2023-04-04 20:27:20 +02:00
Folkert
dc7f1c32c8
remove crash from canDerivePartialEq 2023-04-04 20:26:47 +02:00