Commit graph

2861 commits

Author SHA1 Message Date
Richard Feldman
eaa0824347
Fix wasm repl multiline string test 2022-10-31 08:03:22 -04:00
Richard Feldman
50ebffad5a
Fix Windows Readline error 2022-10-31 07:28:24 -04:00
Richard Feldman
9265d6480d
clippy 2022-10-31 07:12:57 -04:00
Richard Feldman
71bb6b3e7d
Update format_answer call in repl_wasm 2022-10-31 07:09:00 -04:00
Richard Feldman
7f1efae6e0
Drop obsolete test 2022-10-31 07:06:31 -04:00
Richard Feldman
664526a167
Fix repl multiline string test 2022-10-31 07:05:18 -04:00
Richard Feldman
212090769f
Fix repl handling of invalid layouts 2022-10-31 06:57:52 -04:00
Richard Feldman
d6853519d8
Expand repl TIPS 2022-10-31 06:53:27 -04:00
Richard Feldman
cb7ee6a43a
Have repl error eagerly on confirmed syntax errors 2022-10-31 06:40:38 -04:00
Richard Feldman
e6bd2a5f30
Handle syntax errors in repl 2022-10-31 06:22:35 -04:00
Richard Feldman
6227e37559
Ignore shadowing repl test for now 2022-10-31 06:17:48 -04:00
Richard Feldman
2b89f53e76
Right-align var_name if terminal under 80 chars 2022-10-31 06:14:43 -04:00
Richard Feldman
ea67b729c3
Fix a bunch of repl test trimming issues 2022-10-30 15:10:49 -04:00
Richard Feldman
8b4e864a90
Support opaques, aliases, and abilities in repl 2022-10-30 15:03:59 -04:00
Richard Feldman
9f7a38408a
Only consider the last line of stdout in repl tests 2022-10-30 14:54:28 -04:00
Richard Feldman
5fdca82519
Fix a test 2022-10-30 14:44:58 -04:00
Richard Feldman
23974dc753
Drop unused lifetime annotation 2022-10-30 14:42:00 -04:00
Richard Feldman
d7fd72c905
Fix eval-ing functions in repl 2022-10-30 14:41:57 -04:00
Richard Feldman
eebf973f11
repl treats whens as incomplete until blank line 2022-10-30 13:48:06 -04:00
Richard Feldman
fccc2ed497
Update panic message in repl 2022-10-30 13:35:49 -04:00
Richard Feldman
0c8f6a0a72
Fix annotated defs in repl 2022-10-30 13:34:38 -04:00
Richard Feldman
daa87093ca
Don't drop defs that would be shadowed 2022-10-30 12:42:20 -04:00
Richard Feldman
e38ae00c65
Expose macros for joining up AnnotatedBody nodes 2022-10-30 12:36:10 -04:00
Richard Feldman
c39ac00659
Add annotated_body repl test 2022-10-30 07:23:49 -04:00
Richard Feldman
99f4d99771
Revert "Attempt a refactor, but run into lifetime issues"
This reverts commit 4a9b44aaaf.
2022-10-30 07:22:32 -04:00
Richard Feldman
4a9b44aaaf
Attempt a refactor, but run into lifetime issues 2022-10-30 07:22:31 -04:00
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
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