Commit graph

65 commits

Author SHA1 Message Date
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
Shunsuke Shibayama
17cbd3302a Update parse.rs 2023-05-04 12:10:26 +09:00
GreasySlug
0b36b48642 fix(parser): skip multi nested dedent 2023-05-04 12:10:26 +09:00
Shunsuke Shibayama
0dba4da58a chore: improve error messages 2023-05-04 12:10:25 +09:00
GreasySlug
165d859786 chore: update msg 2023-05-04 12:10:25 +09:00
GreasySlug
723e75813e fix(parser): fix conflict 2023-05-04 12:10:25 +09:00
GreasySlug
e50d208474 fix(parser): skip dedent 2023-05-04 12:10:25 +09:00
Cai BingJun
3bc4a7e724 fix: modify Chinese error information 2023-05-04 12:10:25 +09:00
GreasrySlug
e5e9da5a7d refactor(parser): modify messages 2023-05-04 12:10:25 +09:00
Shunsuke Shibayama
ebd528ec47 Update parse.rs 2023-05-04 12:10:25 +09:00
Cai BingJun
709b29c6aa fix: modify Chinese error information 2023-05-04 12:10:25 +09:00
GreasySlug
f4dfb38c5b update: add seq and unclosed error 2023-05-04 12:10:24 +09:00
GreasySlug
fcf79f1a92 update: add chinese 2023-05-04 12:10:24 +09:00
GreasySlug
38cb160057 update: use classified err instead of syntax_error 2023-05-04 12:10:24 +09:00
GreasySlug
35db8c5565 add: handling when add: None is matched 2023-05-04 12:10:24 +09:00
Shunsuke Shibayama
730886021e feat: add special namespaces module/global 2023-05-03 14:32:09 +09:00
Shunsuke Shibayama
c4a0efae08 feat: add Python API type definitions 2023-05-03 00:54:05 +09:00
Shunsuke Shibayama
b3e09f213f fix: type inference failure of as operator
Now the `as` operator is a kind of type ascription, i.e., a special operator.
2023-04-26 23:41:35 +09:00
Shunsuke Shibayama
755f06bab3 test: check the number of warnings 2023-04-01 21:53:22 +09:00
Shunsuke Shibayama
6f334b6bcc refactor: Equal -> Assign 2023-03-30 01:27:51 +09:00
Shunsuke Shibayama
bf8cf61c7e refactor: use if let instead of option_enum_unwrap 2023-03-25 10:23:58 +09:00
Shunsuke Shibayama
77e3f498ef fix: file name collision problem of Input 2023-03-05 20:02:36 +09:00
Shunsuke Shibayama
d92f5284c8 feat: add restricted visibility syntax 2023-03-05 02:19:18 +09:00
Shunsuke Shibayama
3d310714f1 feat: support var-args lambda function 2023-03-03 16:01:20 +09:00
Shunsuke Shibayama
dd36942256 feat: implement some typevar-related syntax sugar
* add `TypeBoundSpec::Omitted`
* add `TypeAppArgsKind`
2023-03-01 23:35:19 +09:00
Shunsuke Shibayama
f9503ff134 refactor: Parser 2023-03-01 22:44:37 +09:00
Shunsuke Shibayama
a07ab4637e fix(parser): fix #400 2023-02-27 19:52:24 +09:00
Shunsuke Shibayama
536872b735 refactor: remove unnecessary fields (commas) in structs 2023-02-27 12:18:34 +09:00
Shunsuke Shibayama
1aa83f140a chore(els): improve signature help 2023-02-27 12:01:09 +09:00
Shunsuke Shibayama
c9dda183ab feat: implement Structural types 2023-02-23 01:37:54 +09:00
Shunsuke Shibayama
b4b02fd0f6 feat: implement methods declaration syntax 2023-02-17 01:26:04 +09:00