Commit graph

649 commits

Author SHA1 Message Date
Shunsuke Shibayama
56de07ee14 Fix #261 2022-11-28 22:23:46 +09:00
Shunsuke Shibayama
1f368e1a8d Improve error messages for deleted variable access 2022-11-28 22:13:48 +09:00
Shunsuke Shibayama
a57d5f6dfd Update error.rs 2022-11-28 21:59:03 +09:00
Shunsuke Shibayama
043ee544e6 Change CompleteArtifact to be able to hold non-HIR structs 2022-11-28 21:52:46 +09:00
Shunsuke Shibayama
1f33e3b642 Change UnusedError to Warning 2022-11-28 17:01:35 +09:00
Shunsuke Shibayama
13013b1641 Fix #259 2022-11-28 13:32:08 +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
a373185dec
Merge branch 'main' into fix-#247 2022-11-27 20:31:50 +09:00
Shunsuke Shibayama
111a9f5615 Fix #247 2022-11-27 20:24:11 +09:00
Shunsuke Shibayama
9ac8248609 Implement some primitive types methods 2022-11-27 16:35:50 +09:00
Shunsuke Shibayama
1a9ae3349d Update transpile.rs 2022-11-27 00:26:45 +09:00
Shunsuke Shibayama
2051692350 Split std files 2022-11-27 00:26:15 +09:00
Shunsuke Shibayama
a8dc65a916 Update lower.rs 2022-11-26 12:36:34 +09:00
Shunsuke Shibayama
f2fedf6ae8 Update version (v0.5.13) 2022-11-26 11:42:21 +09:00
Shunsuke Shibayama
54686b0c59 Fix #244 2022-11-26 11:39:18 +09:00
Shunsuke Shibayama
72af69a48e Update error.rs 2022-11-26 11:05:37 +09:00
Shunsuke Shibayama
d26909c317 Improve type mismatch messages 2022-11-25 17:20:39 +09:00
Shunsuke Shibayama
b769f65f4d Fix a subroutine type relation check bug 2022-11-24 22:55:50 +09:00
Shunsuke Shibayama
b6499473d1 Change built-in APIs' parameter names 2022-11-24 20:40:24 +09:00
Shunsuke Shibayama
7bcc766500 Add Runnable::initialize 2022-11-23 19:43:56 +09:00
GreasySlug
3eeafa3f94 Fix: consistent use of color 2022-11-23 17:35:37 +09:00
GreasySlug
f3a9ea728e Update: use ErrorCore loc instead of SubMessage's 2022-11-23 17:22:57 +09:00
Shunsuke Shibayama
2caa6b6ec9
Merge pull request #232 from erg-lang/split-err-msg
Split error messages
2022-11-23 15:55:19 +09:00
GreasySlug
31f2d8901c Add: test code simply and modify format 2022-11-23 13:48:53 +09:00
GreasySlug
dad6fd1996 Clean: into() convert to_string() or to_owned() 2022-11-22 14:29:24 +09:00
Shunsuke Shibayama
ab391620d4 Implement features for embedding 2022-11-22 09:14:25 +09:00
Shunsuke Shibayama
d5d2350834 Update transpile.rs 2022-11-22 02:31:48 +09:00
Shunsuke Shibayama
ce9c4250e0 Update inquire.rs 2022-11-22 02:15:39 +09:00
GreasySlug
a42d3b704d Fix: not displaying when not cols 2022-11-21 14:31:14 +09:00
GreasySlug
cc9fa5a12e Change: String to Cow<'a, str> 2022-11-21 14:21:03 +09:00
Yuna Tomida
743b0d97e2
enable shortened/normal mixed record definition 2022-11-21 12:14:25 +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
GreasySlug
d64712c7a7 Change: Option to Vec 2022-11-20 09:34:26 +09:00
Shunsuke Shibayama
81bea3bcee Remove AtomicStr 2022-11-20 01:42:55 +09:00
Shunsuke Shibayama
04e4cd368d Add Lambda transpiling 2022-11-19 13:26:02 +09:00
Shunsuke Shibayama
ba84026eb6 Update mod.rs 2022-11-19 11:42:10 +09:00
Shunsuke Shibayama
b95f043cb1 Update transpile.rs 2022-11-18 15:45:35 +09:00
Shunsuke Shibayama
d7ea38eccb Add AttrDef & Compound 2022-11-18 14:54:23 +09:00
Shunsuke Shibayama
6e5191380b Implement Record & ClassDef 2022-11-18 14:43:25 +09:00
GreasySlug
4ae81aa05e Add: Location moved to ErrorCore 2022-11-18 12:31:44 +09:00
Shunsuke Shibayama
7d38836deb Implement container transpiling 2022-11-18 11:45:40 +09:00
Shunsuke Shibayama
ca3612e9b3 Update transpile.rs 2022-11-18 11:14:11 +09:00
Shunsuke Shibayama
f5c69ea037 Implement method transpiling 2022-11-18 11:11:12 +09:00
Shunsuke Shibayama
77ff1b44e8 Implement binary/unary transpiling 2022-11-18 11:07:43 +09:00
Shunsuke Shibayama
bc6d401aec Add transpiler 2022-11-18 11:02:30 +09:00
GreasySlug
000124fea8 Update: changed in support of SubMessage 2022-11-17 23:27:31 +09:00
GreasySlug
bba66f7696 Change: move THEME to ErrorCore 2022-11-17 23:25:47 +09:00
GreasySlug
22652cb174 Merge branch 'split-err-msg' of https://github.com/GreasySlug/erg into split-err-msg 2022-11-17 23:01:07 +09:00
Shunsuke Shibayama
07c62de125 impl Default for Runnable structs 2022-11-17 22:05:04 +09:00
Shunsuke Shibayama
d8e2ece224 impl Display for ComileErrors 2022-11-17 20:48:42 +09:00