Commit graph

7768 commits

Author SHA1 Message Date
Brendan Hansknecht
e56c46ff54 enable record updating tests since they already pass 2021-05-15 23:26:59 -07:00
Brendan Hansknecht
6a38ec03ed enable returning structs
That being said the support is very limited. It really only supports
single field structs and the special case of 2 ints. I realized that
general support for returning structs requires a calling conv extension
for returning them. Instead of adding all of the calling conv versions,
I just added a few basic cases that are shared accross calling conv. It
turns out that the calling conv extension is quite detailed for how it
works in Arm. X86 isn't too detailed overall.
2021-05-15 23:01:23 -07:00
Brendan Hansknecht
ba58e1bbf4 expand supported record tests 2021-05-15 21:17:47 -07:00
Brendan Hansknecht
210004529d float and nested records to the dev backend 2021-05-15 21:05:51 -07:00
Brendan Hansknecht
950d380ea0 Add records to the dev backend 2021-05-15 20:18:04 -07:00
Richard Feldman
0ff7c98def
Merge pull request #1302 from rtfeldman/constrain_expr2_var
Constrain Expr2::Var
2021-05-14 00:37:42 -04:00
Richard Feldman
b72e9ae57d
Merge branch 'trunk' into constrain_expr2_var 2021-05-14 00:27:06 -04:00
Richard Feldman
8313cb80fe
Merge pull request #1298 from rtfeldman/editor_ideas
editor ideas + inspiration
2021-05-14 00:26:54 -04:00
Richard Feldman
b6d1d159fc
Merge pull request #1301 from rtfeldman/pool_vec_cleanup
Clean up some PoolVec inits
2021-05-14 00:26:44 -04:00
Richard Feldman
89b5090053
Use std::iter::once over vec![] and into_iter 2021-05-14 00:01:00 -04:00
rvcas
fea2757554 feat(Expr2): implement Var(symbol) 2021-05-13 14:47:48 -04:00
rvcas
11beb10e49 feat: port over the match arm for Lookup in solve 2021-05-13 14:47:16 -04:00
rvcas
9d9c395d49 feat: reintroduce the Lookup constraint 2021-05-13 14:46:02 -04:00
rvcas
a7fefb70c1 chore: use PoolVec::new(nodes, pool)
This looks better than using the zip function
and a raw for loop.
2021-05-12 20:30:19 -04:00
Richard Feldman
ef95ec01b1
Merge branch 'trunk' into editor_ideas 2021-05-12 07:33:43 -04:00
Richard Feldman
d459af95ab
Merge pull request #1299 from rtfeldman/tskj-patch-1
Remove typo from Elm guide
2021-05-12 07:33:26 -04:00
Anton-4
b6ddf58092
Merge branch 'trunk' into editor_ideas 2021-05-12 09:54:26 +02:00
Tarjei Skjærset
7a878493bd
Remove typo from Elm guide
This part confused me when reading through the guide, but now it makes senes.

Not sure if the flow of the text makes sense now though, as this same example is repeated twice in a row:

```elm
{ name : Str, email : Str }* -> Str
```
2021-05-12 09:29:04 +02:00
Anton-4
9a8a70d1f9
More editor ideas 2021-05-11 18:15:14 +02:00
Anton-4
df2b9c34b6
Added auto search on error idea 2021-05-11 17:38:01 +02:00
Anton-4
5860fbf46b
Added Zeljko's editor inspiration. 2021-05-11 14:47:50 +02:00
Folkert de Vries
92f3a62cfa
Merge pull request #1295 from rtfeldman/constrain_global_tag
Constrain Expr2::GlobalTag
2021-05-11 12:53:24 +02:00
Anton-4
b6fe84047f
minimal reproducible example 2021-05-11 11:00:24 +02:00
Lucas
2187b6c065
Merge branch 'trunk' into constrain_global_tag 2021-05-10 18:39:49 -04:00
Richard Feldman
bfd995ba32
Merge pull request #1296 from rtfeldman/editor_idea_beginner
editor idea: show Roc cheat sheet on startup
2021-05-10 18:22:24 -04:00
Richard Feldman
883048b565
Merge pull request #1297 from rtfeldman/ci-runner-test
CI try fixing issue #1265 failed to mount
2021-05-10 18:21:46 -04:00
Anton-4
dd12266655
Removed preference to specific CI instance 2021-05-10 18:07:16 +02:00
Anton-4
62dcb0f7eb
test anton big CI 2021-05-10 17:25:26 +02:00
Anton-4
d9d08a96e7
test anton-small-vm 2021-05-10 16:22:48 +02:00
Anton-4
de0b553431
editor idea: show Roc cheat sheet on startup
It would also be cool for demos.
2021-05-10 10:03:45 +02:00
rvcas
d8431eb635 feat(solve): add a different hack for TagName
This is interesting because at the moment I don't have the
information about whether or not this was a Global or Private Tag.
This hack gets the tests passing but we probably want something better
here.
2021-05-09 21:04:02 -04:00
rvcas
3272e9ec9a feat(Expr2): implement GlobalTag constraints 2021-05-09 21:01:25 -04:00
rvcas
8a1702f535 chore: bring TagName into scope 2021-05-09 21:00:45 -04:00
rvcas
65c0d3b7bf tests: add a test for global tags 2021-05-09 21:00:09 -04:00
Richard Feldman
6ba4d33e1b
Merge pull request #1291 from rtfeldman/constrain_list
Constrain Expr2::List
2021-05-08 22:47:48 -04:00
Richard Feldman
f92358c26e
Merge branch 'trunk' into constrain_list 2021-05-08 20:54:52 -04:00
Richard Feldman
3bf394a4e7
Merge pull request #1290 from rtfeldman/editor_inspiration
Inspiration code examples, HLS in-comment testing
2021-05-08 20:54:45 -04:00
Richard Feldman
51f453b872
Merge pull request #1292 from rtfeldman/zig-list-concat
List.concat in zig
2021-05-08 20:54:01 -04:00
Eric Henry
eda462c6e9 implement list.concat in zig 2021-05-08 14:39:06 -04:00
Anton-4
1050807b4b
reenable cache 2021-05-08 19:58:47 +02:00
Anton-4
955277e032
clean CI run 2021-05-08 19:06:09 +02:00
rvcas
f9d03f6d64 feat: always inline builtin helpers 2021-05-08 12:48:13 -04:00
rvcas
f01fc50337 tests: add new tests for list typechecking 2021-05-08 12:44:29 -04:00
rvcas
fc5e68cb97 tests: add temporarily useless test for SmallStr 2021-05-08 12:44:01 -04:00
rvcas
89bc27d941 tests: into not needed 2021-05-08 12:43:15 -04:00
rvcas
c196257c17 feat(Expr2): implement constraints for List 2021-05-08 12:42:45 -04:00
rvcas
41acbd0f58 feat: port over helper functions for list_type using pool 2021-05-08 12:42:05 -04:00
rvcas
c45b9e89c4 chore: better arguments name in fn exists 2021-05-08 12:41:16 -04:00
rvcas
4c69557f06 chore: bring Index into scope 2021-05-08 12:40:03 -04:00
Anton-4
4e8fd275ae
Inspiration code examples, HLS in-comment testing
- Inspiration for:
    + finding similar code snippets
    + evaluating code in comments (Haskell Language Server plugin). Found by @rvcas :)
2021-05-08 12:43:13 +02:00