Folkert
|
f4b14b0b1b
|
remove todo
|
2021-01-14 23:48:19 +01:00 |
|
Sébastien Besnier
|
fdc2b6ad86
|
add bitwise xor
|
2021-01-14 16:12:46 +01:00 |
|
Chadtech
|
64d69b9ec4
|
Hash Low Level
|
2021-01-13 21:24:16 -05:00 |
|
Chadtech
|
cddd64f1c9
|
Get rid of old Dict implementation, use Zig wyhash, and WIP for testing Roc use of zig wyhash
|
2021-01-12 00:59:40 -05:00 |
|
Folkert
|
b7e044771e
|
clippy
|
2021-01-11 17:16:40 +01:00 |
|
Folkert
|
28e83f719d
|
add assert
|
2021-01-10 21:52:13 +01:00 |
|
Folkert
|
165672330d
|
cast read pointer to recursive field
|
2021-01-10 21:43:33 +01:00 |
|
Folkert
|
3cbac76be8
|
panic on invalid non-recursive tag union
|
2021-01-10 01:51:55 +01:00 |
|
Folkert
|
47128414d4
|
don't doubly allocate
|
2021-01-09 20:19:00 +01:00 |
|
Folkert
|
63fd71ba6e
|
dereference pointer to field
|
2021-01-09 19:56:44 +01:00 |
|
rvcas
|
5e69378850
|
fix: access at index errors
|
2021-01-09 11:21:52 -05:00 |
|
rvcas
|
56ff1fe463
|
feat: recursive tag unions store head on heap not stack
|
2021-01-09 10:54:53 -05:00 |
|
Folkert
|
ecd03186dc
|
fix i128 bug
|
2021-01-07 20:55:31 +01:00 |
|
Folkert
|
e005dbde4c
|
rename Unreachable -> Rethrow
|
2021-01-07 20:19:12 +01:00 |
|
Richard Feldman
|
ba9448619a
|
Merge branch 'trunk' into list-eq
|
2021-01-04 22:53:14 -05:00 |
|
rvcas
|
74f76fc97b
|
fix: needs a third argument
|
2021-01-04 09:54:51 -05:00 |
|
rvcas
|
b34436e5cb
|
Merge branch 'trunk' into int_a_float_a
|
2021-01-04 09:53:45 -05:00 |
|
Richard Feldman
|
fb95c72127
|
Merge branch 'trunk' into list-eq
|
2021-01-04 08:44:30 -05:00 |
|
Richard Feldman
|
07c9c962e4
|
Merge pull request #864 from rtfeldman/str-eq
Equality on Str
|
2021-01-04 08:43:30 -05:00 |
|
Folkert
|
a7cf98df9b
|
add == and != for lists
|
2021-01-03 20:09:28 +01:00 |
|
Folkert
|
981a84ccee
|
List.keepIf must consume its list argument
|
2021-01-02 23:17:50 +01:00 |
|
Folkert
|
2db627519b
|
clippy
|
2021-01-02 00:58:18 +01:00 |
|
Folkert
|
6e0f57d7eb
|
make invoke work
|
2021-01-02 00:55:09 +01:00 |
|
Jared Ramirez
|
faa8f66b6c
|
Add gen support for Nat
|
2021-01-01 17:40:47 -06:00 |
|
Folkert
|
2a3bf72d60
|
fleshing out invoke
|
2021-01-01 21:16:18 +01:00 |
|
Folkert
|
d27c56eba8
|
basic implementation of invoke for llvm
|
2021-01-01 20:22:05 +01:00 |
|
Folkert
|
ca24f1cd38
|
fix llvm build
|
2021-01-01 16:28:35 +01:00 |
|
Folkert
|
6bc0cf33a5
|
add unreachable instruction to the mono IR
|
2021-01-01 02:26:56 +01:00 |
|
Folkert
|
754521c4c3
|
all the clippy fixes
|
2021-01-01 00:40:41 +01:00 |
|
Folkert
|
728298d15a
|
automatic clippy fixes
|
2021-01-01 00:05:45 +01:00 |
|
Folkert
|
5859568d92
|
remove Cond
|
2020-12-31 20:58:30 +01:00 |
|
Jared Ramirez
|
791a0e9404
|
Use precision in mono/ir to determine which number to generate
|
2020-12-29 09:33:55 -06:00 |
|
Jared Ramirez
|
5e332cbad9
|
[WIP] F32 gen
|
2020-12-28 14:50:01 -06:00 |
|
Jared Ramirez
|
9b1769b3fb
|
Add basic tests for number gen
|
2020-12-28 14:50:01 -06:00 |
|
Folkert
|
5418dd8e76
|
clippy
|
2020-12-26 00:52:37 +01:00 |
|
Folkert
|
125146aac7
|
Merge remote-tracking branch 'origin/trunk' into bughunt
|
2020-12-26 00:51:22 +01:00 |
|
Folkert
|
59d6cdba04
|
make Num.neg raise on overflow
|
2020-12-26 00:50:09 +01:00 |
|
Folkert
|
51cf54e367
|
raise exception on Num.abs overflow
|
2020-12-25 21:26:29 +01:00 |
|
Celso Bonutti Filho
|
f3bd5368f0
|
feat: adds Num.mulWrap and Num.mulChecked
|
2020-12-23 13:42:18 -03:00 |
|
Celso Bonutti Filho
|
cfbc4d1c54
|
feat: throws exception on multiplication overflow
|
2020-12-23 10:17:16 -03:00 |
|
Celso Bonutti Filho
|
fe588c120c
|
adds Num.subChecked
|
2020-12-22 23:27:16 -03:00 |
|
Celso Bonutti Filho
|
5d2abc2bd2
|
throws subtraction overflow error for floats
|
2020-12-22 23:26:50 -03:00 |
|
Celso Bonutti Filho
|
176cdd0274
|
adds Num.subWrap
|
2020-12-22 22:17:45 -03:00 |
|
Celso Bonutti Filho
|
c6b258c50c
|
throws error when Num.sub overflows
|
2020-12-22 22:17:18 -03:00 |
|
Celso Bonutti Filho
|
0a24f3b4b4
|
adds Num.bitwiseAnd
|
2020-12-20 19:55:10 -03:00 |
|
Folkert
|
434c6504df
|
increment result of List.get
|
2020-12-14 21:30:55 +01:00 |
|
Folkert
|
a5e93cc21b
|
pass arguments (e.g. Msg, Model) by-reference, so the host does not need to know their size
|
2020-12-13 22:08:12 +01:00 |
|
Folkert
|
a67a750fdc
|
make the example loop a couple of times
|
2020-12-13 20:05:00 +01:00 |
|
Folkert
|
f00bd9ba01
|
fix refcount bug
closures were not incremented, but were decremented. This lead to memory corruption
|
2020-12-13 19:57:51 +01:00 |
|
Folkert
|
30e3f3bd25
|
clarify len to be the number of list elements
|
2020-12-13 19:49:49 +01:00 |
|