Commit graph

34 commits

Author SHA1 Message Date
Shunsuke Shibayama
a127564b31 Rename dir: compiler -> crates 2023-01-15 12:03:19 +09:00
Shunsuke Shibayama
21055ce392 Implement newtype notation 2023-01-06 18:13:21 +09:00
Shunsuke Shibayama
8f9c0b2f8c Add Context::readable_type 2023-01-03 18:36:39 +09:00
Shunsuke Shibayama
65d63e0d01 Update const_func.rs 2022-12-29 11:18:07 +09:00
Shunsuke Shibayama
d8f7e386c8 Enhance: empty classes can be generated by Class() 2022-12-23 22:16:22 +09:00
gmshiba
561a384014 Fix warnings
Fix warnings
2022-12-16 02:29:07 +09:00
Shunsuke Shibayama
800b6c43d9 Eliminate todo!s 2022-12-15 15:18:25 +09:00
Shunsuke Shibayama
bade70ef91 Implement Patch 2022-12-02 20:03:02 +09:00
GreasySlug
ff24c62de1 Merge branch 'main' of https://github.com/GreasySlug/erg into split-err-msg 2022-11-20 10:41:10 +09:00
Shunsuke Shibayama
81bea3bcee Remove AtomicStr 2022-11-20 01:42:55 +09:00
GreasySlug
4ae81aa05e Add: Location moved to ErrorCore 2022-11-18 12:31:44 +09:00
GreasySlug
000124fea8 Update: changed in support of SubMessage 2022-11-17 23:27:31 +09:00
GreasySlug
e29eb0b6ed Change: color.rs to style.rs 2022-11-12 14:17:29 +09:00
Shunsuke Shibayama
a9f65d73c1 Remove linter warnings 2022-11-05 03:17:05 +09:00
Shunsuke Shibayama
9d022ba4e1 Optimize type inferer 2022-10-27 10:12:08 +09:00
Shunsuke Shibayama
308f6a77dd Optimize type inferer 2022-10-27 10:10:51 +09:00
Shunsuke Shibayama
12711ba08a Add semver.er 2022-10-23 21:13:45 +09:00
Shunsuke Shibayama
c39973f536 Fix subtyping bug 2022-10-21 20:04:14 +09:00
Shunsuke Shibayama
ac841216e3 Stricter type checking for Array access 2022-10-12 16:42:40 +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
23a6f630c9 Fix import to be called from anywhere 2022-09-29 11:48:38 +09:00
Shunsuke Shibayama
f6e1a7b117 Remove unwraps 2022-09-24 19:15:55 +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
aa527dcbc8 WIP: impl Trait 2022-09-17 01:42:49 +09:00
Shunsuke Shibayama
346d00fcd8 Impl UserConstSubr 2022-09-16 23:33:10 +09:00
Shunsuke Shibayama
bc67677ad6 Add Trait, Subsume 2022-09-15 11:37:12 +09:00
Shunsuke Shibayama
1947f7518a Follow the latest changes and correct warnings 2022-09-10 21:33:13 +09:00
Shunsuke Shibayama
892ab6df2f Implement inheritance check 2022-09-09 15:34:34 +09:00
Shunsuke Shibayama
5029d71cbe Impl: auto generating of new 2022-09-07 14:48:02 +09:00
Shunsuke Shibayama
be8c0978f0 Add ClassType object 2022-09-06 01:29:56 +09:00
Shunsuke Shibayama
cf0858ddde Add TypeObj 2022-09-04 00:46:15 +09:00
Shunsuke Shibayama
22cb113fcd Unify Type::Class/Trait 2022-09-03 22:22:49 +09:00
Shunsuke Shibayama
c4bff5d54a Add some const funcs & Remove Evaluator 2022-09-03 01:45:00 +09:00