Richard Feldman
52dfb75dc0
Fix some Int8s that should have been Int1s
2020-06-21 16:52:22 -04:00
Richard Feldman
56c637e399
Fix some constraint gen
2020-06-21 16:48:44 -04:00
Richard Feldman
32b9b1ea60
Remove FLOAT_ADD and similar
2020-06-21 15:35:38 -04:00
Richard Feldman
ddf980e475
Use RunLowLevel over calling Bool.and
2020-06-21 15:25:03 -04:00
Richard Feldman
1f6afe1182
Default Num layout to Int
2020-06-21 15:21:03 -04:00
Richard Feldman
6ef74a2432
Add canonical builtins to test_mono
2020-06-21 15:14:04 -04:00
Richard Feldman
187f3f8dc5
Move some Num operations into LowLevel
2020-06-21 15:07:32 -04:00
Richard Feldman
7c98e2e9f8
Only immediately specialize anonymous closures
2020-06-21 15:07:20 -04:00
Richard Feldman
0d6d30e5df
debug_assert for duplicate partial_procs
2020-06-21 14:20:10 -04:00
Richard Feldman
461e166254
wip
2020-06-20 13:59:04 -04:00
Richard Feldman
dec5c3a062
Get low-level ops compiling
2020-06-19 20:07:04 -04:00
Richard Feldman
0a9989e75f
wip
2020-06-06 23:41:12 -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
639c132ce0
wip
2020-05-26 21:18:25 -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
bd6228de8b
Prevent infinite looping in code gen
2020-05-10 15:13:18 -04:00
Richard Feldman
e26df0d8cb
Drop unused ContentHash
2020-05-10 15:13:18 -04:00
Richard Feldman
6e05ba816f
Have CallByName use Layout
2020-05-10 15:13:18 -04:00
Richard Feldman
8572879e0d
Remove unused procs argument
2020-05-09 22:41:59 -04:00
Richard Feldman
c49abfe2de
Add layout to CallByName
2020-05-09 22:41:59 -04:00
Richard Feldman
510ab36f51
Use LayoutCache to avoid recomputing layouts
2020-05-09 22:11:32 -04:00
Richard Feldman
efa486251e
Add LayoutCache
2020-05-09 22:11:32 -04:00
Richard Feldman
6a79a75648
Don't regenerate anonymous function symbols
2020-05-09 12:56:55 -04:00
Richard Feldman
8fbfae5e62
Expand some docs
2020-05-09 09:46:24 -04:00
Richard Feldman
7e7c6ef4af
Drop obsolete symbol_counter field
2020-05-04 20:32:21 -04:00
Richard Feldman
2904f29c36
Have mono::expr::Env use IdentIds::gen_unique
2020-05-04 20:29:36 -04:00
Richard Feldman
ee31eac0c5
Code gen toplevel module functions
2020-05-01 19:30:55 -04:00
Richard Feldman
5c31369072
Code gen thunks for top-level module decls
2020-05-01 19:30:55 -04:00
Chad Stearns
d1b00633be
INT NEQ for i1 and i8 integer types
2020-05-01 17:29:43 -04:00
Chad Stearns
71258e0e59
Implemented INT_NE_i64
2020-05-01 16:31:19 -04:00
Folkert
c11ac52a4b
fix num/int bug
...
we called the function with the wrong type variable. now there are two functions, handling both cases
2020-04-29 12:28:13 +02:00
Richard Feldman
c39b43a265
Code gen numeric comparisons
2020-04-28 18:33:51 -04:00
Richard Feldman
afbe871e6d
wip
2020-04-26 08:45:41 -04:00
Richard Feldman
243bbf4790
Revert changes to mono/ from List.get attempts
2020-04-25 06:30:01 -04:00
Folkert
0191910715
fix clippy's newly-learned warnings
2020-04-25 06:30:01 -04:00
Folkert
0a1cf805f9
handle Unboxed
2020-04-25 06:30:01 -04:00
Folkert
3e36bea700
improve formatting of records in pattern exhaustiveness errors
2020-04-25 06:30:01 -04:00
Folkert
dc320e9fd9
fix ordering bug in pattern exhaustiveness
2020-04-25 06:30:01 -04:00
Folkert
f8b540b6f4
use tag id instead of name in exhaustiveness checking
2020-04-25 06:30:01 -04:00
Richard Feldman
6b952e0c98
Revert "Attempt to add List.get to mono/"
...
This reverts commit 49d24e8202cf59d0b47ca397fe0c150d0620da20.
2020-04-25 06:19:13 -04:00
Richard Feldman
c28f00ecb2
Attempt to add List.get to mono/
2020-04-25 06:19:13 -04:00
Richard Feldman
d97e16de7e
Revert "Attempt a mono/ approach for List.get"
...
This reverts commit f0b76f41da
.
2020-04-25 06:19:10 -04:00
Richard Feldman
f0b76f41da
Attempt a mono/ approach for List.get
2020-04-25 06:19:06 -04:00
Richard Feldman
5992b42ebe
Remove unnecessary conditionals
2020-04-22 23:35:57 -04:00