Commit graph

52 commits

Author SHA1 Message Date
Shunsuke Shibayama
4da45eb842 chore: error report delay with variable defs 2024-08-18 13:18:20 +09:00
Shunsuke Shibayama
06ec103b2e feat: glob import (WIP) 2024-08-17 10:25:17 +09:00
Shunsuke Shibayama
79b1c1394d feat: add ReDef.t_spec 2024-08-11 14:18:15 +09:00
Shunsuke Shibayama
c6eb78a44d refactor!: rename Array -> List 2024-04-04 23:24:07 +09:00
Shunsuke Shibayama
f5a21cac8a chore: fix warnings 2024-03-22 21:01:47 +09:00
Shunsuke Shibayama
2c0cb67f5a Update desugar.rs 2024-03-18 23:19:35 +09:00
Shunsuke Shibayama
95e675cccd feat: array unpacking 2024-03-16 13:20:01 +09:00
Shunsuke Shibayama
24141ea3f3 fix: import resolution 2024-03-12 23:38:39 +09:00
Shunsuke Shibayama
a3c267da37 feat: add kw-var-args 2023-11-12 09:52:59 +09:00
Shunsuke Shibayama
6058339e3f chore: add TypeContext, MethodContext 2023-10-29 17:33:21 +09:00
Shunsuke Shibayama
6e2abac74e chore: add InlineModule.input 2023-10-07 14:54:37 +09:00
Shunsuke Shibayama
bbb8ed7a91 chore: add InlineModule 2023-10-05 22:33:18 +09:00
Shunsuke Shibayama
bbac0a39a1 chore: remove pre_block and add GuardClause 2023-09-27 21:43:36 +09:00
Shunsuke Shibayama
f561eebc2f chore: improve pattern match 2023-09-27 11:59:20 +09:00
Shunsuke Shibayama
b33ce38ed5 chore: add DefBody::pre_block 2023-09-20 12:32:25 +09:00
Shunsuke Shibayama
21ca95417f chore: fix comprehension desugaring 2023-09-11 22:13:47 +09:00
Shunsuke Shibayama
3fd66f1a32 feat: (partial) comprehension support 2023-09-11 02:24:03 +09:00
Shunsuke Shibayama
21cb0bb4c1 feat: support symbolized operators 2023-09-09 16:45:24 +09:00
Shunsuke Shibayama
74bca70017 feat: add Array.update_nth! 2023-08-28 15:33:58 +09:00
Shunsuke Shibayama
952e6ccd2e fix: array pattern matching 2023-08-27 20:29:40 +09:00
Shunsuke Shibayama
5a6cea0df1 chore: add ArrayTypeSpec::sqbrs 2023-08-27 18:46:56 +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
2e9fb48f2e fix: in operator
* remove `In` trait, `__in__`, `__notin__` function
* desugar to `__contains__`
* impl Collection for Array, Set, Tuple
2023-08-13 01:01:06 +09:00
Shunsuke Shibayama
072d62f7b3 fix: reduce unreachables 2023-07-15 12:40:23 +09:00
Shunsuke Shibayama
d6f30924f1 chore: add FreshNameGenerator 2023-06-10 15:31:26 +09:00
Shunsuke Shibayama
46cf002a71 fix: Shared<usize> -> AtomicShared 2023-06-10 14:10:55 +09:00
Shunsuke Shibayama
5ea48ab88e fix: desugaring leaks 2023-06-10 13:46:10 +09:00
Shunsuke Shibayama
4137a07b70 chore(els): impl hover/jump for type specification 2023-06-02 10:54:31 +09:00
Shunsuke Shibayama
54bd51aea5 fix: desugar leaks
reported: https://github.com/mtshiba/pylyzer/issues/41
2023-05-29 14:11:10 +09:00
Shunsuke Shibayama
06001bfc13 feat: refinement type specification 2023-05-20 16:40:26 +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
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
6f334b6bcc refactor: Equal -> Assign 2023-03-30 01:27:51 +09:00
Shunsuke Shibayama
3059d2d4a0 fix: eliminate type-specification parsing panics 2023-03-16 22:01:23 +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
d92f5284c8 feat: add restricted visibility syntax 2023-03-05 02:19:18 +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
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
Shunsuke Shibayama
b1a3e97334 fix: crash 2023-02-12 11:04:41 +09:00
Shunsuke Shibayama
af0fff8226 fix(compiler): runtime type matching system 2023-02-12 01:34:12 +09:00
Shunsuke Shibayama
d8f4d14abd feat(parser): add type_spec_to_expr 2023-02-06 12:04:15 +09:00
Shunsuke Shibayama
c7096b17f1 Merge branch 'main' into feature-var-params-fn 2023-02-01 02:05:09 +09:00
Shunsuke Shibayama
0019147007 Fix: doc comments cannot be used in method defs 2023-01-27 09:46:59 +09:00