Shunsuke Shibayama
6e33264f7a
Merge pull request #277 from erg-lang/fix-#276
...
Update codegen.rs
2022-12-08 15:41:48 +09:00
Shunsuke Shibayama
aa3bf7f44c
Make SubMessage::msg, hint
public members
2022-12-08 14:55:55 +09:00
Shunsuke Shibayama
ee3c23298e
Update codegen.rs
2022-12-08 14:26:22 +09:00
Shunsuke Shibayama
428a557313
Add a hint for an unnecessary spaces syntax error
2022-12-08 12:06:28 +09:00
Shunsuke Shibayama
11b9cf764b
Fix an indent lexing bug
2022-12-08 11:46:26 +09:00
Shunsuke Shibayama
b83b94ccde
Update eval.rs
2022-12-07 23:28:26 +09:00
Shunsuke Shibayama
631e0f0df7
Update eval.rs
2022-12-07 23:26:18 +09:00
Shunsuke Shibayama
bbd92941e5
Update version (beta)
2022-12-07 23:07:17 +09:00
Shunsuke Shibayama
287a65276e
Add Str <-> Int, Nat convertors
2022-12-06 23:44:24 +09:00
Shunsuke Shibayama
592a77caab
Fix a str-interpolation bug
2022-12-06 23:09:12 +09:00
Shunsuke Shibayama
943824fdc2
Update eval.rs
2022-12-06 22:57:21 +09:00
Shunsuke Shibayama
c927d16bb8
Update codegen.rs
2022-12-06 22:02:50 +09:00
Shunsuke Shibayama
c15944c8e7
Update transpile.rs
2022-12-06 11:14:56 +09:00
Shunsuke Shibayama
f02a5285ad
Add --output-dir
option
2022-12-06 09:43:30 +09:00
Shunsuke Shibayama
246b7193a0
Fix if
transpiling
2022-12-06 02:35:05 +09:00
Shunsuke Shibayama
b003c33953
Enhance os
module type decls
2022-12-06 02:08:46 +09:00
Shunsuke Shibayama
84fba0a9d7
Update transpile.rs
2022-12-06 01:57:20 +09:00
Shunsuke Shibayama
a85286a3c7
Update version (0.6.0-beta.0)
2022-12-05 21:46:11 +09:00
Shunsuke Shibayama
47132cfab1
Implement string interpolation
2022-12-05 21:24:10 +09:00
Shunsuke Shibayama
c569df390c
Update token.rs
2022-12-05 21:22:59 +09:00
Shunsuke Shibayama
52c76431ee
Merge branch 'main' into patch
2022-12-05 17:25:45 +09:00
Shunsuke Shibayama
4a0143302f
Fix #272
2022-12-05 17:21:46 +09:00
Shunsuke Shibayama
f21715c8c1
Update transpile.rs
2022-12-05 11:13:38 +09:00
Shunsuke Shibayama
b0fe1103f3
Add inc!
, dec!
to Int
2022-12-05 02:34:35 +09:00
Shunsuke Shibayama
6cb3231845
Fix a refinement + union types bug
2022-12-05 00:41:37 +09:00
Shunsuke Shibayama
188f8ad965
Update tyvar.rs
2022-12-04 12:30:31 +09:00
Shunsuke Shibayama
f36d54f51e
WIP: tuple, array match guard codegen
2022-12-04 12:16:37 +09:00
Shunsuke Shibayama
e9d0642b29
Fix a desugaring bug
2022-12-04 11:44:13 +09:00
Shunsuke Shibayama
48f91f969b
Fix match crashes
2022-12-04 11:43:39 +09:00
Shunsuke Shibayama
85370fb051
Update desugar.rs
2022-12-04 00:26:42 +09:00
Shunsuke Shibayama
01a8b05707
Update parse.rs
2022-12-03 23:59:46 +09:00
Shunsuke Shibayama
1b1b31a245
Update parse.rs
2022-12-03 23:41:28 +09:00
Shunsuke Shibayama
46029c0abc
Update value.rs
2022-12-03 20:13:44 +09:00
Shunsuke Shibayama
3e24a1de72
Update re.d.er
2022-12-03 19:57:04 +09:00
Shunsuke Shibayama
0f6e96cb97
Update codegen.rs
2022-12-03 19:56:45 +09:00
Shunsuke Shibayama
5e1d5b4523
Implement Patch transpiling
2022-12-03 13:31:05 +09:00
Shunsuke Shibayama
15a7be482c
Merge branch 'main' into patch
2022-12-03 11:39:19 +09:00
Shunsuke Shibayama
f1f3449d49
Update transpile.rs
2022-12-03 00:40:12 +09:00
Shunsuke Shibayama
5e29de9b53
Update transpiler
2022-12-02 23:56:39 +09:00
Shunsuke Shibayama
b433a703dc
Update eval.rs
2022-12-02 22:17:00 +09:00
Shunsuke Shibayama
bade70ef91
Implement Patch
2022-12-02 20:03:02 +09:00
Shunsuke Shibayama
afad52c449
Forbid accessing to a mut object in a func
2022-12-01 23:11:42 +09:00
Shunsuke Shibayama
9b1457b695
Fix #265
2022-12-01 23:02:06 +09:00
Shunsuke Shibayama
08a92bbbc1
Fix if codegen bugs
2022-11-30 23:58:19 +09:00
Slug
cafdd8ac35
Merge pull request #249 from GreasySlug/func-and-proc-hint
...
Since a function is a subtyping of a procedure, it can take a function as an argument only if it can take a procedure as an argument.
However, the reverse is not possible, so a type mismatch is detected.
A hint message for each lang for this is added.
2022-11-30 21:13:47 +09:00
GreasySlug
c026f14a4d
Clean: fix wrong color and update messages
2022-11-30 21:06:12 +09:00
Shunsuke Shibayama
44b21e223e
Update parse.rs
2022-11-30 20:41:01 +09:00
Shunsuke Shibayama
0cb883d22c
Update lex.rs
2022-11-30 01:27:10 +09:00
Shunsuke Shibayama
708d154f60
Fix #255
2022-11-30 01:18:47 +09:00
GreasySlug
f8b3c0d70f
Add: proc and func hint
2022-11-29 22:41:01 +09:00