Commit graph

259 commits

Author SHA1 Message Date
Folkert
6f1639959a use let_tvars for the Num, Int, Float, Bool 2020-06-23 15:08:23 +02:00
Folkert
c0c4f4c74b polish list signatures 2020-06-23 14:36:48 +02:00
Folkert
0696c5aa09 polish list signatures 2020-06-23 14:34:47 +02:00
Richard Feldman
88990c8711 Move Int and Float modules into Num 2020-06-22 23:25:38 -04:00
Richard Feldman
3691152d20 Introduce the let_tvars! macro 2020-06-22 21:40:00 -04:00
Richard Feldman
0b106614f9 wip 2020-06-22 21:29:18 -04:00
Folkert
af33e26811 fix repeat 2020-06-23 00:02:36 +02:00
Folkert
2a7bf2ae66 fix map 2020-06-22 23:48:37 +02:00
Folkert
0fbac382d0 improve uniqueness signatures 2020-06-22 23:28:23 +02:00
Folkert
7de691b511 clarify list uniqueness signatures 2020-06-22 20:37:28 +02:00
Richard Feldman
32b9b1ea60 Remove FLOAT_ADD and similar 2020-06-21 15:35:38 -04:00
Chad Stearns
3af1632ede Changed some commented out type signatures from List a to List elem 2020-06-21 13:30:49 -04:00
Richard Feldman
461e166254 wip 2020-06-20 13:59:04 -04:00
Chad Stearns
3af6d5f0b3 WIP 2020-06-19 21:02:52 -04:00
Richard Feldman
dec5c3a062 Get low-level ops compiling 2020-06-19 20:07:04 -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
0140c4ca9f Removed div_by_zero function where it wasnt needed 2020-05-13 19:09:50 -04:00
Chad Stearns
7df4771f7b Int.rem 2020-05-13 04:27:08 -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
13dd937a71 Revert "Attempt to add builtin_defs to CLI"
This reverts commit 2679077de9.
2020-05-01 22:00:06 -04:00
Richard Feldman
2679077de9 Attempt to add builtin_defs to CLI 2020-05-01 21:59:38 -04:00
Richard Feldman
f47d96e1a4 Update a comment 2020-05-01 21:56:44 -04:00
Chad Stearns
71258e0e59 Implemented INT_NE_i64 2020-05-01 16:31:19 -04:00
Chad Stearns
0518ccc991 Remove INT_DIV from std.rs 2020-04-29 18:22:25 -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
c39b43a265 Code gen numeric comparisons 2020-04-28 18:33:51 -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
ac6e98361e Drop obsolete List.get hardcoded type 2020-04-26 09:33:08 -04:00
Richard Feldman
9cc9789738 Merge remote-tracking branch 'origin/trunk' into list-get 2020-04-26 08:46:24 -04:00
Richard Feldman
75d46053ec Drop unused unique::result_type function 2020-04-25 07:53:30 -04:00
Richard Feldman
d6a5cc14b6 Fix a comment 2020-04-25 07:05:19 -04:00
Richard Feldman
bac940e116 Fix hardcoded List.isEmpty type 2020-04-25 07:05:18 -04:00
Richard Feldman
d0da4bf926 Remove obsolete hardcoded List.get types 2020-04-25 07:03:33 -04:00
Richard Feldman
5a22348f35 Fix a comment 2020-04-25 07:00:34 -04:00
Richard Feldman
9dd9b7951d Fix hardcoded List.isEmpty type 2020-04-25 07:00:24 -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
Richard Feldman
7ad4fb0e68 Add List.concat 2020-04-05 23:30:39 -04:00
Richard Feldman
a54db8bf92 Merge remote-tracking branch 'origin/trunk' into array-wrappers 2020-03-14 20:49:59 -04:00
Folkert
df54bb5aef fix incorrect signature for isEq in uniq builtins 2020-03-13 20:49:16 +01:00
Folkert
f894459159 fix comment 2020-03-13 16:38:33 +01:00
Folkert
9ef4a6d891 fix bug in uniq isEq type
it always wanted Boolean arguments ...
2020-03-13 13:06:56 +01:00