Commit Graph

20625 Commits

Author SHA1 Message Date
Richard Feldman
fcfd9fa709
Move exhaustiveness_problem to repl state test 2022-10-30 07:22:31 -04:00
Richard Feldman
e0e25a48bf
Add comment_str 2022-10-30 07:17:10 -04:00
Richard Feldman
a574dff481
Don't print repl output if there were errors 2022-10-30 05:57:21 -04:00
Richard Feldman
062d532fa4
Fix most repl tests 2022-10-30 05:47:05 -04:00
Richard Feldman
752e315ada
Add persisted defs and auto defs repl tests 2022-10-30 05:40:43 -04:00
Richard Feldman
c09fd8b7c5
Update repl state tests 2022-10-30 05:34:19 -04:00
Richard Feldman
08cf8e727f
have the repl eval named defs 2022-10-30 03:58:44 -04:00
Richard Feldman
4d8a3ba3d7
Don't persist defs if they have errors 2022-10-30 03:42:30 -04:00
Richard Feldman
60d2d00651
Drop some unused comments 2022-10-30 03:42:15 -04:00
Richard Feldman
51cb51d485
Gracefully recover from malformed closure in repl 2022-10-30 03:31:54 -04:00
Richard Feldman
e93d9b81d8
Report repl compile errors as bugs 2022-10-30 03:19:47 -04:00
Richard Feldman
9ed13eb97b
Don't panic when repl code crashes 2022-10-30 03:14:46 -04:00
Richard Feldman
0190787f7b
Revert "send panics to the repl more gracefully"
Now doesn't seem like the right time to do a change this invasive.

This reverts commit a36ddbf6cb.
2022-10-30 03:12:53 -04:00
Richard Feldman
a36ddbf6cb
WIP send panics to the repl more gracefully 2022-10-30 03:12:41 -04:00
Richard Feldman
45e800c328
Don't print warnings in the REPL 2022-10-30 03:12:27 -04:00
Richard Feldman
5110727795
Drop some unnecessary parens 2022-10-30 02:49:54 -04:00
Richard Feldman
875a2181a0
Right-align var_name output in repl (at 80 cols) 2022-10-30 02:47:26 -04:00
Richard Feldman
aa1dcee709
Hackily filter out UNUSED warnings in repl 2022-10-30 02:18:52 -04:00
Richard Feldman
b7d3c77b76
Have the repl eval anyway if there are errors 2022-10-27 18:47:32 -04:00
Richard Feldman
f841cdb2c0
Persist defs 2022-10-27 18:47:32 -04:00
Richard Feldman
90e79379cb
Remove test dependency on rustyline 2022-10-27 18:47:32 -04:00
Richard Feldman
5b36d2c41c
Drop pending_src, fix repl tips 2022-10-27 18:47:32 -04:00
Richard Feldman
6038965cb6
Fix some repl state machine bugs 2022-10-27 18:47:32 -04:00
Richard Feldman
f11b2d21cb
Drop an unused Result 2022-10-27 18:47:31 -04:00
Richard Feldman
6fbafad3ff
Share code between validation and step 2022-10-27 18:47:31 -04:00
Richard Feldman
0a80b543b4
Add first ReplState test 2022-10-27 18:47:31 -04:00
Richard Feldman
a6c1667d37
Reorganize repl modules 2022-10-27 18:47:31 -04:00
Richard Feldman
9f498add60
Reorganize some REPL modules 2022-10-27 18:47:27 -04:00
Richard Feldman
2e873d6a9a
Add linked_list_extra 2022-10-27 18:46:15 -04:00
Richard Feldman
4c02a38a99
Drop some apparently-unreachable code 2022-10-27 18:46:15 -04:00
Richard Feldman
63c7b90113
Have repl validator accept top level defs 2022-10-27 18:46:15 -04:00
Richard Feldman
ba6457779d
Fix :help newline 2022-10-27 18:46:15 -04:00
Richard Feldman
f85c10c4bb
Colorize ctrl-v + ctrl-j in repl instructions 2022-10-27 18:46:14 -04:00
Richard Feldman
8a29d50f4e
Swap when TIPS and SHORT_INSTRUCTIONS print 2022-10-27 18:46:14 -04:00
Richard Feldman
de6e7840cb
Merge pull request #4410 from roc-lang/editor_ideas
more editor ideas
2022-10-27 08:15:02 -07:00
Brendan Hansknecht
00687edbc7
Merge pull request #4380 from roc-lang/dummy-lib
Add a roc subcommand for generating the stub shared lib
2022-10-27 03:06:19 +00:00
Richard Feldman
67a8bbd6a2
Merge pull request #4414 from roc-lang/i4412
Parse and format list patterns
2022-10-26 19:49:12 -07:00
Richard Feldman
c894d522c3
Drop some commented-out lines
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2022-10-26 22:48:37 -04:00
Richard Feldman
93c6b65a4d
Merge pull request #4409 from roc-lang/parse-single-def
Extract parse_single_def
2022-10-26 19:44:35 -07:00
Richard Feldman
719387bb0a
Merge pull request #4387 from lukewilliamboswell/std-lib-bool
updated docs for Bool.roc
2022-10-26 19:43:51 -07:00
Richard Feldman
9d5705146d
Merge pull request #4392 from lukewilliamboswell/std-docs-box-and-dict
updating docs for Box and Dict
2022-10-26 19:39:44 -07:00
Ayaz Hafiz
89867a4dc5
Add parsing error reporting for list patterns 2022-10-26 18:05:52 -05:00
Ayaz Hafiz
9bb523ce97
Format list patterns 2022-10-26 17:08:10 -05:00
Ayaz Hafiz
4d35ab9957
Parse list patterns 2022-10-26 17:03:22 -05:00
Richard Feldman
40498d71c3
clip clap clorp 2022-10-26 16:11:30 -04:00
Anton-4
04899675e4
more editor ideas 2022-10-26 20:21:07 +02:00
Folkert de Vries
02a76bb8bd
Merge pull request #4399 from roc-lang/no-types-in-constraining-api
Have most constraining APIs take a type index rather than `Type`
2022-10-26 19:45:55 +02:00
Richard Feldman
c748d88c0d
Fix typo in docs 2022-10-26 13:44:13 -04:00
Richard Feldman
785e0d5ef6
Revise things to be more concise 2022-10-26 13:44:13 -04:00
Richard Feldman
9b19ed8b3b
Refactor out Next 2022-10-26 13:44:12 -04:00