Commit graph

134 commits

Author SHA1 Message Date
Shunsuke Shibayama
70f2fe0234 fix: minor bugs 2023-02-26 03:40:13 +09:00
Shunsuke Shibayama
948f123ce8 feat(els): support code lens 2023-02-26 01:16:28 +09:00
Shunsuke Shibayama
af3c912b17 feat: support tqdm 2023-02-25 01:58:37 +09:00
Shunsuke Shibayama
50c476b66f fix: path-related bugs 2023-02-25 00:54:11 +09:00
Shunsuke Shibayama
f86a449846 Update str.rs 2023-02-24 17:03:39 +09:00
Shunsuke Shibayama
7c748f223a fix: Structural subtyping bug
fix: `contains_tvar`
2023-02-24 09:49:22 +09:00
Shunsuke Shibayama
aaa6b40b24 feat: support Structural types for methods 2023-02-23 18:12:05 +09:00
Shunsuke Shibayama
8903e84011 feat(els): support signature help 2023-02-22 17:54:04 +09:00
Shunsuke Shibayama
aa2cea60dd fix: quantified subroutine subtyping bugs 2023-02-22 02:40:51 +09:00
Shunsuke Shibayama
4dcca2b06d fix(typechecker): type generalization & dereference bugs
* `Context::subtype_of` now has `allow_cast` param. If this is `false`, cast-aware comparisons are not performed.
2023-02-21 17:04:52 +09:00
Shunsuke Shibayama
590525588c chore(els): improve completion order 2023-02-20 23:55:27 +09:00
Shunsuke Shibayama
6a607870f3 fix: type quantification bugs 2023-02-20 20:38:36 +09:00
Shunsuke Shibayama
6d18fde0b1 fix: fn_name! in a closure shows "{{closure}}" 2023-02-20 01:16:08 +09:00
Shunsuke Shibayama
9a131ecc53 fix: #399 2023-02-17 21:27:37 +09:00
Shunsuke Shibayama
677ced0fcd feat: add std.d 2023-02-17 21:09:23 +09:00
Shunsuke Shibayama
51cae591a3 feat: allow separating sample code and doc-comments 2023-02-17 20:37:15 +09:00
Shunsuke Shibayama
7e9cef9c07 chore(els): improve completion 2023-02-17 13:39:46 +09:00
Shunsuke Shibayama
a2e4cbcd0a chore: display fix-suggests for incorrect CLI args 2023-02-15 16:39:22 +09:00
Shunsuke Shibayama
712e665ac2 Update levenshtein.rs 2023-02-15 12:54:09 +09:00
Shunsuke Shibayama
dd7ff1adbc perf: optimize levenshtein 2023-02-15 12:25:02 +09:00
Shunsuke Shibayama
5f6c8a3b2b perf: reduce performing of .loc() 2023-02-15 03:27:08 +09:00
Shunsuke Shibayama
5d90029f09 perf: delaying execution of .loc() 2023-02-15 01:08:49 +09:00
Shunsuke Shibayama
929f8b25ce chore(compiler): improve import error messages 2023-02-14 22:58:02 +09:00
Shunsuke Shibayama
f3fd5e3eeb feat(els): support module renaming 2023-02-14 16:23:45 +09:00
Shunsuke Shibayama
da7ff0a258 fix(compiler): issue with warns about other files 2023-02-13 12:26:15 +09:00
Shunsuke Shibayama
5d68d50dda feat(els): add case-change action 2023-02-11 14:20:15 +09:00
Shunsuke Shibayama
ea4253279e
Merge pull request #391 from erg-lang/feature-els-file-cache
Add `FileCache`
2023-02-09 00:16:37 +09:00
Shunsuke Shibayama
988dfd9b93 feat(els): add doc for completion item 2023-02-08 23:35:23 +09:00
Shunsuke Shibayama
72b4425191
Merge pull request #362 from C-BJ/improve-repl
feat(REPL): improve interactive experience
2023-02-08 11:16:36 +09:00
GreasrySlug
26eaa7b223 refactor: add TODO and include condition 2023-02-08 10:49:25 +09:00
Shunsuke Shibayama
4571ced013 feat(els): implement file cache
This change increases the efficiency of file IO and improves the accuracy of completions.
2023-02-08 04:04:20 +09:00
GreasrySlug
7a8fc44f29 fix(REPL): add assign block and inherit case 2023-02-06 16:42:53 +09:00
GreasrySlug
a498b906c4 fix(REPL): add the code 2023-02-06 15:12:16 +09:00
Shunsuke Shibayama
d8f4d14abd feat(parser): add type_spec_to_expr 2023-02-06 12:04:15 +09:00
GreasrySlug
ded77b7111 chore: correction of mistake 2023-02-06 11:07:38 +09:00
GreasrySlug
d054750bf7 feat(REPL): add expect block of @ and classDef
Class definition is now evaluated as chunk
definition that come after the @ is error
Flattened pattern match of BlockKind
2023-02-06 10:59:05 +09:00
GreasrySlug
39af336338 fix: use write_all instead of println! 2023-02-06 10:59:05 +09:00
Shunsuke Shibayama
a2a55b0645 refactor: rem impl_stream_for_wrapper and merge into impl_stream 2023-02-06 04:11:25 +09:00
GreasrySlug
ba4ef3941a fix(REPL): indent depth 1 when multi line string 2023-02-05 12:51:13 +09:00
Cai BingJun
22ed2f65bb fix(repl):blocks input of characters than 1 byte 2023-02-05 10:47:45 +08:00
GreasySlug
beed07ec35 refactor: duplicate codes are put together 2023-02-04 22:07:12 +09:00
GreasySlug
dca7830e25 fix: add unsuccess test 2023-02-04 13:44:05 +09:00
Cai BingJun
126280ade5 clippy --all --fix and fmt 2023-02-04 10:43:51 +08:00
Cai BingJun
f02d03a054 fix bugs 2023-02-04 10:40:15 +08:00
GreasrySlug
79b116202d fix: place at-sign in expect_block 2023-02-03 21:14:48 +09:00
Shunsuke Shibayama
61276bd80f fmt 2023-02-03 19:11:31 +09:00
Cai BingJun
4b03dcd280 finish paste function 2023-02-03 17:22:19 +08:00
Cai BingJun
82be7cf5c2 fix bug 2023-02-03 16:45:21 +08:00
Cai BingJun
64e4587295 add paste function 2023-02-03 16:41:20 +08:00
Cai BingJun
b33365ed8e add paste function 2023-02-03 15:35:47 +08:00