Commit graph

121 commits

Author SHA1 Message Date
GreasySlug
2709fffb4c fix: warnings 2025-06-28 14:30:26 +09:00
Shunsuke Shibayama
38d9ff06ee fix: don't warn for unused control flow result values 2025-02-08 16:46:29 +09:00
Shunsuke Shibayama
a6f8724a35 fix: clippy warns 2025-01-14 00:59:15 +09:00
Shunsuke Shibayama
8022d2ca65 chore: desugar dict comprehension 2025-01-05 00:09:18 +09:00
Shunsuke Shibayama
f0d9639a3b chore: add helper methods 2025-01-01 20:02:40 +09:00
Shunsuke Shibayama
f22afbef10 feat: add Expr::traverse 2024-11-06 00:48:13 +09:00
Shunsuke Shibayama
01a5938c29 chore: add ast::VarPattern::Phi 2024-10-20 14:25:29 +09:00
Shunsuke Shibayama
1206e50e86 perf: reduce AST/HIR element size
closes #530
2024-10-13 17:51:37 +09:00
Shunsuke Shibayama
17b3fbc5c0 feat(els): impl document link 2024-10-13 00:09:16 +09:00
Shunsuke Shibayama
0e53191efd chore(els): improve method completion 2024-10-11 15:55:52 +09:00
Shunsuke Shibayama
e273517bb5 fix: type instantiation bug 2024-10-06 12:03:33 +09:00
Shunsuke Shibayama
bccebeac5b fix: import resolution bug 2024-10-05 16:04:30 +09:00
Shunsuke Shibayama
7c2d6ac59a chore: add ConstExpr::map 2024-10-04 13:01:30 +09:00
Shunsuke Shibayama
d230bb7374 fix: VarName::hash 2024-10-03 17:47:57 +09:00
Shunsuke Shibayama
82848c10d6 feat: *-less multiplication
fix: #235
2024-09-19 19:47:51 +09:00
Shunsuke Shibayama
f9eb562848 fix: infinite recursion bug
add `Immutable` trait (Type: !Immutable)
2024-09-04 20:38:46 +09:00
Shunsuke Shibayama
33b0212002 feat: set type variable 2024-08-19 22:45:15 +09:00
Shunsuke Shibayama
06ec103b2e feat: glob import (WIP) 2024-08-17 10:25:17 +09:00
Shunsuke Shibayama
0f6546df78 fix: location calculation bug 2024-08-11 20:54:15 +09:00
Shunsuke Shibayama
1523515204 fix: type coercion bug 2024-08-11 17:37:11 +09:00
Shunsuke Shibayama
79b1c1394d feat: add ReDef.t_spec 2024-08-11 14:18:15 +09:00
Shunsuke Shibayama
2f6717ba4f build: update pyo3 to v0.21 2024-07-02 03:15:28 +09:00
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