Commit graph

169 commits

Author SHA1 Message Date
Shunsuke Shibayama
f561eebc2f chore: improve pattern match 2023-09-27 11:59:20 +09:00
Shunsuke Shibayama
0f96ee945d Merge branch 'main' into fix-match 2023-09-25 02:58:53 +09:00
Shunsuke Shibayama
25d143b04a fix!(parser): handling of line breaks in enclosures 2023-09-23 23:50:28 +09:00
Shunsuke Shibayama
b33ce38ed5 chore: add DefBody::pre_block 2023-09-20 12:32:25 +09:00
Shunsuke Shibayama
31246138b3 chore: add ModuleEntry.ast 2023-09-14 01:29:35 +09:00
Shunsuke Shibayama
821ea2a252 Update lex.rs 2023-09-11 22:55:34 +09:00
Shunsuke Shibayama
21ca95417f chore: fix comprehension desugaring 2023-09-11 22:13:47 +09:00
Shunsuke Shibayama
3fd66f1a32 feat: (partial) comprehension support 2023-09-11 02:24:03 +09:00
Shunsuke Shibayama
abb025afd4 fix: symop codegen bug 2023-09-09 17:29:19 +09:00
Shunsuke Shibayama
21cb0bb4c1 feat: support symbolized operators 2023-09-09 16:45:24 +09:00
Shunsuke Shibayama
a6106b6139 Update token.rs 2023-09-06 10:54:04 +09:00
Shunsuke Shibayama
6cfae0066b chore(els): HIRVisitor::get_min_expr takes position instead of token 2023-08-30 13:14:04 +09:00
Shunsuke Shibayama
74bca70017 feat: add Array.update_nth! 2023-08-28 15:33:58 +09:00
Shunsuke Shibayama
952e6ccd2e fix: array pattern matching 2023-08-27 20:29:40 +09:00
Shunsuke Shibayama
5a6cea0df1 chore: add ArrayTypeSpec::sqbrs 2023-08-27 18:46:56 +09:00
Shunsuke Shibayama
b826d05d8f chore: add Token::new_fake 2023-08-27 17:16:36 +09:00
Shunsuke Shibayama
06c14c35e5 chore: add Token::col_end 2023-08-27 16:49:01 +09:00
Shunsuke Shibayama
936b6e2f95 chore: eliminate clippy warns 2023-08-24 23:38:27 +09:00
Shunsuke Shibayama
e61c0c485e fix: discarded variable bug 2023-08-14 21:45:40 +09:00
Shunsuke Shibayama
2e9fb48f2e fix: in operator
* remove `In` trait, `__in__`, `__notin__` function
* desugar to `__contains__`
* impl Collection for Array, Set, Tuple
2023-08-13 01:01:06 +09:00
Shunsuke Shibayama
f4e1d494a4 fix: array type inferring 2023-08-06 22:51:13 +09:00
Shunsuke Shibayama
0dd5ac0775 Merge branch 'main' into shape 2023-08-02 15:59:24 +09:00
Shunsuke Shibayama
f298db96d1 fix: warn unused type variables 2023-08-02 15:07:31 +09:00
Shunsuke Shibayama
6c3536cc31 fix: declaration bugs 2023-07-31 11:08:53 +09:00
Shunsuke Shibayama
3eb2d439ca fix: eliminate of unnecessary file escapes 2023-07-26 17:53:29 +09:00
Shunsuke Shibayama
072d62f7b3 fix: reduce unreachables 2023-07-15 12:40:23 +09:00
Shunsuke Shibayama
9025fe7e99 feat: add bin/oct/hex literal 2023-07-12 16:31:39 +09:00
Shunsuke Shibayama
953b5806b5 Update ast.rs 2023-07-12 14:27:35 +09:00
Shunsuke Shibayama
8c81a43c79 fix: string interpolation bug 2023-07-08 15:40:41 +09:00
Shunsuke Shibayama
3f9e70bd9d fix: Self type bugs 2023-07-08 13:17:09 +09:00
Shunsuke Shibayama
fcf97fb172 fix: default-paramaters bugs 2023-07-08 02:32:14 +09:00
Shunsuke Shibayama
74e1ae8dfc feat: add todo
* fix: default params display
2023-07-07 22:37:45 +09:00
Shunsuke Shibayama
d49e6fa70c feat(els): parallelize Server 2023-06-21 01:16:53 +09:00
Shunsuke Shibayama
d6f30924f1 chore: add FreshNameGenerator 2023-06-10 15:31:26 +09:00
Shunsuke Shibayama
46cf002a71 fix: Shared<usize> -> AtomicShared 2023-06-10 14:10:55 +09:00
Shunsuke Shibayama
5ea48ab88e fix: desugaring leaks 2023-06-10 13:46:10 +09:00
Slug
57e5a50e1b
Merge pull request #320 from GreasySlug/feature/parser-err
Classify parser errors and use them

- Internal error(parser bug)
- Invalid/unintended syntax error
2023-06-09 22:29:35 +09:00
Shunsuke Shibayama
ce6a6dbecd fix: typo 2023-06-09 22:23:25 +09:00
Shunsuke Shibayama
924b22a171 Merge branch 'main' into pr/320 2023-06-09 22:04:44 +09:00
Shunsuke Shibayama
d75ac0c17b chore: add erg_common::io module 2023-06-09 12:11:13 +09:00
Shunsuke Shibayama
324618dbdc chore(parser): return AST and Warnings 2023-06-09 02:36:41 +09:00
GreasySlug
30a9aab6d4 fix(parser): modification of wording 2023-06-05 00:37:26 +09:00
GreasySlug
9f8746c4de Merge branch 'main' of https://github.com/GreasySlug/erg into feature/parser-err 2023-06-04 20:50:51 +09:00
Cai Bingjun
47718b43e1 fix: modify Chinese error information 2023-06-04 14:49:40 +08:00
Cai Bingjun
d707da8ba6
fix: modify Chinese error information 2023-06-04 14:44:33 +08:00
Cai Bingjun
fdce1e2336
fix: modify Chinese error information 2023-06-04 14:39:28 +08:00
Shunsuke Shibayama
4137a07b70 chore(els): impl hover/jump for type specification 2023-06-02 10:54:31 +09:00
Shunsuke Shibayama
2005d0640d Update parse.rs 2023-06-02 10:17:19 +09:00
Shunsuke Shibayama
c4b4f18ca8 build: add experimental feature 2023-06-01 21:27:28 +09:00
Shunsuke Shibayama
54bd51aea5 fix: desugar leaks
reported: https://github.com/mtshiba/pylyzer/issues/41
2023-05-29 14:11:10 +09:00