Commit graph

579 commits

Author SHA1 Message Date
Folkert
f480919186 Merge remote-tracking branch 'origin/trunk' into no-arg-tag-union-func 2021-05-24 14:44:32 +02:00
Lucas
8b52e6d268
Merge branch 'trunk' into constrain_access 2021-05-24 08:19:39 -04:00
Richard Feldman
a7518a675a Clean up some clippy warnings 2021-05-23 20:28:23 -04:00
Lucas
b942b78a34
Merge branch 'trunk' into constrain_access 2021-05-23 16:24:48 -04:00
tarjei
a53c7b5546 Add FunctionOrTagUnion case to all matches 2021-05-23 20:52:38 +02:00
Anton-4
e2bc9566ba upgrade to wgpu 8.1, removed old editor benchmarks 2021-05-19 17:32:07 +02:00
rvcas
35cdf1051d tests: use a simpler test case to avoid defs 2021-05-18 21:21:57 -04:00
rvcas
031c704ad1 tests: add a test for constraining access 2021-05-17 19:48:01 -04:00
rvcas
35f82821f1 feat(Expr2): add a todo case for Defs 2021-05-17 19:47:31 -04:00
rvcas
eb6e4a21f3 feat(Expr2): port over Access case for constraints 2021-05-17 19:45:11 -04:00
rvcas
79efa42923 fix(Expr2): better name for the sub_expr in call 2021-05-17 19:44:31 -04:00
rvcas
cb5cdb7c11 chore: remove commented code 2021-05-16 22:17:51 -04:00
rvcas
b2766aab36 feat(Expr2): port over Function solve case 2021-05-16 22:02:25 -04:00
rvcas
2ffafec559 feat(Expr2): port over Call and Accessor constraints 2021-05-16 22:02:04 -04:00
rvcas
67dcdbb375 feat(types): more Type2 shallow clone 2021-05-16 22:01:15 -04:00
rvcas
407f350947 tests: trigger Call and Accessor 2021-05-16 21:58:16 -04:00
Anton-4
e17d15f4f2
Added nextjournal editor inspiration 2021-05-14 16:16:55 +02:00
Anton-4
dc20612bbb
Added Richard's Inquisitive code editor inspiration. 2021-05-14 09:26:39 +02: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
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
Anton-4
b6ddf58092
Merge branch 'trunk' into editor_ideas 2021-05-12 09:54:26 +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
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
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
f92358c26e
Merge branch 'trunk' into constrain_list 2021-05-08 20:54:52 -04: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
Richard Feldman
4375026c7b
Merge pull request #1287 from rtfeldman/constrain_small_str_and_blank
Constrain Expr2: SmallStr(_) & Blank
2021-05-07 20:55:36 -04:00
rvcas
92c5e88a7a feat(Expr2): constrain SmallStr(_) and Blank 2021-05-07 12:21:10 -04:00
Richard Feldman
ab8cc95c2b Disable clippy rule for manual_map 2021-05-07 08:44:44 -04:00
Folkert
fecb83b9c2 fixes 2021-05-07 11:00:15 +02:00