Commit graph

99 commits

Author SHA1 Message Date
Shunsuke Shibayama
51cae591a3 feat: allow separating sample code and doc-comments 2023-02-17 20:37:15 +09:00
Shunsuke Shibayama
66ece61af2 refactor(pystd): use methods declaration syntax 2023-02-17 15:15:11 +09:00
Shunsuke Shibayama
7e9cef9c07 chore(els): improve completion 2023-02-17 13:39:46 +09:00
Shunsuke Shibayama
d1ee28db78 fix: method decls visibility bug 2023-02-17 01:51:11 +09:00
Shunsuke Shibayama
b4b02fd0f6 feat: implement methods declaration syntax 2023-02-17 01:26:04 +09:00
Shunsuke Shibayama
a694880ff4 fix(compiler): eliminate panic!/todo!s 2023-02-16 23:48:22 +09:00
Shunsuke Shibayama
305763f251 Update register.rs 2023-02-16 05:54:21 +09:00
Shunsuke Shibayama
99b44fc02b feat: add PylyzerStatus 2023-02-16 05:43:48 +09:00
Shunsuke Shibayama
ec9ecb98b7 Update codegen.rs 2023-02-15 13:22:47 +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
99db34b61c feat(els): support d.er renaming
* fix a bug that left diagnostics
* fix to include PyModule in dependencies
* fix `clear_cache`
2023-02-14 19:59:43 +09:00
Shunsuke Shibayama
f3fd5e3eeb feat(els): support module renaming 2023-02-14 16:23:45 +09:00
Shunsuke Shibayama
461e8229d7 chore(els): improve completion 2023-02-13 23:01:12 +09:00
Shunsuke Shibayama
ecd8ea6769 Update varinfo.rs 2023-02-13 21:32:21 +09:00
Shunsuke Shibayama
515b87b106 refactor: condition => test, err_message => msg 2023-02-13 15:56:08 +09:00
Shunsuke Shibayama
16cf80cd23 chore(els): improve patch support 2023-02-13 15:43:18 +09:00
Shunsuke Shibayama
2574de3a68 fix: some bugs
Fixed:

* argument `_` of anonymous function disappears
* els crashes
* incomplete `.update!` codegen
2023-02-13 15:06:50 +09:00
Shunsuke Shibayama
da7ff0a258 fix(compiler): issue with warns about other files 2023-02-13 12:26:15 +09:00
Shunsuke Shibayama
2ad38717cd Merge branch 'main' into fix-type-matching 2023-02-13 02:31:37 +09:00
Shunsuke Shibayama
020a9e159b fix(typechecker): type-var subtyping bug 2023-02-13 02:27:30 +09:00
Shunsuke Shibayama
4bb81eccad fix(typechecker): ref/ref! subtyping bug 2023-02-13 02:12:05 +09:00
Cai BingJun
2fe696fb82 Merge branch 'main' of https://github.com/erg-lang/erg 2023-02-12 20:25:07 +08:00
Cai BingJun
707708342a fix: Chinese error message 2023-02-12 20:25:04 +08:00
Shunsuke Shibayama
f194d44286 fix(parse): eliminate todo!s 2023-02-12 20:59:36 +09:00
Shunsuke Shibayama
8eeafc8563 Update effectcheck.rs 2023-02-12 18:05:32 +09:00
Shunsuke Shibayama
38ad42068e
Merge branch 'main' into fix-type-matching 2023-02-12 17:50:39 +09:00
Shunsuke Shibayama
ba19cb107d Update _erg_str.py 2023-02-12 17:48:16 +09:00
Shunsuke Shibayama
b1a3e97334 fix: crash 2023-02-12 11:04:41 +09:00
Shunsuke Shibayama
e94acfcc0b Update _erg_in_operator.py 2023-02-12 01:48:23 +09:00
Shunsuke Shibayama
af0fff8226 fix(compiler): runtime type matching system 2023-02-12 01:34:12 +09:00
Shunsuke Shibayama
92614ce8d2 feat(compiler): add hint for unused subroutines 2023-02-11 16:11:19 +09:00
Shunsuke Shibayama
26046d90e5 fix(typechecker): type assignment bug for bound methods 2023-02-11 16:00:15 +09:00
Shunsuke Shibayama
5d68d50dda feat(els): add case-change action 2023-02-11 14:20:15 +09:00
Cai BingJun
4ca2de448e Merge branch 'main' of https://github.com/erg-lang/erg 2023-02-11 12:57:45 +08:00
Cai BingJun
238fa3cf42 fix: incorrect error message 2023-02-11 12:57:17 +08:00
Shunsuke Shibayama
b31d19d19b fix(transpiler): importing _erg_float bug 2023-02-10 02:07:50 +09:00
Shunsuke Shibayama
68850e8d8b fix(codegen): problem with large code causing codegen to fail 2023-02-10 01:32:29 +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
94a62d22ac fix: improve completion 2023-02-08 20:40:38 +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
Shunsuke Shibayama
a3d4601a8c Update subprocess.d.er 2023-02-08 00:22:29 +09:00
Shunsuke Shibayama
06b4df6568 fix(REPL): suppress unused vars warn in REPL 2023-02-08 00:12:52 +09:00
Shunsuke Shibayama
89d830c364 feat(Array): add dedup, partition method 2023-02-07 23:59:23 +09:00
Shunsuke Shibayama
3a14bbe37e fix: codegen expr 2023-02-07 23:44:17 +09:00
Shunsuke Shibayama
95672909f1 Update register.rs 2023-02-07 21:59:24 +09:00
Shunsuke Shibayama
2580e1cc32 fix: unused warning leaks 2023-02-07 01:15:16 +09:00
Shunsuke Shibayama
f6f58d7678 feat(compiler): impl warns for unused private vars 2023-02-06 18:15:17 +09:00