Richard Feldman
08be131eef
Stop using List.getUnsafe in gen_builtins
2020-06-23 22:20:32 -04:00
Richard Feldman
750523ba5c
Fix List.single
2020-06-23 19:34:09 -04:00
Richard Feldman
30a95e90d1
Fix Num.toFloat
2020-06-23 19:31:50 -04:00
Richard Feldman
dd8dff0f9e
Fix some unary ops
2020-06-23 19:17:39 -04:00
Richard Feldman
3309270747
Fix trig ops
2020-06-23 18:21:07 -04:00
Richard Feldman
1c98248b91
Ops for sqrt and round
2020-06-23 18:05:30 -04:00
Richard Feldman
9f8c48118f
wip List.get
2020-06-22 23:30:11 -04:00
Richard Feldman
88990c8711
Move Int and Float modules into Num
2020-06-22 23:25:38 -04:00
Richard Feldman
8d92920731
Re-add Float128 and Float16
2020-06-21 22:29:28 -04:00
Richard Feldman
b97c94c2da
Fix infinite loop
2020-06-21 22:29:28 -04:00
Richard Feldman
cad0a1421e
Annotate low-level usages
2020-06-21 21:06:52 -04:00
Richard Feldman
56c637e399
Fix some constraint gen
2020-06-21 16:48:44 -04:00
Richard Feldman
187f3f8dc5
Move some Num operations into LowLevel
2020-06-21 15:07:32 -04:00
Richard Feldman
461e166254
wip
2020-06-20 13:59:04 -04:00
Richard Feldman
07689ca9dc
Switch back to builtin_defs returning Def
2020-06-20 10:57:44 -04:00
Richard Feldman
dec5c3a062
Get low-level ops compiling
2020-06-19 20:07:04 -04:00
Richard Feldman
11920e781e
Remove gen_module test
2020-06-19 11:10:22 -04:00
Richard Feldman
e014e5c95c
Update gen_module test
2020-06-19 11:10:14 -04:00
Richard Feldman
0b64c3a1ad
wip
2020-06-19 11:02:13 -04:00
Richard Feldman
1b3b9ee1c4
Merge remote-tracking branch 'origin/trunk' into specialize-separately
2020-06-13 23:54:30 -04:00
Richard Feldman
269da82840
Make VarStore no longer use atomics
2020-06-13 21:59:01 -04:00
Richard Feldman
245a9fc951
Merge remote-tracking branch 'origin/trunk' into specialize-separately
2020-06-13 21:03:38 -04:00
Chadtech
52c4b80f7b
Merge branch 'trunk' into list-single
2020-06-08 08:45:00 -04:00
Chad Stearns
5ad05efa39
Merging in remote
2020-06-07 23:50:20 -04:00
Richard Feldman
e726d838ea
Don't have builtins return Defs
2020-06-06 23:55:05 -04:00
Richard Feldman
093579780f
Fix stack overflow
2020-06-06 23:47:00 -04:00
Richard Feldman
0a9989e75f
wip
2020-06-06 23:41:12 -04:00
Chad Stearns
97cb4a737e
List.single implementation
2020-06-03 18:56:23 -04:00
Chad Stearns
3ffd31d5f3
Merge branch 'is-positive-is-negative' of github.com:rtfeldman/roc into trigonometric-functions
2020-06-03 04:28:52 -04:00
Chadtech
af42e13c77
Merge branch 'trunk' into is-positive-is-negative
2020-06-03 01:39:00 -04:00
Richard Feldman
99dcda8603
Use inlinable_string 0.1
2020-05-31 20:14:19 -04:00
Chadtech
0641e287a6
Merge branch 'trunk' into is-positive-is-negative
2020-05-29 23:10:29 -04:00
Richard Feldman
ac940a8b4b
wip
2020-05-26 21:21:12 -04:00
Richard Feldman
60e583fb78
Improve debug stuff a bit
2020-05-26 21:19:47 -04:00
Richard Feldman
887ec9860a
wip
2020-05-26 21:19:46 -04:00
Richard Feldman
42e3d35564
Use specialize_all
2020-05-26 21:18:25 -04:00
Richard Feldman
98eed099f8
Delete obsolete test.asm
2020-05-26 21:18:25 -04:00
Richard Feldman
4295dec955
Fix load_builtin_aliases ordering
2020-05-26 00:04:59 -04:00
Richard Feldman
c386192e8b
Reorganize when solving and constraint gen happen
2020-05-26 00:04:42 -04:00
Chad Stearns
5c1c9efb89
Added trigonometric functions to code gen and builtins
2020-05-25 16:28:41 -04:00
Chad Stearns
c83a6dc7b8
Float function isPositive, isNegative, and isZero
2020-05-22 23:05:17 -04:00
Chad Stearns
a01bdd66c5
isZero, isPositive, isNegative
2020-05-18 12:49:27 -04:00
Richard Feldman
7f05678bf8
Merge branch 'trunk' into int-rem
2020-05-13 22:53:31 -04:00
Chad Stearns
c8d62bd838
Int.isOdd and Int.isEven functions in code gen
2020-05-13 18:57:15 -04:00
Chad Stearns
7df4771f7b
Int.rem
2020-05-13 04:27:08 -04:00
Richard Feldman
b5e4066c49
clippy clop
2020-05-10 15:22:05 -04:00
Richard Feldman
33a5f36d7c
Refactor out name
arg from from_can
2020-05-10 15:13:18 -04:00
Richard Feldman
85ec1e0f72
Fix anonymous function code gen
2020-05-10 15:13:18 -04:00
Richard Feldman
bf11262e61
Move layout_id from mono to gen
...
This is because it's actually important that mono never use this.
It should only be used in gen, because it's only safe to use
synchronously, and it's important that mono be done in parallel.
Moving it to gen guarantees that mono will not use it, even accidentally!
2020-05-10 15:13:18 -04:00
Richard Feldman
6e05ba816f
Have CallByName use Layout
2020-05-10 15:13:18 -04:00