Commit graph

68 commits

Author SHA1 Message Date
Shunsuke Shibayama
5b5234f477 Create erg_type crate 2022-08-26 11:52:11 +09:00
Shunsuke Shibayama
f78c89665b WIP: fix type checker bugs
Instantiate each time when comparing quantified types
2022-08-25 02:23:41 +09:00
Shunsuke Shibayama
ce5f551bc7 Update codegen.rs 2022-08-23 08:43:32 +09:00
Shunsuke Shibayama
8dcc44b9cb Fix private variables to be completely inaccessible 2022-08-23 08:38:39 +09:00
Shunsuke Shibayama
88ac00dcaa Implement unimplemented features related to visibility 2022-08-22 23:48:40 +09:00
Shunsuke Shibayama
a37cf90f38 Update codegen.rs 2022-08-22 23:17:08 +09:00
Shunsuke Shibayama
20aaf6a53e Impl: variable visibility 2022-08-22 23:15:07 +09:00
Shunsuke Shibayama
a6f9e89ffc Parser: impl Record 2022-08-22 17:21:43 +09:00
Shunsuke Shibayama
40d4b6da1d Update Parser: support for length-specified arrays 2022-08-19 19:35:02 +09:00
Shunsuke Shibayama
3314825fc1 Partial fix #57 2022-08-18 18:40:30 +09:00
Félix Saparelli
8efffbfbc0
Apply formatting 2022-08-15 17:44:15 +12:00
Félix Saparelli
7d3116f546
Apply trivial clippy fixes 2022-08-15 17:37:20 +12:00
Shunsuke Shibayama
6d3dda8129 WIP: Impl Context::monomorphise
Impled: TyVarContext::sort_bounds
2022-08-15 03:39:45 +09:00
Shunsuke Shibayama
4a4b346199 Fix REPL crashing when the input is a statement 2022-08-14 22:38:18 +09:00
Shunsuke Shibayama
beb0965cde Automatically display evaluation results in REPL 2022-08-14 20:51:17 +09:00
Shunsuke Shibayama
30f6e98715 Fix polymorphic type infering bugs
Delete: DefaultParamSignarure
Add: some convinient APIs (py, p!)

Inferences can now be made that take into account the variance of polymorphic types
2022-08-14 00:45:55 +09:00
Shunsuke Shibayama
6726d93f65 Do cargo fmt 2022-08-13 07:02:07 +09:00
Shunsuke Shibayama
f9d91aa38e Organize crates 2022-08-13 06:38:12 +09:00
Renamed from src/erg_compiler/codegen.rs (Browse further)