Commit graph

224 commits

Author SHA1 Message Date
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
f5a21cac8a chore: fix warnings 2024-03-22 21:01:47 +09:00
Shunsuke Shibayama
ccb2cceea1 fix: class definition bug 2024-03-22 19:43:33 +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
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
Slug
a136d6dc18
Merge pull request #253 from GreasySlug/fix/invalid-block
Fix invalid expect block and support for multi-line errors
2024-03-06 23:52:12 +09:00
GreasySlug
045e5c8064 fix: collections are handled similarly to multi-line str 2024-03-04 00:30:08 +09:00
Shunsuke Shibayama
2715db1a6e feat: restricted visibility methods 2024-03-03 15:39:41 +09:00
GreasySlug
d828801484 fix: add newline error by colon 2024-02-29 10:21:23 +09:00
GreasySlug
b974f4ae5e impl: expect the block 2024-02-20 23:41:41 +09:00
GreasySlug
b10b57d8e3 feat(REPL): add err type 2024-02-20 00:38:39 +09:00
Shunsuke Shibayama
99cc321eb3 fix(lexer): comment indentation bug 2024-02-06 11:27:46 +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
ccb54e0115 feat!: remove dot, cross operator 2024-01-28 22:19:15 +09:00
Shunsuke Shibayama
69bfe44314 feat(els): continue analysis as possible even if syntax errors occur 2024-01-27 17:01:50 +09:00
Shunsuke Shibayama
910d5f62e9 fix(lexer): token location bug 2024-01-27 01:32:49 +09:00
Shunsuke Shibayama
efea5ae52f fix: incomplete polymorphic type instantiation 2024-01-25 01:57:38 +09:00
Shunsuke Shibayama
378567ad2d feat(els): recognize packages 2024-01-22 13:08:15 +09:00
Shunsuke Shibayama
bbf9a429a4 refactor: fix typos 2024-01-06 14:42:49 +09:00
Shunsuke Shibayama
21283b668e feat: add \x string literal 2023-12-29 13:44:34 +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
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