Commit graph

107 commits

Author SHA1 Message Date
Shunsuke Shibayama
a127564b31 Rename dir: compiler -> crates 2023-01-15 12:03:19 +09:00
Shunsuke Shibayama
1f03475e51 Add module module 2023-01-07 10:38:14 +09:00
Shunsuke Shibayama
c6e9693ebb Recheck when renamed 2023-01-05 13:33:45 +09:00
Shunsuke Shibayama
2ed9fdfb2e Fix a method name resolving bug 2023-01-05 10:45:53 +09:00
Shunsuke Shibayama
2cb9a3ec0c Implement renaming 2023-01-05 02:40:13 +09:00
Shunsuke Shibayama
c35917ae33 Add VarInfo::defined_in 2023-01-04 21:30:48 +09:00
Shunsuke Shibayama
e8d289c556 Update ASTLowerer 2023-01-04 11:35:34 +09:00
Shunsuke Shibayama
a754f32877 Implement inherited class completion 2023-01-03 15:23:38 +09:00
Shunsuke Shibayama
561782a391 Implement inner scope variables completion 2023-01-03 02:26:34 +09:00
Shunsuke Shibayama
ba7585a28c Add ModuleContext 2023-01-02 21:49:04 +09:00
Shunsuke Shibayama
2eb393760f Rename: TypeRelactionInstance -> TraitImpl 2023-01-02 19:33:09 +09:00
Shunsuke Shibayama
a374b0a868 Split files: tyvar -> generalize, unify 2022-12-31 22:11:19 +09:00
Shunsuke Shibayama
df0647a7ce Add Context::higher_order_caller 2022-12-31 02:29:15 +09:00
Shunsuke Shibayama
1bae9cb88c Translate comments 2022-12-30 11:26:07 +09:00
Shunsuke Shibayama
0af0241d34 Add Context::resolve_ctx_vars 2022-12-27 20:15:21 +09:00
Shunsuke Shibayama
099b4587e5 Fix broken tests 2022-12-25 12:37:41 +09:00
Shunsuke Shibayama
06e0b9c1ae Fix a scope escaping bug 2022-12-21 14:32:46 +09:00
Shunsuke Shibayama
4a46c09648 Fix: a bug that all history to be erased when an error occurred in the REPL 2022-12-15 23:32:14 +09:00
Shunsuke Shibayama
47b9500802 Change the type of pop_mod_ctx 2022-12-14 19:54:56 +09:00
Shunsuke Shibayama
3c90d9b8ed Fix SharedModuleCache to take ErgConfig as an argument 2022-12-13 20:41:05 +09:00
Shunsuke Shibayama
a395938413 Fix an Erg standard library loading bug 2022-12-09 11:48:13 +09:00
Shunsuke Shibayama
52c76431ee Merge branch 'main' into patch 2022-12-05 17:25:45 +09:00
Shunsuke Shibayama
4a0143302f Fix #272 2022-12-05 17:21:46 +09:00
Shunsuke Shibayama
6cb3231845 Fix a refinement + union types bug 2022-12-05 00:41:37 +09:00
Shunsuke Shibayama
bade70ef91 Implement Patch 2022-12-02 20:03:02 +09:00
Shunsuke Shibayama
1f368e1a8d Improve error messages for deleted variable access 2022-11-28 22:13:48 +09:00
Shunsuke Shibayama
fde5a33d54 Improve error message for referring to a variable before its definition 2022-11-28 10:38:01 +09:00
Shunsuke Shibayama
7bcc766500 Add Runnable::initialize 2022-11-23 19:43:56 +09:00
Shunsuke Shibayama
ab391620d4 Implement features for embedding 2022-11-22 09:14:25 +09:00
Shunsuke Shibayama
81bea3bcee Remove AtomicStr 2022-11-20 01:42:55 +09:00
Shunsuke Shibayama
62f4622135 Fix: discard patterns were ignored in types 2022-11-15 13:56:45 +09:00
Shunsuke Shibayama
308f6a77dd Optimize type inferer 2022-10-27 10:10:51 +09:00
Shunsuke Shibayama
d56549f528 Change Eq(R) to Eq 2022-10-25 01:53:52 +09:00
Shunsuke Shibayama
9f85c88e7e WIP 2022-10-24 14:32:34 +09:00
Shunsuke Shibayama
862286ab23 Update mod.rs 2022-10-23 21:15:32 +09:00
Shunsuke Shibayama
7defa71c86 Add json module 2022-10-20 08:39:52 +09:00
Shunsuke Shibayama
e0d6b93abd Remove rust-defined python modules 2022-10-19 01:50:14 +09:00
Shunsuke Shibayama
46b87e1ca3 Fix: variable to have VarInfo instead of Type 2022-10-18 00:25:47 +09:00
Shunsuke Shibayama
4e2b36bb96 Fix projection type inference bug 2022-10-15 11:15:16 +09:00
Shunsuke Shibayama
145152575c Change grow's type 2022-10-14 01:07:14 +09:00
Shunsuke Shibayama
08e501f103 Fix sub_unify with class&trait 2022-10-12 18:32:24 +09:00
Shunsuke Shibayama
378dc1e6fc Delete ArrayType, etc. 2022-10-12 16:14:06 +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
Shunsuke Shibayama
9c3acc8e19 Implement ProjMethod 2022-10-11 16:08:49 +09:00
Shunsuke Shibayama
de1180387c Implement assert casting 2022-10-09 00:14:50 +09:00
Shunsuke Shibayama
11164c3634 Update mod.rs 2022-10-08 10:39:03 +09:00
Shunsuke Shibayama
090841b465 Update mod.rs 2022-10-07 22:16:05 +09:00
Shunsuke Shibayama
c4d2e9ee4c Merge branch 'main' into pr/191 2022-10-07 22:15:35 +09:00
Shunsuke Shibayama
ebb01ccb7e change the return type of get_nominal_ctx 2022-10-07 21:55:09 +09:00
Shunsuke Shibayama
fa4ed7ff34 Update mod.rs 2022-10-06 17:07:58 +09:00