Commit graph

5795 commits

Author SHA1 Message Date
Sébastien Besnier
4e9387cbda fix compile issues 2020-12-28 21:17:27 +01:00
Sébastien Besnier
07d4f8dc15 make clippy happy 2020-12-28 19:54:17 +01:00
Anton-4
12990d293c added limited shift+arrow functionality (with bugs) #776 2020-12-28 19:47:50 +01:00
Sébastien Besnier
69c38e5bf7 add some commented tests -- it doesn't involve trialing commas too much... 2020-12-28 19:12:37 +01:00
Sébastien Besnier
965d151168 add tag union tests for trailing commas formatting 2020-12-28 18:57:45 +01:00
Sébastien Besnier
7692bd5671 add test... and fix missing final comments! 2020-12-28 18:41:48 +01:00
Sébastien Besnier
3d0a5aa89a format multline litera list with trailing comma 2020-12-28 18:37:41 +01:00
Sébastien Besnier
83aa5c1642 add final_comments to List's AST 2020-12-28 18:17:56 +01:00
Sébastien Besnier
04d0711251 multiline tests update for trailing comma
This reverts commit 4dbde30c4f6584871d3e8c54fd89b3ee27a82b72.
2020-12-28 17:54:44 +01:00
Sébastien Besnier
2f3d74e8bd fix empty record with only comments in it 2020-12-28 17:54:35 +01:00
Anton-4
da6fe428a3 went from single String 'text_state' to Vec<String> 'lines' 2020-12-28 16:56:19 +01:00
Anton-4
103cccd61b put more things in the model 2020-12-28 15:41:48 +01:00
Anton-4
0556e61ca2 Added position struct for text selection 2020-12-28 11:40:29 +01:00
Folkert
a6ee72dbac basic version of editor/module 2020-12-27 16:22:34 +01:00
Folkert
264b6884f0 Merge remote-tracking branch 'origin/trunk' into editor-ast-module 2020-12-27 15:37:27 +01:00
Richard Feldman
b1bf03e7a0
Merge pull request #830 from rtfeldman/empty-tag-union
make empty tag union compile
2020-12-26 23:41:44 -05:00
Richard Feldman
7a53003313
Merge pull request #826 from rtfeldman/bughunt
Throw on overflow in Num.neg/Num.abs & fix mono bug
2020-12-26 23:41:11 -05:00
Richard Feldman
16df2c8bcb
Merge pull request #829 from rtfeldman/functions-in-repl
Functions in repl
2020-12-26 23:38:53 -05:00
Richard Feldman
7ebb205e4d
Merge pull request #828 from rtfeldman/vars-by-symbol-refactor
Vars by symbol refactor
2020-12-26 23:37:36 -05:00
Folkert
29e726591f make empty tag union compile 2020-12-27 01:01:18 +01:00
Folkert
a760a41e1f repl: show error for partial application 2020-12-26 22:13:05 +01:00
Folkert
ebe22c9903 repl support for already-defined functions 2020-12-26 21:54:00 +01:00
Folkert
12c7b5435a generate more runtime errors 2020-12-26 21:30:25 +01:00
Folkert
3d1824c658 add test 2020-12-26 21:20:50 +01:00
Folkert
95e0faad30 show type of lambda in the repl 2020-12-26 21:19:45 +01:00
Anton-4
8219293e65 added InvalidSelection error, moved all selection stuff to separate file 2020-12-26 20:22:40 +01:00
Anton-4
8c55f4b172 use snafu for errors, pretty backtraces, added backtrace editor idea 2020-12-26 19:24:09 +01:00
Folkert
099584f4ee SendMap -> MutMap in tests 2020-12-26 18:37:30 +01:00
Folkert
b5c7c26978 SendMap -> MutMap 2020-12-26 18:12:43 +01:00
Folkert
2ef7072247 change type of exposed_vars_to_symbol 2020-12-26 17:46:15 +01:00
Folkert
0099e3e9fd rely on the symbol -> var mapping from solving; don't extract var from the def itself 2020-12-26 17:39:16 +01:00
Folkert
0d17e9a879 only store exposed symbols in Module 2020-12-26 17:18:03 +01:00
Folkert
58507fa7d9 recover symbol -> variable mapping from type inference 2020-12-26 17:16:02 +01:00
Folkert
4ff06ebac5 remove duplication in solve.rs 2020-12-26 17:06:29 +01:00
Folkert
6209adbd5c remove dead code 2020-12-26 17:05:01 +01:00
Anton-4
81412786db working multiline selection, added unit test recording to editor-ideas 2020-12-26 11:15:01 +01:00
Richard Feldman
48fdcbf949
Merge branch 'trunk' into bughunt 2020-12-26 00:04:04 -05:00
Richard Feldman
da0f239244
Merge pull request #823 from rtfeldman/editor-ast-def
Editor ast def
2020-12-26 00:03:52 -05:00
Richard Feldman
ad3372dc72
Merge pull request #820 from rtfeldman/ci_caching_fix
added sccache binary based on mozilla/sccache/pull/869, updated ci.yml with correct syntax
2020-12-26 00:02:56 -05:00
Folkert
5418dd8e76 clippy 2020-12-26 00:52:37 +01:00
Folkert
125146aac7 Merge remote-tracking branch 'origin/trunk' into bughunt 2020-12-26 00:51:22 +01:00
Folkert
59d6cdba04 make Num.neg raise on overflow 2020-12-26 00:50:09 +01:00
Folkert
f0ce8006d2 factor out basic_type_from_builtin 2020-12-26 00:48:40 +01:00
Folkert
51cf54e367 raise exception on Num.abs overflow 2020-12-25 21:26:29 +01:00
Folkert
2bcaf3921f fix #333: bug with symbol in if condition 2020-12-25 20:14:25 +01:00
Anton-4
7a70c95bb4 rewrite to support multi line selection(unfinished) 2020-12-25 19:46:31 +01:00
Anton-4
fc96d93046
Merge branch 'trunk' into ci_caching_fix 2020-12-25 17:14:34 +01:00
Anton-4
d6bdfc7214 forgot backtick 2020-12-25 14:12:17 +01:00
Anton-4
ffb5e61523 cleaned up CPU prefix 2020-12-25 14:06:46 +01:00
Anton-4
b87069d014 use new cmd to set env vars inside github workflow 2020-12-25 13:07:03 +01:00