Commit graph

113 commits

Author SHA1 Message Date
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
GreasySlug
85bc2131bd fix(parser): add expr error erg-lang#369 2023-05-04 12:10:26 +09:00
GreasySlug
7004025f51 chore(error): wording 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
Shunsuke Shibayama
bd7eb2e663 refactor: test funcs 2023-05-04 12:10:26 +09:00
GreasySlug
d190abdb6a Revert "update: invalid convert error"
This reverts commit 1979e95901367bde9dc8ed83ecab27ab2c018c39.
2023-05-04 12:10:26 +09:00
GreasySlug
6998328516 test(parser): check skip multi nested dedent 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
9b58d9276d test: remove the part that is no longer an error 2023-05-04 12:10:25 +09:00
GreasySlug
165d859786 chore: update msg 2023-05-04 12:10:25 +09:00
GreasySlug
219ecb71ce chore(error): remove unnecessary errors 2023-05-04 12:10:25 +09:00
GreasySlug
723e75813e fix(parser): fix conflict 2023-05-04 12:10:25 +09:00
GreasySlug
855be06c26 test(parser): update class def 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
GreasySlug
d52c10e2f0 chore: use syntax instead of new 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
292bc6cfd0 fix(parser): conflict and linter warning 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
af4bbbb35c fix: use skip and put log 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
9e1d5d263d [WIP]test: collection and class attr 2023-05-04 12:10:24 +09:00
GreasySlug
b2a0dc19e5 add: classify error 2023-05-04 12:10:24 +09:00
GreasySlug
4c50f1d635 update: style 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
GreasySlug
1e072835c3 update: invalid convert error 2023-05-04 12:10:24 +09:00
Shunsuke Shibayama
0603998bfc chore: add Context::convert_value_into_type 2023-05-03 15:03:28 +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
3f2793f915 chore: remove TokenKind::NoImplLit 2023-05-02 23:11:51 +09:00
Shunsuke Shibayama
456201fb49 fix: type-spec parsing bugs 2023-05-02 22:46:37 +09:00
Shunsuke Shibayama
bd95ab8221 fix: PreDeclTypeSpec bugs
SimpleTypeSpec -> Identifier/PolyTypeSpec
2023-04-30 19:29:47 +09:00
Shunsuke Shibayama
882d619dcc fix: type-parameter instantiation bugs 2023-04-29 23:14:39 +09:00
Shunsuke Shibayama
3e584cf300 Update token.rs 2023-04-27 14:03:40 +09:00
Shunsuke Shibayama
66cac2ccc2 fix: bugs & remove TypeCmpCache 2023-04-27 13:10:33 +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
0e8dee3cbf feat: implement And type overloading 2023-04-24 21:43:46 +09:00
Shunsuke Shibayama
b444fcac2c build: remove unnecessary keys 2023-04-22 17:19:04 +09:00
Shunsuke Shibayama
daf01f3cf2 feat: add as operator 2023-04-19 15:20:46 +09:00
Shunsuke Shibayama
3cc168182b feat: add typing.cast 2023-04-19 01:16:39 +09:00
Shunsuke Shibayama
839133863f feat: enhance assert casting 2023-04-16 23:32:52 +09:00
Shunsuke Shibayama
62b06022cb fix: visibility bug 2023-04-15 13:27:40 +09:00