Chadtech
|
36a259b56b
|
Merge branch 'trunk' into list-append
|
2020-07-18 21:30:51 -04:00 |
|
Richard Feldman
|
b8a9a3ef42
|
Account for return types being different in the uniqueness case
|
2020-07-12 22:53:03 -04:00 |
|
Richard Feldman
|
814ca7c7cc
|
Format some comments
|
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
|
0536d9f0c4
|
Share more variables between builtins
|
2020-07-10 00:06:45 -04:00 |
|
Richard Feldman
|
7938a31ce3
|
Re-add List.reverse (missed in merge)
|
2020-07-07 22:29:18 -04:00 |
|
Richard Feldman
|
d744567f76
|
Add can builtins for List.push and List.repeat
|
2020-06-29 22:25:58 -04:00 |
|
Richard Feldman
|
714a81f40a
|
Check denominator, not numerator
|
2020-06-25 22:02:11 -04:00 |
|
Richard Feldman
|
44477f98e9
|
Fix Num.sqrt, div, mod, and rem
|
2020-06-25 21:47:02 -04:00 |
|
Richard Feldman
|
ee52d52047
|
Fix List.get types
|
2020-06-25 21:22:32 -04:00 |
|
Richard Feldman
|
0f36255f83
|
Fix List.first types
|
2020-06-24 23:08:25 -04:00 |
|
Richard Feldman
|
35446348a3
|
Fix some vars
|
2020-06-23 23:50:20 -04:00 |
|
Richard Feldman
|
14c31d55ee
|
Fix List.set monomorphization
|
2020-06-23 23:42:12 -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
|
88990c8711
|
Move Int and Float modules into Num
|
2020-06-22 23:25:38 -04:00 |
|
Richard Feldman
|
32b9b1ea60
|
Remove FLOAT_ADD and similar
|
2020-06-21 15:35:38 -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
|
f90b64edd9
|
Use a custom macro for builtin_defs
|
2020-06-20 10:58:12 -04:00 |
|
Richard Feldman
|
07689ca9dc
|
Switch back to builtin_defs returning Def
|
2020-06-20 10:57:44 -04:00 |
|
Richard Feldman
|
16ceb895c1
|
Fix some Bool.isEq stuff
|
2020-06-19 20:45:14 -04:00 |
|
Richard Feldman
|
dec5c3a062
|
Get low-level ops compiling
|
2020-06-19 20:07:04 -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 |
|
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
|
1ef85fa061
|
Store builtins as a Map
|
2020-06-06 23:47:00 -04:00 |
|
Richard Feldman
|
9e02537ebb
|
Store builtins as a Map
|
2020-06-06 23:41:09 -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 |
|
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
|
198716498c
|
Used negate instead of multiplying by -1 for INT_ABS implementation
|
2020-05-09 21:43:41 -04:00 |
|
Chad Stearns
|
dea2fe2382
|
Moved exiting builtin functions to use defn helper
|
2020-05-09 18:11:21 -04:00 |
|
Chad Stearns
|
f5ebdf49e4
|
More int_abs documentation
|
2020-05-09 18:01:22 -04:00 |
|
Chad Stearns
|
1d1f620090
|
Int Abs
|
2020-05-09 17:56:10 -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
|
072cf4e844
|
Revert "wip canonical builtins in modules"
This reverts commit e1935a1e9f0c7ea1ffefe5f2f4f07f2c7666363b.
|
2020-05-01 19:30:55 -04:00 |
|
Richard Feldman
|
a1750567ff
|
wip canonical builtins in modules
|
2020-05-01 19:30:55 -04:00 |
|
Chad Stearns
|
4b5f7bfded
|
Changed Int div implementation to use !=
|
2020-05-01 17:29:12 -04:00 |
|
Chad Stearns
|
6b6e6f0eec
|
Changed Int div implementation to use !=
|
2020-05-01 17:17:41 -04:00 |
|