Commit graph

244 commits

Author SHA1 Message Date
Shunsuke Shibayama
30a6f84e5f feat: add erg_compiler/erg_parser type decls 2023-11-18 16:04:51 +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
8b17c6cf6c feat: make erg_compiler available as a Python lib 2023-11-15 11:20:10 +09:00
Shunsuke Shibayama
22ccf4d870 feat: make erg_parser available as a Python lib 2023-11-14 20:47:01 +09:00
Shunsuke Shibayama
663a0824ad feat: var-kwargs codegen 2023-11-14 02:17:47 +09:00
Shunsuke Shibayama
1b19d8098a Update test.rs 2023-11-12 17:44:30 +09:00
Shunsuke Shibayama
540027282a Revert "Update parse.rs"
This reverts commit eae025ee20.
2023-11-12 13:18:26 +09:00
Shunsuke Shibayama
eae025ee20 Update parse.rs 2023-11-12 13:10:28 +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
ed0f8e1d57 chore: impl some error conversions 2023-11-03 17:40:56 +09:00
Shunsuke Shibayama
8a793c7d59 chore: add New trait 2023-11-03 12:56:46 +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
296e7f763c chore: add parameter Parser to PackageBuilder 2023-10-11 12:21:48 +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
e412d63f26 fix: short circuit bug 2023-09-27 19:04:10 +09:00
Shunsuke Shibayama
f561eebc2f chore: improve pattern match 2023-09-27 11:59:20 +09:00
Shunsuke Shibayama
0f96ee945d Merge branch 'main' into fix-match 2023-09-25 02:58:53 +09:00
Shunsuke Shibayama
25d143b04a fix!(parser): handling of line breaks in enclosures 2023-09-23 23:50:28 +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
821ea2a252 Update lex.rs 2023-09-11 22:55:34 +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
abb025afd4 fix: symop codegen bug 2023-09-09 17:29:19 +09:00
Shunsuke Shibayama
21cb0bb4c1 feat: support symbolized operators 2023-09-09 16:45:24 +09:00
Shunsuke Shibayama
a6106b6139 Update token.rs 2023-09-06 10:54:04 +09:00
Shunsuke Shibayama
6cfae0066b chore(els): HIRVisitor::get_min_expr takes position instead of token 2023-08-30 13:14:04 +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
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
Shunsuke Shibayama
3eb2d439ca fix: eliminate of unnecessary file escapes 2023-07-26 17:53:29 +09:00