Commit graph

230 commits

Author SHA1 Message Date
Shunsuke Shibayama
1947f7518a Follow the latest changes and correct warnings 2022-09-10 21:33:13 +09:00
Shunsuke Shibayama
d56fd68058
Merge pull request #138 from erg-lang/class
Implement class syntax
2022-09-10 20:24:43 +09:00
Shunsuke Shibayama
02e0beb849 Update desugar.rs 2022-09-10 17:57:01 +09:00
Shunsuke Shibayama
fe969299d7 Omit class names in member access 2022-09-10 17:52:03 +09:00
Yuna Tomida
d956c3f61d
Follow clippy warnings 2022-09-10 17:32:25 +09:00
Shunsuke Shibayama
048e281268 Refactor: method_defs -> methods_list 2022-09-10 17:17:51 +09:00
Shunsuke Shibayama
c5f2d816af Impl const accessing attributes 2022-09-10 16:32:03 +09:00
Shunsuke Shibayama
ec307951c3 Update test.rs 2022-09-10 15:10:59 +09:00
Shunsuke Shibayama
d986750a66 Fix error handling bugs 2022-09-10 15:10:55 +09:00
Shunsuke Shibayama
3895d29669 Fix visibility bugs 2022-09-10 01:42:23 +09:00
Shunsuke Shibayama
c96fe956a5 Fix Linker crashes 2022-09-09 17:44:56 +09:00
Shunsuke Shibayama
b50c914870 Fix accessing to private methods bug 2022-09-09 17:30:46 +09:00
Shunsuke Shibayama
75f3444eb7 WIP: impl visibility validation 2022-09-09 17:08:05 +09:00
Shunsuke Shibayama
7a682db817 method_name: Option<Token> -> Option<Identifier> 2022-09-09 16:46:36 +09:00
Shunsuke Shibayama
892ab6df2f Implement inheritance check 2022-09-09 15:34:34 +09:00
Shunsuke Shibayama
87b55c6c81 Update version (v0.4.0-beta.1) 2022-09-09 14:21:48 +09:00
Shunsuke Shibayama
2d365dce3b Merge branch 'class' into beta 2022-09-09 14:18:44 +09:00
Shunsuke Shibayama
c11ea3e892 Fix a method calling bug 2022-09-09 14:18:03 +09:00
Shunsuke Shibayama
4f69725811 Impl var_args code generating 2022-09-09 13:28:35 +09:00
Shunsuke Shibayama
c2edad7556 Impl Location::RangePair 2022-09-09 01:08:05 +09:00
Shunsuke Shibayama
7573c0e128 Fix duplicate method definition bugs 2022-09-09 01:07:34 +09:00
Cai Bingjun
7d9f532786
Update README.md 2022-09-08 20:56:45 +08:00
Cai Bingjun
6861180acb
Update README.md 2022-09-08 20:25:21 +08:00
Shunsuke Shibayama
e6f97dfa77 Update version (v0.4.0-beta.0) 2022-09-08 14:06:14 +09:00
Shunsuke Shibayama
da7b82d868 Improve error display 2022-09-08 13:59:16 +09:00
Shunsuke Shibayama
60b7cce52e Fix bugs related to Ref/RefMut 2022-09-08 13:47:49 +09:00
Shunsuke Shibayama
60558459c8 Fix parser crashing bug 2022-09-08 09:57:41 +09:00
Shunsuke Shibayama
e3e8a7e63c Impl Override feature 2022-09-08 09:53:32 +09:00
Shunsuke Shibayama
cba2eaa03c Update hir.rs 2022-09-08 01:20:00 +09:00
Shunsuke Shibayama
f38c4285fe Fix self unify bugs 2022-09-08 01:19:56 +09:00
Shunsuke Shibayama
fe552e23b1 Fix parser bugs 2022-09-08 00:55:25 +09:00
Shunsuke Shibayama
0199adc2d0 Merge from main 2022-09-07 23:51:34 +09:00
Shunsuke Shibayama
5e4337cde1 Implement todo!() part of Parser 2022-09-07 23:45:57 +09:00
Shunsuke Shibayama
360f2bf359 Improve error messages 2022-09-07 21:54:11 +09:00
Shunsuke Shibayama
533fddcba5 WIP: Fix method searching bugs 2022-09-07 21:42:03 +09:00
Shunsuke Shibayama
edab3a8ad2 Fix codegen bug 2022-09-07 16:37:03 +09:00
Shunsuke Shibayama
1d38b895e8 Add debugging displaying for codegen 2022-09-07 14:53:04 +09:00
Shunsuke Shibayama
5029d71cbe Impl: auto generating of new 2022-09-07 14:48:02 +09:00
Shunsuke Shibayama
1ae7633501 Merge branch 'main' into class 2022-09-06 21:55:53 +09:00
Cai Bingjun
53df83bfae
Merge branch 'erg-lang:main' into main 2022-09-06 20:36:14 +08:00
GreasySlug
17b3d110b0 Fix unnecessary newline 2022-09-06 16:27:59 +09:00
Shunsuke Shibayama
36aa226d10 Impl Linker 2022-09-06 14:43:01 +09:00
Shunsuke Shibayama
be8c0978f0 Add ClassType object 2022-09-06 01:29:56 +09:00
Shunsuke Shibayama
b755fdfa42 Create link.rs 2022-09-05 23:52:26 +09:00
Shunsuke Shibayama
1b4c9aa9c3 Move eval.rs to context 2022-09-05 23:50:32 +09:00
Shunsuke Shibayama
fadce087c5 Update effectcheck.rs 2022-09-05 23:46:40 +09:00
Shunsuke Shibayama
7e08f0b0c6 Fix type checker bugs 2022-09-05 23:46:31 +09:00
Shunsuke Shibayama
4a8572a9fe Fix type inference imcompleteness
Add intersection type inference
2022-09-05 21:55:16 +09:00
Shunsuke Shibayama
d5f2b5f450 Add register_gen_*
`register_*` renamed `register_const_*`
2022-09-05 14:24:30 +09:00
Shunsuke Shibayama
fb0d2f5737 Refactor 2022-09-05 11:11:57 +09:00