Commit graph

58 commits

Author SHA1 Message Date
Shunsuke Shibayama
1b16f80b76 Update error.rs 2022-10-14 01:03:23 +09:00
Shunsuke Shibayama
e647c9545f Merge branch 'main' into dict 2022-10-12 13:20:05 +09:00
Shunsuke Shibayama
6c4e1dca35 Downgrade erg_type from crate to module
This is to allow `ConstSubr` to have a `Context`
2022-10-12 02:28:25 +09:00
GreasySlug
900a5bb38e Add: floordiv 2022-10-11 15:06:15 +09:00
Shunsuke Shibayama
627f64e081 Fix: handling of literal parsing failures 2022-10-10 11:51:26 +09:00
Shunsuke Shibayama
aa7ae368dc Fix assert casting 2022-10-09 20:29:30 +09:00
Shunsuke Shibayama
4d7181f2f0 Add trait implementation check 2022-10-05 02:10:27 +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
Shunsuke Shibayama
4f6fbb50d0 Delete useless parameters 2022-10-03 00:46:39 +09:00
Shunsuke Shibayama
622e1fa350 Fix lowerer crash bugs 2022-09-30 15:46:27 +09:00
Shunsuke Shibayama
12664a0e1c Update error.rs 2022-09-30 14:41:36 +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
5aae4a69a5 Split cache between Python and Erg modules 2022-09-26 14:03:06 +09:00
Shunsuke Shibayama
792c0ca3b4 impl Error for CompileError 2022-09-25 23:43:31 +09:00
Shunsuke Shibayama
6cfb0d1544 Prohibit inner scope type definition 2022-09-25 18:43:45 +09:00
Shunsuke Shibayama
f6e1a7b117 Remove unwraps 2022-09-24 19:15:55 +09:00
Shunsuke Shibayama
a5a0324883 Handle import errors 2022-09-22 22:02:59 +09:00
Shunsuke Shibayama
8ce843a8df WIP: fix REPL 2022-09-22 15:46:09 +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
3b7eebe041 WIP: Implement explicit type variable declarations 2022-09-17 17:25:07 +09:00
Shunsuke Shibayama
8f47e1e2dc Merge branch 'main' into trait 2022-09-16 10:56:31 +09:00
Shunsuke Shibayama
d7ffb211a8 let errors more readable 2022-09-16 00:35:58 +09:00
Shunsuke Shibayama
12f22f8bed Fix Context::lower_class_def 2022-09-15 11:36:34 +09:00
Shunsuke Shibayama
615d7937d9 Readable error messages 2022-09-14 21:46:12 +09:00
Shunsuke Shibayama
ad363bed6a Fix Context::eval_t_params 2022-09-14 20:20:11 +09:00
Shunsuke Shibayama
fe1b0fab70 Add AtomicStr 2022-09-14 12:11:06 +09:00
Shunsuke Shibayama
bc6eb37e39 Improve: show candidates for unification of projection-types 2022-09-13 15:34:27 +09:00
Shunsuke Shibayama
605c2fc07e WIP: Fix type inferring bugs 2022-09-13 02:38:14 +09:00
Shunsuke Shibayama
c0742005ee Fix #72 2022-09-11 23:19:48 +09:00
Shunsuke Shibayama
1947f7518a Follow the latest changes and correct warnings 2022-09-10 21:33:13 +09:00
Yuna Tomida
d956c3f61d
Follow clippy warnings 2022-09-10 17:32:25 +09:00
Shunsuke Shibayama
d986750a66 Fix error handling bugs 2022-09-10 15:10:55 +09:00
Shunsuke Shibayama
892ab6df2f Implement inheritance check 2022-09-09 15:34:34 +09:00
Shunsuke Shibayama
7573c0e128 Fix duplicate method definition bugs 2022-09-09 01:07:34 +09:00
Shunsuke Shibayama
60b7cce52e Fix bugs related to Ref/RefMut 2022-09-08 13:47:49 +09:00
Shunsuke Shibayama
e3e8a7e63c Impl Override feature 2022-09-08 09:53:32 +09:00
Shunsuke Shibayama
0199adc2d0 Merge from main 2022-09-07 23:51:34 +09:00
Shunsuke Shibayama
360f2bf359 Improve error messages 2022-09-07 21:54:11 +09:00
Shunsuke Shibayama
78c0b60f3f Fix inference bugs 2022-09-03 15:22:44 +09:00
Shunsuke Shibayama
e1eebb252f Fix constant evaluation methods to return EvalResult 2022-09-03 11:59:18 +09:00
Shunsuke Shibayama
3550a0e4b5 Add hint.rs in context 2022-09-02 01:20:35 +09:00
Shunsuke Shibayama
a71704329c Add rec_get_singular_ctx 2022-08-31 11:53:53 +09:00
Shunsuke Shibayama
de7832bf33 Implement variable-length/keyword arguments 2022-08-30 20:31:56 +09:00
Shunsuke Shibayama
5b5234f477 Create erg_type crate 2022-08-26 11:52:11 +09:00
Shunsuke Shibayama
7633618e76 WIP 2022-08-24 17:23:48 +09:00
Shunsuke Shibayama
88ac00dcaa Implement unimplemented features related to visibility 2022-08-22 23:48:40 +09:00
Shunsuke Shibayama
190c9ba59f Fix error reporting links 2022-08-19 12:44:37 +09:00