Commit graph

334 commits

Author SHA1 Message Date
Brendan Hansknecht
b81cb48e97
add base of tag union type 2023-03-05 12:33:45 -08:00
Brendan Hansknecht
303a38f992
remove F128 2023-03-05 12:33:45 -08:00
Brendan Hansknecht
400d2322e0
correct escaping 2023-03-05 12:33:45 -08:00
Brendan Hansknecht
7a4b79aef1
add comment about removing Types 2023-03-05 12:33:45 -08:00
Brendan Hansknecht
605e4e82b8
add multi element single tag structs 2023-03-05 12:33:45 -08:00
Brendan Hansknecht
8b68dfd02f
add zero element single tag structs 2023-03-05 12:33:45 -08:00
Brendan Hansknecht
e2eebcce8a
add todo functions for each tag union type 2023-03-05 12:33:45 -08:00
Brendan Hansknecht
a3cf66f730
add enumeration generation 2023-03-05 12:33:45 -08:00
Brendan Hansknecht
3a6cfc5c20
complete derive impl 2023-03-05 12:33:45 -08:00
Brendan Hansknecht
6f528b627c
run roc format 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
469182b53a
switch naming from of fields type to id 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
d750b8536b
add derive default 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
48ce687aa6
add derive copy and cleanup naming 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
fb657f101d
add file header 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
c0d31e3591
add struct generation 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
428eccf1a7
setup rust-glue to use dictionaries 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
155b53df8d
cleanup and correct types 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
e6abd24945
add #[used] static variables to ensure that rust emits the roc_* functions 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
f18a806bda
wire everything up 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
e45c17f81d
remove unneeded explicit platform for glue 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
0ec14f33f5
first signs of life for glue with roc files 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
b97a87a7a7
load dylib directly as spec for now 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
f9f77a5a54
create a proper platform for roc glue 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
b792071971
add dummy glue implementation in roc 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
abdc84d927
create conversion code from Types to the roc version of Types 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
8d8150e748
switch to associated lists since roc_std::roc_dict has not been updated yet 2023-03-05 12:33:42 -08:00
Brendan Hansknecht
f956be26c1
update roc types for glue 2023-03-05 12:33:42 -08:00
Brendan Hansknecht
09a3b2425f
update glue cli tests to generate directories 2023-03-05 12:33:42 -08:00
Brendan Hansknecht
69bd296099
switch tests to use list of files 2023-03-05 12:33:42 -08:00
Brendan Hansknecht
2f9e1ad539
change glue api to enable writing multiple files 2023-03-05 12:33:41 -08:00
Folkert
853c0387dc
cleanup 2023-03-05 17:33:48 +01:00
Folkert
180187e5af
get old examples to work 2023-03-01 21:56:14 +01:00
Folkert
fa05c49693
correct the name of the size() exposed function 2023-02-26 14:23:10 +01:00
Folkert
fee5e978f7
use roc_alloc to store unsized types 2023-02-25 16:45:58 +01:00
Folkert
f232bdda4f
fix some glue formatting 2023-02-25 16:32:10 +01:00
Folkert
1bf2cc3b8c
cleanup 2023-02-25 16:23:40 +01:00
Folkert
35980e50b8
fix function getters 2023-02-25 15:47:20 +01:00
Folkert
033618f3f4
fixes to get rocLovesRust to work 2023-02-22 21:17:50 +01:00
Folkert
b6bae82913
hello world works 2023-02-14 22:11:23 +01:00
Folkert
6c15284a8f
more wip; now we just need to generate the exposed procs at the right time 2023-02-08 22:56:38 +01:00
Ayaz
ad84e02abf
Merge pull request #4950 from roc-lang/keep-recptr-index
Initial support for linking recursive pointer layouts back to their source layouts
2023-01-24 14:42:00 -06:00
Ayaz
a7c415dc35
Merge pull request #4940 from joshuawarner32/tuple-solve
Initial implementation of tuples in type checking
2023-01-23 16:25:35 -06:00
Ayaz Hafiz
8750127111
Begin support for looping-back recursive pointers to their source layouts 2023-01-23 14:37:48 -06:00
Joshua Warner
de828416bf
Initial implementation of tuples in type checking
This leaves in place a bunch of TODOs and likely many bugs - notably, I haven't tested codegen/layout at all here.
2023-01-22 12:40:44 -08:00
Folkert
1ba4d9d735
WIP 2023-01-22 11:53:02 +01:00
dependabot[bot]
8801c147cb
Bump bumpalo from 3.11.0 to 3.11.1
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.11.0 to 3.11.1.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.11.0...3.11.1)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-21 15:06:17 +00:00
Folkert
c622cebea6
correct codegen for calling the extern 2023-01-20 15:07:49 +01:00
Folkert
1ac2c2bb80
add Unsized RocType variant 2023-01-18 23:38:25 +01:00
Folkert
01b6d234ff
WIP 2023-01-18 23:18:09 +01:00
Folkert
bb44063419
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2023-01-18 20:06:26 +01:00