Richard Feldman
|
261f252f06
|
Reproduce List.reverse code gen crash
|
2020-07-05 08:57:16 -04:00 |
|
Chad Stearns
|
4e7f40ab0f
|
Evaluate if the list to be reversed has a length greater than 0, and match on the layout type EmptyList. We need to do both
|
2020-07-04 19:45:46 -04:00 |
|
Chad Stearns
|
d66cf913a9
|
Refactored the phi2 away
|
2020-07-03 14:20:34 -04:00 |
|
Chad Stearns
|
7bd7e697b0
|
LIST_REVERSE works, so long as the list is made up of ints equal to 1
|
2020-07-02 22:39:58 -04:00 |
|
Chad Stearns
|
20b0e986ad
|
Merge branch 'list-push' of github.com:rtfeldman/roc into list-push
|
2020-06-27 15:12:01 -04:00 |
|
Chad Stearns
|
4e039125bf
|
Make test for List.pushing bools just to make sure it works with different types
|
2020-06-27 15:11:18 -04:00 |
|
Richard Feldman
|
44b19d3174
|
Merge branch 'trunk' into list-push
|
2020-06-21 22:23:24 -04:00 |
|
Chad Stearns
|
197dc01ad8
|
Got rid of test for negative amount of repeats. We will worry about that later
|
2020-06-21 13:24:21 -04:00 |
|
Chad Stearns
|
5898fa0905
|
Cleaned up list_push
|
2020-06-21 04:37:58 -04:00 |
|
Chad Stearns
|
e4eeff5bd0
|
List repeat works for all test cases except one with a negative number repeats param, and avoids malloc in the case that the number of repeats is not more than 0
|
2020-06-21 00:55:53 -04:00 |
|
Chad Stearns
|
6485b039c7
|
List repeats code gen works.. so long as its 5
|
2020-06-20 15:49:58 -04:00 |
|
Chad Stearns
|
0531d91301
|
WIP
|
2020-06-20 13:40:48 -04:00 |
|
Chad Stearns
|
3af6d5f0b3
|
WIP
|
2020-06-19 21:02:52 -04:00 |
|
Chad Stearns
|
97cb4a737e
|
List.single implementation
|
2020-06-03 18:56:23 -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 |
|
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 |
|
Chad Stearns
|
c435cd2a19
|
increase stack of quicksort test
|
2020-05-09 21:34:17 -04:00 |
|
Chad Stearns
|
1d1f620090
|
Int Abs
|
2020-05-09 17:56:10 -04:00 |
|
Chad Stearns
|
8e8412bf94
|
FLOAT_ABS test, and NUM_ABS generally, but not implemented
|
2020-05-08 00:49:08 -04:00 |
|
Richard Feldman
|
a70f6cfdb0
|
Merge branch 'trunk' into int-ne
|
2020-05-01 18:43:15 -04:00 |
|
Chad Stearns
|
71258e0e59
|
Implemented INT_NE_i64
|
2020-05-01 16:31:19 -04:00 |
|
Chad Stearns
|
51d6530a7f
|
Commented in DivByZero test
|
2020-05-01 01:52:15 -04:00 |
|
Chad Stearns
|
516f5736c2
|
Merging in remote trunk
|
2020-04-29 18:01:55 -04:00 |
|
Chad Stearns
|
9107880928
|
Implemented generated built in int division, with the return type as a result
|
2020-04-29 17:36:02 -04:00 |
|
Richard Feldman
|
cea7233b92
|
Fix some indentation
|
2020-04-29 07:11:20 -04:00 |
|
Richard Feldman
|
42a03303ca
|
Add a quicksort test to gen_builtins
|
2020-04-29 07:05:26 -04:00 |
|
Richard Feldman
|
dc49656c34
|
Add some List.get tests
|
2020-04-28 19:46:42 -04:00 |
|
Richard Feldman
|
c39b43a265
|
Code gen numeric comparisons
|
2020-04-28 18:33:51 -04:00 |
|
Richard Feldman
|
46bf6f4bee
|
Reproduce List.first failing when given []
|
2020-04-27 20:03:55 -04:00 |
|
Chad Stearns
|
10a99a6fc7
|
Merging in remote
|
2020-04-26 18:24:31 -04:00 |
|
Chad Stearns
|
0cfed05008
|
Implemented div unsafe
|
2020-04-26 18:11:46 -04:00 |
|
Chadtech
|
73da3c3f67
|
Merge branch 'trunk' into int-div
|
2020-04-26 14:39:03 -04:00 |
|
Chad Stearns
|
aa72619952
|
Implemenet code gen for int div
|
2020-04-26 14:38:09 -04:00 |
|
Richard Feldman
|
1bee16decd
|
Temporarily disable List.get in favor of getUnsafe
|
2020-04-26 09:37:46 -04:00 |
|
Richard Feldman
|
52a3e0afb5
|
Don't fail gen tests for unused warnings
|
2020-04-26 09:33:12 -04:00 |
|
Richard Feldman
|
0c58eeea97
|
Use List.get instead of List.getUnsafe in tests
|
2020-04-26 09:33:12 -04:00 |
|
Richard Feldman
|
b7862f1dc1
|
Drop obsolete test
|
2020-04-26 09:10:40 -04:00 |
|
Richard Feldman
|
d4b1c7e68a
|
Eagerly report more problems
|
2020-04-26 09:04:27 -04:00 |
|
Richard Feldman
|
511c7b7a21
|
Revise some builtins tests
|
2020-04-26 08:55:54 -04:00 |
|
Richard Feldman
|
9cc9789738
|
Merge remote-tracking branch 'origin/trunk' into list-get
|
2020-04-26 08:46:24 -04:00 |
|
Richard Feldman
|
afbe871e6d
|
wip
|
2020-04-26 08:45:41 -04:00 |
|
Richard Feldman
|
24ff91b45a
|
Add a List.first test
|
2020-04-25 07:52:43 -04:00 |
|
Richard Feldman
|
a0512a5f97
|
Add some List.len and List.isEmpty tests
|
2020-04-25 07:05:19 -04:00 |
|
Richard Feldman
|
b77b3bda14
|
Add some List.len and List.isEmpty tests
|
2020-04-25 07:01:02 -04:00 |
|
Richard Feldman
|
b43e582c7a
|
Add intrinsics for sqrt and round
|
2020-04-25 06:30:01 -04:00 |
|
Richard Feldman
|
5b7a16afad
|
Add intrinsics for sqrt and round
|
2020-04-23 17:41:05 -04:00 |
|
Richard Feldman
|
9d37f7ae73
|
s/IndexOutOfBounds/OutOfBounds/g
|
2020-04-22 08:32:31 -04:00 |
|