Folkert
fd9b826398
fix the issues
2021-06-25 22:27:11 +02:00
Folkert
0eba188493
WIP
2021-06-24 20:12:37 +02:00
Folkert
4bbaa007f3
remove EmptyStruct from wrapper
2021-06-21 21:16:21 +02:00
Richard Feldman
53ccef0506
nightly clippy
...
I was on nightly for benchmarks, and these all seem reasonable.
2021-06-18 15:21:11 -04:00
Folkert
0d5e91eb92
fix entry points
2021-06-13 22:13:37 +02:00
Anton-4
22d834ebd9
Merge branch 'trunk' of github.com:rtfeldman/roc into typos_ci
2021-06-07 12:33:26 +02:00
Richard Feldman
57676057fa
Rename gen to gen_llvm
...
This way, we have gen_dev and gen_llvm representing the two
different compiler backends.
2021-06-06 07:56:47 -04:00
Richard Feldman
b05342c678
Split out an optional "llvm" feature
...
Also move OptLevel out of roc_gen (which
should really be called gen_llvm) and into roc_mono,
so it's no longer coupled to LLVM.
2021-06-06 00:32:58 -04:00
Anton-4
314503cf7f
fixed typos, added typos checking to CI
2021-06-05 20:02:54 +02:00
Folkert
ab8abb8f11
centralize llvm logic
2021-06-02 21:28:51 +02:00
Folkert
d7ed1de15f
Merge remote-tracking branch 'origin/trunk' into catch-cleanup
2021-06-01 21:48:06 +02:00
tarjei
bec6e556d5
Merge branch 'trunk' into builtins/list-swap
2021-05-31 19:16:31 +02:00
Folkert
50ea46e73e
add test
2021-05-29 23:29:33 +02:00
tarjei
ade591dd10
Fix plumbing
2021-05-29 22:21:25 +02:00
Folkert
3636e18a18
centralize inkwell imports
2021-05-29 21:46:33 +02:00
tarjei
98011f48a8
Add tests
...
These tests cover, for good measure:
- swapping an empty list
- swapping elements outside a list
- swapping a short list
- swapping with reversed args
- swapping the middle of a long list
- swapping with one index outside the list
- swapping the same index with itself
2021-05-29 20:58:59 +02:00
Richard Feldman
0b3715ebee
Rearrange arg order for roc_alloc etc
2021-05-24 21:01:12 -04:00
Richard Feldman
7d7588ca19
Merge remote-tracking branch 'origin/trunk' into roc_alloc
2021-05-24 20:10:26 -04:00
Folkert
5f408c42b0
enable tag unions as functions in code gen
2021-05-24 16:01:51 +02:00
Folkert
174daeb3b5
fix codegen
2021-05-24 15:28:41 +02:00
Folkert
fbb711b2ca
Merge remote-tracking branch 'origin/trunk' into specialize-lowlevel
2021-05-24 15:11:40 +02:00
Richard Feldman
81d758d647
Fix gen_compare tests
2021-05-23 23:46:09 -04:00
Richard Feldman
e3267dbf61
Fix some test module names
2021-05-23 23:46:09 -04:00
Richard Feldman
6c4ba49086
Move add_intrinsics back
2021-05-23 23:46:09 -04:00
Richard Feldman
ebad3597c9
Call add_intrinsics after add_default_roc_externs
...
This is necessary to prevent defining things twice
2021-05-23 23:46:09 -04:00
Richard Feldman
e6ece40f76
Extract externs helpers into gen
2021-05-23 23:46:09 -04:00
Richard Feldman
017ba59775
Have test_gen provide roc_alloc etc
2021-05-23 23:46:09 -04:00
Richard Feldman
a7518a675a
Clean up some clippy warnings
2021-05-23 20:28:23 -04:00
Folkert
9b02165f00
remove unused function
2021-05-22 19:08:25 +02:00
Folkert
6bc72ee804
add extra test for unresolved type variables
2021-05-22 17:20:52 +02:00
Folkert
3b47fbc89a
module thunk is function
2021-05-22 14:57:25 +02:00
tarjei
f45d89270b
Implement basic List.drop that satisfies tests
...
Issues with uniqueness and copying which leaks memory obviously needs to be fixed.
2021-05-18 22:59:55 +02:00
Folkert
691fa56d50
make repl evaluate 0-argument thunk
2021-05-16 00:23:04 +02:00
Folkert
558fb3e1bf
clippy + top level thunks
2021-05-15 23:19:08 +02:00
Folkert
49521f5279
enable more ignored tests
2021-05-14 15:19:22 +02:00
Folkert
e40db9a207
fix return_wrapped_closure"
2021-05-14 15:16:35 +02:00
Folkert
3c7e849830
get poc-effect working
2021-05-14 15:09:55 +02:00
Folkert
ca78439756
working Set.walk
2021-05-14 12:35:44 +02:00
Folkert
d25b1dc549
fix final list test
2021-05-14 01:02:16 +02:00
Folkert
acfaf96734
lots of progress, many bugs
2021-05-13 23:45:39 +02:00
Folkert
ce195034ee
sort of stable
2021-05-13 21:34:22 +02:00
Folkert
2163e01288
lowlevel List.map works
2021-05-13 19:15:17 +02:00
Folkert
f02f655e0b
got some lowlevel stuff working
2021-05-13 01:39:06 +02:00
Folkert
e63eea7389
WIP
2021-05-13 00:26:41 +02:00
Folkert
29157e8b45
add test
2021-05-10 21:39:11 +02:00
Folkert
48f392f372
fix bad test examples using unbound type alias variables
2021-05-05 19:54:10 +02:00
Folkert
2ca6f0107a
re-enable rose tree test
2021-05-05 15:18:26 +02:00
Folkert
82aa5c766d
fix gen_primitives tests
2021-05-03 21:22:21 +02:00
Richard Feldman
83dde26cd0
Fix Str.startsWithCodePoint docs
2021-05-02 22:16:58 -04:00
Folkert
c071cfba13
implement startsWithCodePoint
2021-05-02 19:26:08 +02:00