Commit Graph

943 Commits

Author SHA1 Message Date
Anton-4
0ee17eae2a fixed some Blank test TODO's 2021-09-11 15:07:32 +02:00
Anton-4
7416cf5186 fix typo, only check typos in spellcheck step 2021-09-11 13:46:15 +02:00
Anton-4
7333aaeaf2 allowed drawing rects and text in multiple layers 2021-09-11 12:50:37 +02:00
Anton-4
f1af9df70b applied Folkert's fix 2021-09-10 12:04:07 +02:00
Anton-4
18901129fd platform temp fix, ready for demo 2021-09-09 20:06:29 +02:00
Anton-4
db4f788076 assertion failed solved_all 2021-09-09 16:55:30 +02:00
Anton-4
d922d72d83 create roc project dir if none exists 2021-09-08 20:01:46 +02:00
Anton-4
7412418055 fmt 2021-09-07 17:05:07 +02:00
Anton-4
75388f89dc added enter test 2021-09-07 17:04:25 +02:00
Anton-4
3fb14a65e3 newline bug fixes 2021-09-07 16:29:18 +02:00
Anton-4
181e7d1fda typo 2021-09-06 21:16:12 +02:00
Anton-4
45b04d0341 fmt+clippy 2021-09-06 21:14:22 +02:00
Anton-4
955ae2e92f change how newlines are represented 2021-09-06 21:09:56 +02:00
Anton-4
adeccd3819 newline bugfixes 2021-09-06 11:27:54 +02:00
Anton-4
91490044f6 newline bug fixes, restructuring 2021-09-05 21:06:38 +02:00
Anton-4
f5b30b71da progress adding new tld at correct position in mark_node_ids 2021-09-03 20:12:49 +02:00
Anton-4
864e76be10 typos + format 2021-09-03 14:50:12 +02:00
Anton-4
3397d780b8 Merge branch 'trunk' of github.com:rtfeldman/roc into editor-let-value 2021-09-03 14:44:21 +02:00
Anton-4
4dbd9a075a fmt 2021-09-03 14:29:21 +02:00
Anton-4
c43a0a1357 updated tests 2021-09-03 14:20:45 +02:00
Anton-4
b8c9b899cc updated tests 2021-09-02 20:33:38 +02:00
Anton-4
32e0a8966a test updates, bug fixes, added README to editor test folder 2021-09-02 18:12:09 +02:00
Anton-4
f5a142ea0d updated tests 2021-09-01 20:03:40 +02:00
Anton-4
a2d802dd04 improved handle_new_char structure, test updates 2021-09-01 19:00:09 +02:00
Anton-4
f851215917 updated tests 2021-09-01 14:23:09 +02:00
Anton-4
6d6ae5d5c0 bug fixes, updated tests 2021-08-31 19:54:48 +02:00
Anton-4
3c858cff96 updating TLD value name works! 2021-08-30 19:49:47 +02:00
Anton-4
6c889b35b9 no more compile errors 2021-08-30 13:33:33 +02:00
Anton-4
0091bbc77a fixed many compile errors coming from def2 2021-08-29 14:37:28 +02:00
Anton-4
0135e7b9b1 changes to work with combination of Def2 and Expr2 2021-08-28 18:54:09 +02:00
Anton-4
41519fca96 debugging tests 2021-08-27 20:26:10 +02:00
Anton-4
239b358c2e
Added editor ideas 2021-08-27 12:30:07 +02:00
Anton-4
9e2a5ccc02 ajusted test_ignore_int to work with latest changes 2021-08-25 20:10:10 +02:00
Anton-4
1c1568929a fmt 2021-08-25 17:33:41 +02:00
Anton-4
aa01eb787b fixed many enter bugs 2021-08-25 17:27:14 +02:00
Anton-4
7a11e5e12c progress on new line on enter 2021-08-24 19:51:17 +02:00
Anton-4
cc617e841f test code change 2021-08-24 12:56:53 +02:00
Anton-4
386e131e7a progress fixing tests 2021-08-22 19:54:00 +02:00
Anton-4
04a0a220b3 fmt+clippy 2021-08-21 20:21:35 +02:00
Anton-4
fe1a2c35ff merge fixes 2021-08-21 20:10:21 +02:00
Anton-4
169520f956 Merge branch 'trunk' of github.com:rtfeldman/roc into editor-let-value 2021-08-21 12:05:59 +02:00
Anton-4
5366c30d4a display blank rect on correct line 2021-08-20 15:48:09 +02:00
Anton-4
5ed5e2e6ee fmt 2021-08-18 18:50:39 +02:00
Anton-4
10b9a7eda8 bug fixes 2021-08-18 18:49:43 +02:00
Anton-4
b0344c082f can now load and display hello world :) 2021-08-18 14:25:33 +02:00
Anton-4
d3bc4c43a6 header to marknodes 2021-08-17 20:12:16 +02:00
Anton-4
8bc863f2bd hello world without header 2021-08-17 13:52:18 +02:00
Anton-4
7897798e22 now using def parser for AST 2021-08-17 12:22:35 +02:00
Anton-4
5023fa3e75 progress on setting up def parser for top level defs 2021-08-16 20:05:21 +02:00
Anton-4
71cce22962
More editor ideas, typo fix 2021-08-16 10:58:45 +02:00
Anton-4
55fe8b71d4
Added Joshua's editor ideas 2021-08-16 10:52:26 +02:00
Anton-4
435789b807 no more compile errors :) 2021-08-15 12:39:27 +02:00
Folkert
6d833845f9 fix typo 2021-08-14 00:53:18 +02:00
Folkert
3e448c1b74 get rid of inefficient conversion from mutmap to uniontags 2021-08-14 00:32:01 +02:00
Anton-4
45629a38d1 parse header progress 2021-08-13 19:54:35 +02:00
Folkert
df83bf0d48 Merge remote-tracking branch 'origin/soa-alias' into alias-nominal-equality 2021-08-13 12:11:36 +02:00
Folkert
c9040c012e make things work 2021-08-13 11:04:31 +02:00
Folkert
42f04fcc77 use variablesubsslice for Apply 2021-08-12 22:49:56 +02:00
Folkert
3bbf1a5506 use UnionTags for recursive tag unions 2021-08-12 20:50:33 +02:00
Folkert
6c0860b6bf milestone all but one gen tests passing 2021-08-11 21:50:11 +02:00
Folkert
0e66995437 Merge remote-tracking branch 'origin/trunk' into tags-soa-phase-0 2021-08-11 17:25:00 +02:00
Anton-4
c6e816dfbe progress on starting with existing file to enable using LoadedModule 2021-08-09 19:50:27 +02:00
Anton-4
db30f73b44
some editor ideas 2021-08-09 11:45:00 +02:00
Lucas
fc7ac8dc10
Merge branch 'trunk' into constrain_closure 2021-08-08 12:44:37 -04:00
Richard Feldman
e20137eb6e
Merge pull request #1546 from rtfeldman/1447-node-id-rename
Replace uses of ExprId's definition with the alias
2021-08-07 23:15:23 -04:00
Richard Feldman
0904e866ae
Merge pull request #1538 from rtfeldman/remove-vec
Eliminate a Vec in record solving
2021-08-07 23:01:49 -04:00
Dan Knutson
96667922ac Replace uses of ExprId's definition with the alias 2021-08-07 19:52:23 -07:00
Richard Feldman
267836226c s/CodePoint/CodePt/g 2021-08-07 21:46:20 -04:00
Anton-4
9243539c6c
Added kakoune to editor inspiration 2021-08-07 17:09:19 +02:00
Folkert
83ad331bb1 remove chase_record_ext_var 2021-08-07 15:35:57 +02:00
Lucas
f9d1010bfd
Merge branch 'trunk' into constrain_closure 2021-08-07 09:30:54 -04:00
Richard Feldman
49aa0b8ffd Eliminate a Vec in record solving 2021-08-07 08:35:43 -04:00
Folkert
7a44572ebc make occurs return Result to use the ? operator 2021-08-07 13:56:16 +02:00
Folkert
fe773995c8 make VariableSubsSlice 2021-08-07 13:12:39 +02:00
Folkert
ff505f695c Merge remote-tracking branch 'origin/trunk' into records-soa-again 2021-08-07 12:14:41 +02:00
Richard Feldman
b33ecc1bc3 Allow adding nodes that are smaller than 32B 2021-08-06 22:37:50 -04:00
Folkert
7f46073eaa Merge remote-tracking branch 'origin/trunk' into records-soa-again 2021-08-07 01:12:46 +02:00
Folkert
e0039b94c9 clippy 2021-08-07 01:12:42 +02:00
Folkert
69c224843e all the work 2021-08-07 00:51:53 +02:00
rvcas
ab696bed61 fix: clippy 2021-08-06 16:35:11 -04:00
rvcas
ccf599910b tests: better test that avoids a LetFunction 2021-08-06 16:27:16 -04:00
rvcas
4f376819b2 fix: FunctionDef was size 40 2021-08-06 13:42:52 -04:00
Anton-4
334f91392a let-value ast updating progress 2021-08-06 19:26:25 +02:00
rvcas
510c70d326 feat(ClosureExtra): wow this works I think 2021-08-06 13:23:46 -04:00
rvcas
f8687bd991 feat(Expr2): constrain closure implementation 2021-08-06 12:45:31 -04:00
rvcas
8ed4d44f0b feat(Expr2): add helpers to constrain a closure 2021-08-06 12:45:09 -04:00
rvcas
3036ac3367 tests: new test for constraining closures 2021-08-06 12:44:19 -04:00
Anton-4
d9e79eecb0
fixed typo 2021-08-06 11:09:06 +02:00
Anton-4
f8e3307c3f
Added @Chadtech 's editor idea, thanks Chad! 2021-08-06 11:08:03 +02:00
rvcas
1b2ac68ac5 feat: constrain InvalidLookip 2021-08-04 21:35:56 -04:00
rvcas
75cdad9cd6 feat: constrain PrivateTag
* we had use TagName in Type2::TagUnion
  * a helper function for constraining tags because
    the logic is exactly the same
  * implement pattern constraints for PrivateTag
  * also some helper function for constraining tag patterns
  * use TagName::Private in some of the builtin Num Type2
    stuff in constrain
2021-08-04 16:11:19 -04:00
rvcas
e8d48df26b test: add new test for private tag 2021-08-04 16:10:55 -04:00
Anton-4
e908b81f6a
Added snippet inspiration 2021-08-04 13:44:00 +02:00
Richard Feldman
19bcdeeea6
Merge branch 'trunk' into subs-soa 2021-08-03 23:47:17 -04:00
Richard Feldman
52adbffd9b
Merge pull request #1520 from rtfeldman/editor-ideas
Added curl translation editor idea
2021-08-03 23:47:07 -04:00
Folkert
efab1ef2ca implement 2021-08-04 00:33:05 +02:00
Folkert
d4896d3ed2 remove inlinable_string dependency 2021-08-03 21:24:19 +02:00
Folkert
ceb5cc66fa use IdentStr 2021-08-03 21:14:36 +02:00
Anton-4
e4b98ade95
added curl translation editor idea 2021-08-03 13:54:14 +02:00
Folkert
b4a0881b4d Merge remote-tracking branch 'origin/trunk' into records-soa 2021-08-01 20:35:24 +02:00
Folkert
cf5c38699b cleanup 2021-08-01 20:34:35 +02:00
Folkert
dfaaa21e81 use RecordFields 2021-08-01 17:50:38 +02:00
Folkert
a47f9baef4 Merge remote-tracking branch 'origin/trunk' into alias-nominal-equality 2021-07-31 22:59:01 +02:00
Anton-4
f78075bc2a
Added some fuzzy matching unit test ideas 2021-07-31 16:17:55 +02:00
Anton-4
15c475c4d2 Merge branch 'trunk' of github.com:rtfeldman/roc into snippet_ideas 2021-07-31 15:41:23 +02:00
Anton-4
a258d9261a more snippet ideas 2021-07-31 15:40:41 +02:00
Anton-4
49f11bebdd improved escape url example 2021-07-31 12:29:58 +02:00
Anton-4
3ade029bf6 added some snippet ideas 2021-07-31 12:13:59 +02:00
Richard Feldman
7350954590
Merge pull request #1506 from rtfeldman/constrain_runtime_error
Constrain Expr2::RunTimeError
2021-07-30 23:36:42 -04:00
Richard Feldman
5f9ab038fc
Merge pull request #1505 from rtfeldman/subs-get-ref
Subs get ref
2021-07-30 23:35:55 -04:00
rvcas
01aad21630 feat: constrain run time error 2021-07-30 22:57:58 -04:00
Folkert
894ef2b7b2 Merge remote-tracking branch 'origin/trunk' into alias-nominal-equality 2021-07-30 23:34:16 +02:00
Folkert
35404bd25f use get_content_without_compacting more 2021-07-30 22:15:17 +02:00
Anton-4
ad49c9a27d started snippet ideas file 2021-07-30 20:31:06 +02:00
Lucas
34d2924f7d
Merge branch 'trunk' into constrain_run_low_level 2021-07-30 14:21:32 -04:00
rvcas
d7c4595092 test: add ignored test case for now 2021-07-30 14:21:01 -04:00
Folkert
e805e63db6 typos 2021-07-30 16:54:22 +02:00
Folkert
13b05e54e8 Merge remote-tracking branch 'origin/clippy-1.54' into alias-nominal-equality 2021-07-30 14:25:50 +02:00
rvcas
fdfe727c51 feat: bring over the RunLowLevel implementation 2021-07-29 17:29:35 -04:00
rvcas
d90fd9e465 feat: add similar cases for U128 and I128 2021-07-29 17:24:58 -04:00
Folkert
899cbeabd7 fix extra ampersands 2021-07-29 17:32:08 +02:00
Folkert
27c3d57e35 BROKEN 2021-07-29 17:22:25 +02:00
Folkert
4cefbec5c7 store lambda set in alias types 2021-07-28 15:26:25 +02:00
Anton-4
dec1558983
Fix copy-paste typo 2021-07-23 10:51:54 +02:00
Anton-4
cacf91a9c3
Added 10x editor to inspiration 2021-07-23 10:47:07 +02:00
Anton-4
5ab1dda836 let value test, bug fixes, refactoring 2021-07-14 19:26:09 +02:00
Anton-4
495b3a49b7 let value is working 2021-07-14 11:46:06 +02:00
Anton-4
de4d311944 LetValue progress 2021-07-12 19:31:07 +02:00
Richard Feldman
a70810b455
Merge pull request #1461 from rtfeldman/no-unnecessary-ci
don't trigger CI tests on markdown file changes, separate out spellcheck
2021-07-11 10:57:01 -07:00
Richard Feldman
e7803e716d
Merge pull request #1464 from rtfeldman/editor-ideas
Editor ideas
2021-07-11 10:36:39 -07:00
Anton-4
9ceab03b42 let value progress 2021-07-10 20:13:43 +02:00
Anton-4
693342be11
Added refactoring pattern idea 2021-07-10 19:49:46 +02:00
Anton-4
0a7ce2017d
Further specified import suggestions 2021-07-10 17:27:06 +02:00
Anton-4
9a7c4930d3
Added boop to plugin inspiration 2021-07-10 14:42:31 +02:00
Anton-4
76d119e8f5 merged two loops into one for performance 2021-07-10 13:54:38 +02:00
Richard Feldman
1e39dac114
Merge branch 'trunk' into no-unnecessary-ci 2021-07-09 21:11:59 -07:00
Anton-4
f9db84cd35
Merge branch 'trunk' into no-unnecessary-ci 2021-07-09 17:55:12 +02:00
Anton-4
de4b48d207 don't trigger CI tests on markdown file changes, separate out spellcheck 2021-07-09 17:25:58 +02:00
Anton-4
80a0764962 Merge branch 'trunk' of github.com:rtfeldman/roc into multi-elt-list 2021-07-07 18:11:00 +02:00
Anton-4
e156fbef03 minor cleanup 2021-07-07 18:08:34 +02:00
Anton-4
e7c5cc5664 more tests 2021-07-07 17:13:25 +02:00
Anton-4
82828d3bd8 in between element insert working 2021-07-07 15:24:22 +02:00
Anton-4
7c1dc4a975 list insertion at any position, not yet correct on ast list node 2021-07-06 19:35:53 +02:00
Anton-4
3598e2dd7f multi elt list tests and bug fixes 2021-07-05 19:24:49 +02:00
Anton-4
96d4cd98b8
Added editor idea 2021-07-05 18:35:00 +02:00
Lucas
50cd5d97ab
Merge branch 'trunk' into constrain_update 2021-07-05 10:29:21 -04:00
Anton-4
eef740b51a
Voice command ideas 2021-07-05 15:52:02 +02:00
rvcas
879bea2339 chore: clippy is wrong :p 2021-07-04 16:16:50 -04:00
rvcas
1349da3f39 feat: return PoolVec directly, duplication seems inevitable 2021-07-04 16:08:48 -04:00
rvcas
d4da68e1d4 feat: use filter_map 2021-07-04 15:58:59 -04:00
Lucas
82076448b1
Merge branch 'trunk' into constrain_update 2021-07-04 15:36:53 -04:00
rvcas
40bb078882 feat: adjust rigids to let it fit better in ValueDef 2021-07-04 15:32:48 -04:00
Anton-4
f46a5fe4a8
Added editor ideas and inspiration 2021-07-03 16:48:20 +02:00
rvcas
197a34c41d fix: accidentally used experimental feature 2021-07-02 21:24:34 -04:00
rvcas
a6c6760c2a this compiles but has a lot of indirection 2021-07-02 21:00:57 -04:00
rvcas
e4bc0adc59 feat: make ValueDef an enum 2021-07-02 20:53:37 -04:00
Lucas
9340c84a80
Merge branch 'trunk' into constrain_update 2021-07-02 16:19:43 -04:00
rvcas
528e1f543b fix: value def adjustments 2021-07-02 16:17:26 -04:00
Anton-4
659f33c44b some multi element list tests 2021-07-02 19:08:05 +02:00
Anton-4
544ac86343 fixed poolvec bug, ast nodes are added to list 2021-07-02 16:27:01 +02:00
Anton-4
fdb0aa9eb7 multi element lists without updating ast nodes 2021-07-01 19:08:39 +02:00
Anton-4
d091c62f05
more editor ideas and inspiration 2021-07-01 13:49:36 +02:00
Anton-4
ece2a2b9d3 better error message when trying to open file with editor 2021-06-30 10:30:37 +02:00
Anton-4
166c8ac217 undo list space change 2021-06-29 16:57:00 +02:00
Anton-4
df4008438e fmt 2021-06-29 16:14:35 +02:00
Anton-4
bf69daa3bc more type tooltip tests 2021-06-29 16:11:20 +02:00
Anton-4
3bec3b9d03 single element lists, nested lists 2021-06-29 15:25:16 +02:00
rvcas
8f97637d1c tests: deal with new changes for RunTimeError 2021-06-28 18:54:44 -04:00
rvcas
5afcbeed20 fix: better RunTimeError case in nodes 2021-06-28 18:54:21 -04:00
rvcas
f4b6bdd758 fix: capacity 2 2021-06-28 12:00:54 -04:00
rvcas
d817ecb51d feat(markup): add explicit case for RuntimeError 2021-06-28 11:54:19 -04:00
rvcas
6b882b85de feat(Expr2): implement Env::problem 2021-06-28 11:53:47 -04:00
rvcas
a00a8c8e97 fix: imports 2021-06-28 11:52:51 -04:00
Anton-4
0657e21fdb can make empty list in editor, panic on type tooltip 2021-06-28 15:54:19 +02:00
Anton-4
ed35becc11
Merge branch 'trunk' into constrain_update 2021-06-28 10:33:04 +02:00
Lucas
ce39d23ebd
Merge branch 'trunk' into constrain_update 2021-06-28 00:13:44 -04:00
rvcas
8ae8f50a0a fix: LetValue constraint gen 2021-06-28 00:13:19 -04:00
rvcas
11a1111e33 feat(ValueDef): add expr and some hacks to get this to compile 2021-06-28 00:12:37 -04:00
Anton-4
f5a7604b83 type tooltip tests 2021-06-26 17:11:17 +02:00
Anton-4
38db75614e updated VarStore without cloning 2021-06-26 13:50:56 +02:00
Anton-4
2aa412f836 made VarStore cloneable to make type tooltips work 2021-06-26 12:14:21 +02:00
Anton-4
ff2ed8a1a4
Added hazel livelit to editor inspiration 2021-06-26 10:53:53 +02:00
Anton-4
47fe878492 updated to wgpu 9.0, added editor inspiration 2021-06-25 19:07:14 +02:00
rvcas
c4f9812ad8 test: split into two 2021-06-21 17:26:55 -04:00
rvcas
477dee0ae6 feat(Expr2): constrain LetValue and Update 2021-06-21 00:23:05 -04:00
rvcas
e69b798857 chore: pending def should be pub 2021-06-21 00:22:32 -04:00
rvcas
876687e078 feat(Expr2): support Defs and add desugaring 2021-06-21 00:21:42 -04:00
rvcas
8b957ea712 feat: more consistent field name 2021-06-21 00:19:27 -04:00
rvcas
1f467ec62b test: constrain update 2021-06-21 00:19:00 -04: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
rvcas
1d9320ba8f fix: Pattern2
* make Pattern2 fit in 32 by commenting out two fields in Shadowed
* make Global/Private Tag arguments field smaller by using PatternId
2021-06-15 21:32:39 -04:00
rvcas
cc96dd0a76 chore: how did this get past me locally 2021-06-15 19:33:51 -04:00
rvcas
b84fc85753 test: new test for when constraints 2021-06-15 19:21:20 -04:00
rvcas
e300acf2a8 feat: implement When constraints 2021-06-15 19:20:59 -04:00
rvcas
22dc0fe6c7 feat: implement shallow clone for PExpected 2021-06-15 19:20:15 -04:00
rvcas
05181e4be0 feat: create PatternState2 2021-06-15 19:19:11 -04:00
rvcas
4652d77e84 feat: remove Located from Let constaints 2021-06-15 19:18:25 -04:00
rvcas
943047f207 feat: introduce Pattern constraint 2021-06-15 19:17:01 -04:00
rvcas
3733d3035e feat: new imports 2021-06-15 19:15:16 -04:00
Folkert
4539c6feb3 remove list_var from the editor ast 2021-06-13 16:57:44 +02:00