Commit graph

54 commits

Author SHA1 Message Date
Shunsuke Shibayama
aacad4fc8e Fix type ascription bugs 2022-09-26 14:50:28 +09:00
Shunsuke Shibayama
7ec5af53d9 Fix: fake class -> real module 2022-09-23 00:16:45 +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
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
eb5986f8c9 Fix codegen.rs 2022-09-19 00:55:45 +09:00
Shunsuke Shibayama
67e4607c70 Impl trait code generating 2022-09-19 00:34:39 +09:00
Shunsuke Shibayama
bd17bf3299 Add DefKind 2022-09-18 17:56:58 +09:00
Shunsuke Shibayama
1a3f204879 Update codegen.rs 2022-09-18 11:13:06 +09:00
Shunsuke Shibayama
ad57864b6e Update codegen.rs 2022-09-18 00:45:26 +09:00
Shunsuke Shibayama
e4341bd567 Update codegen.rs 2022-09-17 23:39:41 +09:00
Shunsuke Shibayama
fe1b0fab70 Add AtomicStr 2022-09-14 12:11:06 +09:00
Shunsuke Shibayama
846c5dd5d0 Update codegen.rs 2022-09-11 21:45:27 +09:00
Shunsuke Shibayama
f38bc88073 Implement fake methods code generating 2022-09-11 21:36:02 +09:00
Shunsuke Shibayama
1947f7518a Follow the latest changes and correct warnings 2022-09-10 21:33:13 +09:00
Shunsuke Shibayama
fe969299d7 Omit class names in member access 2022-09-10 17:52:03 +09:00
Yuna Tomida
d956c3f61d
Follow clippy warnings 2022-09-10 17:32:25 +09:00
Shunsuke Shibayama
3895d29669 Fix visibility bugs 2022-09-10 01:42:23 +09:00
Shunsuke Shibayama
7a682db817 method_name: Option<Token> -> Option<Identifier> 2022-09-09 16:46:36 +09:00
Shunsuke Shibayama
c11ea3e892 Fix a method calling bug 2022-09-09 14:18:03 +09:00
Shunsuke Shibayama
4f69725811 Impl var_args code generating 2022-09-09 13:28:35 +09:00
Shunsuke Shibayama
7573c0e128 Fix duplicate method definition bugs 2022-09-09 01:07:34 +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
36aa226d10 Impl Linker 2022-09-06 14:43:01 +09:00
Shunsuke Shibayama
1b4c9aa9c3 Move eval.rs to context 2022-09-05 23:50:32 +09:00
Shunsuke Shibayama
fc5ad07660 Update parser 2022-09-02 11:45:47 +09:00
Shunsuke Shibayama
a8e4658c67 Add importlib, io, socket, sys, time 2022-08-31 14:19:25 +09:00
Shunsuke Shibayama
c9ffceec57 Fix method call bugs 2022-08-31 12:31:51 +09:00
Yuna Tomida
95c70f4aed
make debug log easier to see 2022-08-30 10:57:30 +09:00
Shunsuke Shibayama
99ffee35b2 Implement access to array/tuple elements 2022-08-29 21:59:17 +09:00
Shunsuke Shibayama
451d94d31b Impl Tuple type checking & code generating 2022-08-29 12:41:14 +09:00
Shunsuke Shibayama
356906a5fe Fix code generation of else-less if 2022-08-28 11:45:02 +09:00
Shunsuke Shibayama
bce13ef270 Implement code generation for records 2022-08-28 03:14:26 +09:00
Shunsuke Shibayama
8e73b9b6b7 Add TypeCmpCache 2022-08-26 14:37:39 +09:00
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