Folkert
43adf0635e
freshen annotations
2023-07-24 21:24:33 +02:00
Ayaz Hafiz
dac4d842d8
Fix types
2023-07-17 09:52:14 -05:00
Ayaz Hafiz
fcd733e1df
Dump roc checkmate
2023-07-17 09:51:01 -05:00
Ayaz Hafiz
1282110ef5
Push checkmate through load
2023-07-17 09:51:00 -05:00
Ayaz Hafiz
33b1b8236a
Break up SolveEnv
2023-07-12 13:53:51 -05:00
Ayaz Hafiz
44c4797d9a
Parameterize program solving on a FunctionKind
...
This new flag determines whether we should introduce a new kind to
represent lambda sets, or whether lambdas should be erased. The latter
is not yet implemented.
2023-07-12 13:53:50 -05:00
Folkert
ef39bad7c6
auto clippy fixes
2023-07-10 18:27:08 +02:00
Richard Feldman
40f2dd7030
Extract some modules out of file.rs
2023-06-28 22:35:59 -04:00
Folkert
fc3004da58
free or reuse unconditionally when value is unique
2023-06-27 17:37:45 +02:00
Ayaz
0edcd23657
Merge pull request #5569 from roc-lang/finally-trmc
...
tail recursion modulo cons
2023-06-25 15:31:34 -05:00
Folkert
a3b2de147e
clippy
2023-06-24 14:49:53 +02:00
Folkert
052ce8f2aa
clippy
2023-06-24 14:49:47 +02:00
Folkert
0247237fe8
WIP
2023-06-24 14:49:46 +02:00
Folkert
4a9514d2c4
rough implementation
2023-06-24 14:49:46 +02:00
Ayaz Hafiz
b5ea2c2c99
s/SolveCtx/SolveConfig/g
2023-06-22 14:31:36 -05:00
Ayaz Hafiz
8314d44650
Break up solve/solve into smaller modules
2023-06-22 14:31:14 -05:00
Ayaz Hafiz
d1dad56331
Rename env to scope
2023-06-22 14:31:03 -05:00
Ayaz Hafiz
683b586f60
Use more structs instead of tuples
2023-06-22 14:31:02 -05:00
J.Teeuwissen
5d66ae4295
removed target info
2023-06-13 17:15:04 +02:00
J.Teeuwissen
36abaec07d
Index array symbols unknown symbols
2023-06-13 15:56:55 +02:00
Luke Boswell
092676c4b7
Merge remote-tracking branch 'remote/main' into remove-json
2023-06-07 15:38:01 +10:00
Fábio Beirão
3482bb0108
Adjust the conditional imports to the fact that wasm doesn't use https for packages
2023-06-05 10:50:06 +02:00
Luke Boswell
c1ff49be6c
change just Json module name
2023-06-04 17:37:01 +10:00
Fábio Beirão
03eb89a721
Use the https problem reports when something goes wrong while downloading a package
...
Contributes to #5487
2023-06-02 14:09:41 +02:00
Fábio Beirão
60df1b4603
Run cargo fmt --all
...
Contributes to #5487
2023-06-02 12:41:43 +02:00
Fábio Beirão
273b7c07c1
Initial plumbing to be able to show https errors
...
Related to #5487
2023-06-02 11:40:32 +02:00
J.Teeuwissen
93ea086115
Merge branch 'main' into record-update-index-top
2023-05-30 10:47:19 +02:00
J.Teeuwissen
b7a7a735fc
keep inc env always, but set count to 0.
2023-05-29 12:09:18 +02:00
J.Teeuwissen
16da790fac
Order by index + clippy
2023-05-27 14:52:25 +02:00
J.Teeuwissen
378a298b45
move record index to start of update
2023-05-27 14:42:37 +02:00
J.Teeuwissen
ec731443c4
moved drop specialization up
2023-05-15 00:53:07 +02:00
J.Teeuwissen
d82f3ee09d
Start reuse similar layouts
2023-05-15 00:51:33 +02:00
Ayaz Hafiz
0744ef946b
Determine host-exposed lambda sets once based on proc variable
...
Rather than calculating the HELS for each host-exposed layout (of which
there may be multiple), we only need to calculate the HELS based on the
top-level type of the host-exposed function.
Also renamed `GlueProcs.extern_names` to
`GlueProcs.legacy_layout_based_extern_names` since they are still
currently generated based on the layout, but I think we want to generate
all HELS via type variable.
Fixes false-interpreter builds in debug.
2023-05-03 10:00:50 -05:00
J Teeuwissen
7439ee0c8c
Merge branch 'main' into drop_specialization
...
Signed-off-by: J Teeuwissen <jelleteeuwissen@hotmail.nl>
2023-04-26 20:26:37 +02:00
J.Teeuwissen
e12730ba88
drop specialization for union
2023-04-26 13:46:14 +02:00
J.Teeuwissen
d4379ff895
Working IR
2023-04-22 13:32:38 +02:00
Folkert
4cd8f0a056
clippy --fix fixes
2023-04-21 12:05:51 +02:00
J.Teeuwissen
00fcdd1a41
start drop_specialization
2023-04-20 13:06:51 +02:00
J.Teeuwissen
9d4c3bcfb9
undid inlining
2023-04-15 17:41:10 +02:00
J.Teeuwissen
5f7f9b766b
inline lowlevel in rc
2023-04-13 12:26:05 +02:00
J.Teeuwissen
a3cea59bb6
Merge remote-tracking branch 'origin/main' into Frame-Limited
2023-04-12 09:08:40 +02:00
J.Teeuwissen
ed844292b3
#[allow(unused_mut)]
2023-04-11 17:59:58 +02:00
Brendan Hansknecht
8f4945f286
make file loading errors that happen late in compilation still fatal
2023-04-09 14:03:33 -07:00
Brendan Hansknecht
21d063da26
add load tests from ingested files
2023-04-09 14:03:33 -07:00
Brendan Hansknecht
56ed985cc9
pass through correct path and type for ingested file
2023-04-09 14:03:32 -07:00
Brendan Hansknecht
0c366949cb
add basic checking for if an ingested file exists
2023-04-09 14:03:32 -07:00
Brendan Hansknecht
f4411afbbc
get basic wiring of a value through the compiler
2023-04-09 14:03:31 -07:00
Brendan Hansknecht
5354637cec
add new defines to to header
2023-04-09 14:03:31 -07:00
Brendan Hansknecht
99547086ee
add very rough framework of how the parse might need to change
2023-04-09 14:03:31 -07:00
J.Teeuwissen
c44da622e5
non mut layout interner
2023-04-06 10:32:50 +02:00