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 |
|
Shunsuke Shibayama
|
25094efd17
|
Refactor
|
2022-09-05 11:09:51 +09:00 |
|
Shunsuke Shibayama
|
2320ff0360
|
Refactor
|
2022-09-05 10:11:03 +09:00 |
|
Shunsuke Shibayama
|
e860da2a15
|
WIP: impl type checker
|
2022-09-05 01:13:14 +09:00 |
|
Cai Bingjun
|
51de3c9d5a
|
Set Erg's markdown snippet highlighting to Python
|
2022-09-04 12:01:06 +08:00 |
|
Shunsuke Shibayama
|
cf0858ddde
|
Add TypeObj
|
2022-09-04 00:46:15 +09:00 |
|
Shunsuke Shibayama
|
174b37d60c
|
Impl Display for ConstSubr
|
2022-09-03 23:39:29 +09:00 |
|
Shunsuke Shibayama
|
f4cb9f67a5
|
Fix a refinement type bug
|
2022-09-03 22:38:03 +09:00 |
|
Shunsuke Shibayama
|
18116f14ed
|
Impl DataPackVattern desugaring
|
2022-09-03 22:23:25 +09:00 |
|
Shunsuke Shibayama
|
22cb113fcd
|
Unify Type::Class/Trait
|
2022-09-03 22:22:49 +09:00 |
|
Shunsuke Shibayama
|
263c43d74b
|
WIP: Impl DataPack type checking
|
2022-09-03 20:58:28 +09:00 |
|
Shunsuke Shibayama
|
924ab27369
|
Add hir::MethodDefs
|
2022-09-03 15:53:09 +09:00 |
|
Shunsuke Shibayama
|
094eb499fb
|
Fix refinement inference bugs
|
2022-09-03 15:52:55 +09:00 |
|
Shunsuke Shibayama
|
78c0b60f3f
|
Fix inference bugs
|
2022-09-03 15:22:44 +09:00 |
|
Shunsuke Shibayama
|
618f73f0c0
|
Unify poly_classes and poly_traits of Context
|
2022-09-03 12:07:27 +09:00 |
|
Shunsuke Shibayama
|
e1eebb252f
|
Fix constant evaluation methods to return EvalResult
|
2022-09-03 11:59:18 +09:00 |
|
Shunsuke Shibayama
|
e2bd64ebe5
|
Move python module definition files
|
2022-09-03 01:52:23 +09:00 |
|
Shunsuke Shibayama
|
c4bff5d54a
|
Add some const funcs & Remove Evaluator
|
2022-09-03 01:45:00 +09:00 |
|
Shunsuke Shibayama
|
f0d686cd7b
|
Change ref and ref! to unary operators
|
2022-09-02 22:49:34 +09:00 |
|
Shunsuke Shibayama
|
ce94f81066
|
WIP: Add DataPack
|
2022-09-02 19:37:54 +09:00 |
|
Shunsuke Shibayama
|
d2ed277685
|
Impl ShortenedRecord desugaring
|
2022-09-02 14:40:01 +09:00 |
|
Shunsuke Shibayama
|
fc5ad07660
|
Update parser
|
2022-09-02 11:45:47 +09:00 |
|
Shunsuke Shibayama
|
6d09b8a4df
|
Change data class packing/unpacking syntax
|
2022-09-02 09:25:11 +09:00 |
|
Shunsuke Shibayama
|
3550a0e4b5
|
Add hint.rs in context
|
2022-09-02 01:20:35 +09:00 |
|
Shunsuke Shibayama
|
0844fb2f7a
|
Change Parser 's parsing algorithm
The LHS value is first parsed as the RHS value, and when `=` or `->` comes in, it is converted as the LHS value.
|
2022-09-02 01:19:43 +09:00 |
|
Shunsuke Shibayama
|
66451ad61a
|
Update docs
|
2022-09-02 01:16:03 +09:00 |
|
Shunsuke Shibayama
|
68a7fb5972
|
Merge branch 'main' into class
|
2022-09-01 21:37:37 +09:00 |
|
Shunsuke Shibayama
|
f71024e9d2
|
Fix #110
|
2022-09-01 19:12:26 +09:00 |
|
Shunsuke Shibayama
|
90f057af94
|
Update mod.rs
|
2022-09-01 17:50:30 +09:00 |
|
Shunsuke Shibayama
|
76aa25bf8f
|
Remove unnecessary Parser methods
|
2022-09-01 17:26:21 +09:00 |
|
Shunsuke Shibayama
|
d790063ec2
|
Improve: LHS are parsed once as RHS, then conv to LHS
|
2022-09-01 16:46:10 +09:00 |
|