Commit graph

99 commits

Author SHA1 Message Date
Shunsuke Shibayama
6945d0c32e fix: eliminate unwraps 2024-05-02 22:16:54 +09:00
Shunsuke Shibayama
4396695ad6 fix: default parameter bug 2024-04-24 13:54:56 +09:00
Shunsuke Shibayama
c6eb78a44d refactor!: rename Array -> List 2024-04-04 23:24:07 +09:00
Shunsuke Shibayama
21fcf23827 feat: enhance os type decls 2024-03-29 12:40:30 +09:00
Shunsuke Shibayama
107d466e57 chore: eliminate unwraps 2024-03-29 01:35:30 +09:00
Shunsuke Shibayama
d9e4dbe716 chore: eliminate unwraps 2024-03-23 09:52:52 +09:00
Shunsuke Shibayama
ccb2cceea1 fix: class definition bug 2024-03-22 19:43:33 +09:00
Shunsuke Shibayama
95e675cccd feat: array unpacking 2024-03-16 13:20:01 +09:00
Shunsuke Shibayama
74e89f6d5b fix: polymorphic type spec instantiation bugs 2024-03-13 22:35:08 +09:00
Shunsuke Shibayama
24141ea3f3 fix: import resolution 2024-03-12 23:38:39 +09:00
Shunsuke Shibayama
ded10fc3d9 fix: nested module resolution bug 2024-02-01 11:22:20 +09:00
Shunsuke Shibayama
d1fa616aea feat: eval const call/lambda in refinement types
rename: `Shape` -> `HasShape`
2024-01-29 18:10:26 +09:00
Shunsuke Shibayama
910d5f62e9 fix(lexer): token location bug 2024-01-27 01:32:49 +09:00
Shunsuke Shibayama
378567ad2d feat(els): recognize packages 2024-01-22 13:08:15 +09:00
Shunsuke Shibayama
edfabd97e7 refactor: fix warns 2023-12-29 12:30:41 +09:00
Shunsuke Shibayama
905a03d578 fix: external type specification bug 2023-12-13 23:33:06 +09:00
Shunsuke Shibayama
fb0248fdf1 fix: external pylib bugs 2023-12-06 18:31:03 +09:00
Shunsuke Shibayama
1f49e08ed8 Update ast.rs 2023-11-24 22:22:24 +09:00
Shunsuke Shibayama
f834585083 feat: impl setter for AST elements 2023-11-16 16:15:29 +09:00
Shunsuke Shibayama
9b4daab5b0 feat: add erg_compiler::compile_ast 2023-11-16 13:42:12 +09:00
Shunsuke Shibayama
557775581c feat: add getters 2023-11-16 13:28:02 +09:00
Shunsuke Shibayama
22ccf4d870 feat: make erg_parser available as a Python lib 2023-11-14 20:47:01 +09:00
Shunsuke Shibayama
4407999c19 feat: add SubrType::kw_var_params 2023-11-12 12:22:48 +09:00
Shunsuke Shibayama
a3c267da37 feat: add kw-var-args 2023-11-12 09:52:59 +09:00
Shunsuke Shibayama
d3dfaf8c31 feat: add ASTVisitor 2023-11-08 00:27:49 +09:00
Shunsuke Shibayama
e4a3bc1720 feat: add rsimport 2023-11-07 12:59:33 +09:00
Shunsuke Shibayama
6058339e3f chore: add TypeContext, MethodContext 2023-10-29 17:33:21 +09:00
Shunsuke Shibayama
06898bd793 chore: improve type inference system 2023-10-18 16:46:06 +09:00
Shunsuke Shibayama
e6cf329f97 fix: type alias bug 2023-10-16 18:34:19 +09:00
Shunsuke Shibayama
08770e84fc feat: add unsound module 2023-10-15 11:51:27 +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
31246138b3 chore: add ModuleEntry.ast 2023-09-14 01:29:35 +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
e61c0c485e fix: discarded variable bug 2023-08-14 21:45:40 +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
f4e1d494a4 fix: array type inferring 2023-08-06 22:51:13 +09:00
Shunsuke Shibayama
0dd5ac0775 Merge branch 'main' into shape 2023-08-02 15:59:24 +09:00
Shunsuke Shibayama
f298db96d1 fix: warn unused type variables 2023-08-02 15:07:31 +09:00
Shunsuke Shibayama
6c3536cc31 fix: declaration bugs 2023-07-31 11:08:53 +09:00