Commit graph

442 commits

Author SHA1 Message Date
Jared Ramirez
a0402bca4d Add Num.ceiling 2020-09-15 18:37:45 -07:00
Dimitar Apostolov
d0864608fd Register types for Num.pow 2020-09-14 22:01:12 +02:00
Richard Feldman
e3d0145894 Add Str.isEmpty 2020-09-12 21:56:53 -04:00
Folkert
1b42831973 implement Num.compare 2020-09-08 19:40:18 +02:00
Chad Stearns
5d0ec57461 List.walkRight definition in unique, std, builtins, etc. No implementation 2020-09-06 14:06:08 -04:00
Chad Stearns
90a3771584 Fix comment definitions for List.keepIf and List.append 2020-09-05 19:01:26 -04:00
Chad Stearns
b02f8af37e Complete implementation of List.keepIf, that is currently not passing tests 2020-08-30 21:29:14 -04:00
Chad Stearns
30046d1ad4 basic List.keepIf set definition, but no implementation 2020-08-29 15:47:11 -04:00
Chad Stearns
a81504720b Str.concat tests and definition set up 2020-08-15 02:45:52 -04:00
Chad Stearns
4c7503d17e List.join passed LLVM validation 2020-08-02 15:35:03 -04:00
Chad Stearns
a9ab550c10 List.join builtin and unification 2020-08-01 22:28:09 -04:00
Chad Stearns
59b30ad20f Resolve conflicts with remote 2020-07-26 21:41:38 -04:00
Chad Stearns
68b13d29fd List prepend implementation with tests, and a few small code clarity changes to list_push implementation 2020-07-25 19:22:01 -04:00
Chad Stearns
759f1289d6 Rename List.push to List.append 2020-07-25 03:43:52 -04:00
Chad Stearns
0b078783fd Renamed List.append to List.concat 2020-07-24 01:12:19 -04:00
Chadtech
36a259b56b
Merge branch 'trunk' into list-append 2020-07-18 21:30:51 -04:00
Richard Feldman
814ca7c7cc Format some comments 2020-07-12 22:53:03 -04:00
Richard Feldman
a356e8a0f7 Add uniqueness types for List.first 2020-07-12 22:53:03 -04:00
Chad Stearns
f807947ce4 Merging in remote, implemented basics of List append in many modules 2020-07-12 14:35:22 -04:00
Richard Feldman
1cd49689c2 Merge remote-tracking branch 'origin/trunk' into low-level-ops 2020-07-07 21:09:50 -04:00
Folkert
28ba5e6a99 fix other num functions 2020-07-07 19:02:05 +02:00
Folkert
1af180da48 fix div_f64 2020-07-07 18:54:43 +02:00
Folkert
a7971c738a fix f64_sqrt 2020-07-07 18:52:28 +02: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
Richard Feldman
010a03926e Drop some duplicate type defs 2020-06-29 22:13:05 -04:00
Richard Feldman
8c96d12661 Merge trunk 2020-06-29 22:10:46 -04:00
Richard Feldman
44477f98e9 Fix Num.sqrt, div, mod, and rem 2020-06-25 21:47:02 -04:00
Richard Feldman
5cec577427 Fix return type of List.first 2020-06-24 23:52:54 -04:00
Richard Feldman
0f36255f83 Fix List.first types 2020-06-24 23:08:25 -04:00
Richard Feldman
b3dfbeeec8 Fix some missing unary Num operation types 2020-06-24 21:56:56 -04:00
Folkert
055b01c463 rewrite uniqueness logic 2020-06-24 23:06:34 +02:00
Folkert
41ad8f2952 revise Map and cleanup 2020-06-23 21:16:29 +02:00
Folkert
b88dfcb537 revise Set 2020-06-23 15:36:02 +02:00
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