Commit graph

95 commits

Author SHA1 Message Date
Shunsuke Shibayama
a6f8724a35 fix: clippy warns 2025-01-14 00:59:15 +09:00
Shunsuke Shibayama
987b5f1f99 fix: SubrType::kw_var_params bugs 2025-01-04 19:01:50 +09:00
Shunsuke Shibayama
7a64828459 fix(parser): no syntax errors are displayed 2024-11-20 20:43:55 +09:00
Shunsuke Shibayama
952687e677 chore: Lexer::lex() returns Failable<TokenStream> 2024-10-16 01:14:08 +09:00
Shunsuke Shibayama
1206e50e86 perf: reduce AST/HIR element size
closes #530
2024-10-13 17:51:37 +09:00
Shunsuke Shibayama
82848c10d6 feat: *-less multiplication
fix: #235
2024-09-19 19:47:51 +09:00
GreasySlug
6834fbcb8b fix(parser): fix comprehension syntax(#495) 2024-09-08 15:11:01 +09:00
Shunsuke Shibayama
13eaf8d3a7 fix: eliminate unwrap/unreachable 2024-06-17 13:09:50 +09:00
GreasySlug
5f746ea04e fix: remove duplicate exit 2024-04-29 17:51:22 +09:00
Shunsuke Shibayama
c6eb78a44d refactor!: rename Array -> List 2024-04-04 23:24:07 +09:00
Shunsuke Shibayama
95e675cccd feat: array unpacking 2024-03-16 13:20:01 +09:00
Slug
a136d6dc18
Merge pull request #253 from GreasySlug/fix/invalid-block
Fix invalid expect block and support for multi-line errors
2024-03-06 23:52:12 +09:00
GreasySlug
045e5c8064 fix: collections are handled similarly to multi-line str 2024-03-04 00:30:08 +09:00
Shunsuke Shibayama
2715db1a6e feat: restricted visibility methods 2024-03-03 15:39:41 +09:00
GreasySlug
d828801484 fix: add newline error by colon 2024-02-29 10:21:23 +09:00
GreasySlug
b974f4ae5e impl: expect the block 2024-02-20 23:41:41 +09:00
Shunsuke Shibayama
69bfe44314 feat(els): continue analysis as possible even if syntax errors occur 2024-01-27 17:01:50 +09:00
Shunsuke Shibayama
edfabd97e7 refactor: fix warns 2023-12-29 12:30:41 +09:00
Shunsuke Shibayama
22ccf4d870 feat: make erg_parser available as a Python lib 2023-11-14 20:47:01 +09:00
Shunsuke Shibayama
663a0824ad feat: var-kwargs codegen 2023-11-14 02:17:47 +09:00
Shunsuke Shibayama
1b19d8098a Update test.rs 2023-11-12 17:44:30 +09:00
Shunsuke Shibayama
540027282a Revert "Update parse.rs"
This reverts commit eae025ee20.
2023-11-12 13:18:26 +09:00
Shunsuke Shibayama
eae025ee20 Update parse.rs 2023-11-12 13:10:28 +09:00
Shunsuke Shibayama
a3c267da37 feat: add kw-var-args 2023-11-12 09:52:59 +09:00
Shunsuke Shibayama
8a793c7d59 chore: add New trait 2023-11-03 12:56:46 +09:00
Shunsuke Shibayama
6058339e3f chore: add TypeContext, MethodContext 2023-10-29 17:33:21 +09:00
Shunsuke Shibayama
296e7f763c chore: add parameter Parser to PackageBuilder 2023-10-11 12:21:48 +09:00
Shunsuke Shibayama
25d143b04a fix!(parser): handling of line breaks in enclosures 2023-09-23 23:50:28 +09:00
Shunsuke Shibayama
31246138b3 chore: add ModuleEntry.ast 2023-09-14 01:29:35 +09:00
Shunsuke Shibayama
3fd66f1a32 feat: (partial) comprehension support 2023-09-11 02:24:03 +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
fcf97fb172 fix: default-paramaters bugs 2023-07-08 02:32:14 +09:00
Shunsuke Shibayama
d49e6fa70c feat(els): parallelize Server 2023-06-21 01:16:53 +09:00
Shunsuke Shibayama
5ea48ab88e fix: desugaring leaks 2023-06-10 13:46:10 +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
Shunsuke Shibayama
2005d0640d Update parse.rs 2023-06-02 10:17:19 +09:00
Shunsuke Shibayama
9a6af2cd07 feat:(els): ELS parser can be customized 2023-05-28 23:45:53 +09:00
Shunsuke Shibayama
06001bfc13 feat: refinement type specification 2023-05-20 16:40:26 +09:00
Shunsuke Shibayama
61855db0c7 Update parse.rs 2023-05-09 23:06:19 +09:00
GreasySlug
85bc2131bd fix(parser): add expr error erg-lang#369 2023-05-04 12:10:26 +09:00
GreasySlug
1ff53f4669 fix(parser): #245 2023-05-04 12:10:26 +09:00
GreasySlug
8d723aed88 fix(parser): #369 2023-05-04 12:10:26 +09:00