Commit graph

620 commits

Author SHA1 Message Date
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
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
Shunsuke Shibayama
55feef9318 Update version (v0.5.12) 2022-11-16 20:14:17 +09:00
Shunsuke Shibayama
73bfa05588
Merge pull request #233 from ytoml/stream-op
Add stream operator
2022-11-16 20:10:57 +09:00
Shunsuke Shibayama
eb21dbb157 Update test.rs 2022-11-16 20:09:10 +09:00
Shunsuke Shibayama
781ceb84e9 Fix tests 2022-11-16 20:03:25 +09:00
Shunsuke Shibayama
771be313a9 Fix match codegen 2022-11-16 18:59:38 +09:00
Shunsuke Shibayama
f3a5d31ec4 Add stream.er 2022-11-16 08:27:33 +09:00
Shunsuke Shibayama
d63b018371 Add more assertions to PyCodeGenerator 2022-11-16 00:56:40 +09:00
Shunsuke Shibayama
7b53015b04 Add not & Fix while, for codegen bugs 2022-11-16 00:06:00 +09:00
Shunsuke Shibayama
89c3ada048 Implement coercion to search for attributes 2022-11-15 21:50:42 +09:00
Shunsuke Shibayama
0b9625e126 Add PyCodeGenerator::emit_call_update_311 2022-11-15 19:04:17 +09:00
Shunsuke Shibayama
fe0153d98a Add Obj! type definition 2022-11-15 18:48:55 +09:00
Shunsuke Shibayama
62f4622135 Fix: discard patterns were ignored in types 2022-11-15 13:56:45 +09:00
Shunsuke Shibayama
d1821b88c4 Update inquire.rs 2022-11-15 13:44:05 +09:00
Shunsuke Shibayama
4ea0e356f7 Update tyvar.rs 2022-11-15 13:09:36 +09:00
Shunsuke Shibayama
51c5f4ae0a Update mod.rs 2022-11-14 11:35:49 +09:00
Shunsuke Shibayama
308ab1c9f7 Remove Location::RangePair 2022-11-14 11:13:30 +09:00
GreasySlug
b2c75b1c38 Clean: StringSpan to StyledString 2022-11-14 07:49:34 +09:00
Shunsuke Shibayama
a4d5b09df9 Merge branch 'main' into pr/212 2022-11-13 19:57:20 +09:00
Shunsuke Shibayama
22b08a2e5a Fix #98 2022-11-13 17:45:43 +09:00
GreasySlug
292a6c9301 Fix: #230 cause of overflow 2022-11-13 17:21:00 +09:00
Shunsuke Shibayama
a7c96b6971 Improve Context::union 2022-11-12 20:05:15 +09:00
Shunsuke Shibayama
4c171db645 Remove SubrSignature::t 2022-11-12 19:43:19 +09:00
GreasySlug
35841d0647 Clean: add doc comments 2022-11-12 18:08:43 +09:00
GreasySlug
7b5d20a3b3 Add: unicode and pretty features flag 2022-11-12 18:08:23 +09:00
GreasySlug
a16d46423f Update: use Span and const Theme in style.rs 2022-11-12 18:03:10 +09:00
GreasySlug
e29eb0b6ed Change: color.rs to style.rs 2022-11-12 14:17:29 +09:00
Shunsuke Shibayama
0ad31f4391 Implement match guard (Enum type) 2022-11-09 23:27:11 +09:00
Shunsuke Shibayama
bd29985cc7 Implement match guard (literal) 2022-11-09 19:32:46 +09:00
Shunsuke Shibayama
a4c6009ec6 Implement record pattern for parameters 2022-11-09 18:14:02 +09:00