Shunsuke Shibayama
|
87bfe836ec
|
Fix: recognize [Nat; 3] and others as types.
|
2022-10-09 23:40:37 +09:00 |
|
Shunsuke Shibayama
|
de1180387c
|
Implement assert casting
|
2022-10-09 00:14:50 +09:00 |
|
Shunsuke Shibayama
|
b8b6acdf3a
|
Rename: Type::Class -> Type::ClassType
|
2022-10-08 10:38:46 +09:00 |
|
Shunsuke Shibayama
|
ebb01ccb7e
|
change the return type of get_nominal_ctx
|
2022-10-07 21:55:09 +09:00 |
|
Shunsuke Shibayama
|
4fd5f30037
|
WIP
|
2022-10-07 16:47:33 +09:00 |
|
Shunsuke Shibayama
|
3112fb31a9
|
Add Eq check
|
2022-10-06 22:58:44 +09:00 |
|
GreasySlug
|
b76b4cce4e
|
Update: translate to zh_ch and zh_tw
|
2022-10-06 17:10:52 +09:00 |
|
Shunsuke Shibayama
|
31ba27908d
|
Update lower.rs
|
2022-10-06 12:07:16 +09:00 |
|
Shunsuke Shibayama
|
6b14add8f8
|
Merge branch 'main' into pr/191
|
2022-10-06 11:57:49 +09:00 |
|
Shunsuke Shibayama
|
bd4073ec29
|
Add Context::get_receiver_ctx
|
2022-10-06 10:19:01 +09:00 |
|
GreasySlug
|
d288a3a226
|
Clean: Avoid using clone and warning of duplicated
|
2022-10-06 08:48:50 +09:00 |
|
Shunsuke Shibayama
|
85c6057d7c
|
Fix subtyping bugs
|
2022-10-05 11:53:29 +09:00 |
|
GreasySlug
|
ff9c10cfee
|
Update: Change Vec to Set
|
2022-10-05 09:12:45 +09:00 |
|
Shunsuke Shibayama
|
4d7181f2f0
|
Add trait implementation check
|
2022-10-05 02:10:27 +09:00 |
|
GreasySlug
|
20cc00d173
|
Add: impl set with len and register builtin ctx
|
2022-10-04 08:32:57 +09:00 |
|
Shunsuke Shibayama
|
6d903d2575
|
Add procedure assignment check
|
2022-10-03 23:09:07 +09:00 |
|
Shunsuke Shibayama
|
2f33c9b15d
|
Add Del
|
2022-10-03 21:44:59 +09:00 |
|
Cai Bingjun
|
85404b27c5
|
Correct zh_ CN and zh_ TW error message
|
2022-10-03 20:17:31 +08:00 |
|
GreasySlug
|
6e6edb5d7e
|
Add: lower for the set literal
|
2022-10-03 17:21:59 +09:00 |
|
Shunsuke Shibayama
|
72c209611f
|
Update lower.rs
|
2022-10-03 12:50:16 +09:00 |
|
Shunsuke Shibayama
|
4f6fbb50d0
|
Delete useless parameters
|
2022-10-03 00:46:39 +09:00 |
|
Shunsuke Shibayama
|
60bc94058a
|
Changed type of tmp_tv_ctx from &mut to &
|
2022-10-02 20:12:25 +09:00 |
|
Shunsuke Shibayama
|
05c434781b
|
Fix a type instantiating bug
|
2022-10-02 11:37:01 +09:00 |
|
Shunsuke Shibayama
|
3147dfb1d8
|
Fixed to define subroutine as Type::Failure even if type checking fails
|
2022-10-01 16:07:03 +09:00 |
|
Shunsuke Shibayama
|
423206920a
|
Add execution test
|
2022-10-01 01:11:31 +09:00 |
|
Shunsuke Shibayama
|
be1c603ba9
|
Merge branch 'main' into py-method-decl
|
2022-10-01 00:11:50 +09:00 |
|
Shunsuke Shibayama
|
d040bb80f2
|
Fix algebraic types inferring bugs
|
2022-10-01 00:11:32 +09:00 |
|
Shunsuke Shibayama
|
33edcd2e1c
|
Implement Python class method declarations
|
2022-09-30 18:21:18 +09:00 |
|
Shunsuke Shibayama
|
622e1fa350
|
Fix lowerer crash bugs
|
2022-09-30 15:46:27 +09:00 |
|
Shunsuke Shibayama
|
23a6f630c9
|
Fix import to be called from anywhere
|
2022-09-29 11:48:38 +09:00 |
|
Shunsuke Shibayama
|
348a37a746
|
Fix to continue compilation even if module compilation fails
|
2022-09-27 23:18:15 +09:00 |
|
Shunsuke Shibayama
|
4d6c7f7590
|
Add d.er syntax
|
2022-09-26 21:49:33 +09:00 |
|
Shunsuke Shibayama
|
aacad4fc8e
|
Fix type ascription bugs
|
2022-09-26 14:50:28 +09:00 |
|
Shunsuke Shibayama
|
5aae4a69a5
|
Split cache between Python and Erg modules
|
2022-09-26 14:03:06 +09:00 |
|
Shunsuke Shibayama
|
334b9d9f3a
|
Improve error output
|
2022-09-26 01:21:06 +09:00 |
|
Shunsuke Shibayama
|
9ccfdadf22
|
Add TypeAscription
|
2022-09-25 20:05:52 +09:00 |
|
Shunsuke Shibayama
|
6cfb0d1544
|
Prohibit inner scope type definition
|
2022-09-25 18:43:45 +09:00 |
|
Shunsuke Shibayama
|
7ec5af53d9
|
Fix: fake class -> real module
|
2022-09-23 00:16:45 +09:00 |
|
Shunsuke Shibayama
|
9c967d32f6
|
Fix #174
|
2022-09-22 21:52:06 +09:00 |
|
Shunsuke Shibayama
|
9a4a702ebe
|
Fixed to allow types to be uniquely determined between modules
|
2022-09-22 13:23:43 +09:00 |
|
Shunsuke Shibayama
|
6f3f00a369
|
Fixed to register <builtins> to mod_cache
|
2022-09-22 10:37:39 +09:00 |
|
Shunsuke Shibayama
|
8c50c6b423
|
Fix some visibility bugs
|
2022-09-21 21:28:37 +09:00 |
|
Shunsuke Shibayama
|
9b0d66a63a
|
Add "check" mode
Input::File(String) -> Input::file(PathBuf)
|
2022-09-21 14:01:20 +09:00 |
|
Shunsuke Shibayama
|
c1d92bc0f4
|
Fix lower bugs
|
2022-09-21 11:22:18 +09:00 |
|
Shunsuke Shibayama
|
201b313cd2
|
Add builder & linker
|
2022-09-21 01:21:17 +09:00 |
|
Shunsuke Shibayama
|
671fbee518
|
merge from trait
|
2022-09-21 01:17:11 +09:00 |
|
Shunsuke Shibayama
|
d8799f0895
|
Refactor
Add `ASTBuilder`, `Checker`
|
2022-09-20 14:42:37 +09:00 |
|
Shunsuke Shibayama
|
9fa51809ea
|
Rename: Linker -> Reorderer
|
2022-09-19 19:07:02 +09:00 |
|
Shunsuke Shibayama
|
bd17bf3299
|
Add DefKind
|
2022-09-18 17:56:58 +09:00 |
|
Shunsuke Shibayama
|
e4eed24a42
|
WIP: trait implementation
|
2022-09-17 22:26:56 +09:00 |
|