Commit graph

82 commits

Author SHA1 Message Date
Hanaasagi
ffb5f0e688 chore: fix all typo 2023-05-07 03:43:53 +09:00
Shunsuke Shibayama
3cc4626d26 Update lex.rs 2023-05-05 15:13:02 +09:00
Shunsuke Shibayama
2fce9bda3b fix(els): eliminate unwraps 2023-05-04 19:05:27 +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
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
d459151cd0 chore: improve error messages 2023-02-26 12:01:17 +09:00
Shunsuke Shibayama
24a815b904 test: fix tests 2023-02-26 11:36:47 +09:00
Shunsuke Shibayama
7648b44b6b fix(els): minor bugs 2023-02-26 11:33:20 +09:00
Shunsuke Shibayama
aaa259d6c0 feat: add ConstTypeAsc 2023-02-23 20:17:59 +09:00