Commit graph

244 commits

Author SHA1 Message Date
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
Shunsuke Shibayama
fc85265d9f fix: union types bug & multi-pattern def bug 2023-04-10 22:26:46 +09:00
Shunsuke Shibayama
777af37de7 fix(lexer): multi-line token location 2023-04-06 22:39:16 +09:00
Shunsuke Shibayama
84bd0259eb fix: tuple attribute lexing bugs 2023-04-03 22:36:30 +09:00
Shunsuke Shibayama
a8511b77cc feat(lexer): impl line continuation 2023-04-03 13:01:25 +09:00
Shunsuke Shibayama
755f06bab3 test: check the number of warnings 2023-04-01 21:53:22 +09:00
Shunsuke Shibayama
32eb893d9d fix(els): local variables completion bug 2023-03-31 12:39:16 +09:00
Shunsuke Shibayama
6f334b6bcc refactor: Equal -> Assign 2023-03-30 01:27:51 +09:00
Shunsuke Shibayama
5876c24830 feat: isinstance narrowing 2023-03-29 11:24:53 +09:00
Shunsuke Shibayama
bf8cf61c7e refactor: use if let instead of option_enum_unwrap 2023-03-25 10:23:58 +09:00
Shunsuke Shibayama
99d72ab4ef fix: type-instantiation bug 2023-03-24 19:02:32 +09:00
Shunsuke Shibayama
8bb91cfe11 chore: name the spawned thread 2023-03-22 22:00:38 +09:00
Shunsuke Shibayama
3059d2d4a0 fix: eliminate type-specification parsing panics 2023-03-16 22:01:23 +09:00
Shunsuke Shibayama
29b725423d fix: internal representation of user-defined types 2023-03-16 01:00:13 +09:00
Shunsuke Shibayama
d72f56462e Update desugar.rs 2023-03-15 16:36:01 +09:00
Shunsuke Shibayama
2a20fbe28f fix: eliminate unwraps 2023-03-15 14:52:22 +09:00
Shunsuke Shibayama
e0d5cd2748 chore: update Dummy 2023-03-15 12:08:45 +09:00
Shunsuke Shibayama
ee0366cfb4 fix: constant attribute searching bugs 2023-03-11 14:21:15 +09:00
Shunsuke Shibayama
a998ec1b7b fix: warnings 2023-03-10 19:25:11 +09:00
Shunsuke Shibayama
1293fa58c8 refactor: Reorderer -> ASTLinker, Linker -> HIRLinker 2023-03-07 20:18:30 +09:00