Shunsuke Shibayama
954c6f752d
Fix a python module resolving bug
2022-12-14 06:37:43 +09:00
Shunsuke Shibayama
3c17518963
Rename ErgConfig::pylyzer_mode -> python_compatible_mode
2022-12-14 06:11:54 +09:00
Shunsuke Shibayama
3108a789a4
Merge branch 'main' into pylyzer-mode
2022-12-14 05:39:14 +09:00
Shunsuke Shibayama
b09fce8a86
Add ErgConfig::inherit
...
and remove with_module_path
2022-12-14 05:38:50 +09:00
Shunsuke Shibayama
64e7c9e41b
Update mod.rs
2022-12-13 22:07:01 +09:00
Shunsuke Shibayama
ccf39b3b05
Support pylyzer mode
2022-12-13 21:16:52 +09:00
Shunsuke Shibayama
c6ac087f71
Update mod.rs
...
Update mod.rs
Update mod.rs
2022-12-13 20:51:10 +09:00
Shunsuke Shibayama
5b01098605
Merge branch 'main' into pylyzer-mode
2022-12-13 20:42:58 +09:00
Shunsuke Shibayama
3c90d9b8ed
Fix SharedModuleCache
to take ErgConfig
as an argument
2022-12-13 20:41:05 +09:00
Shunsuke Shibayama
dea0d722b0
Add pylyzer execution pass
2022-12-13 19:31:53 +09:00
Shunsuke Shibayama
64848a73ce
Add pylyzer-mode
2022-12-13 18:02:21 +09:00
Shunsuke Shibayama
1142d327e5
Fix: arbitrary attributes of Failure
type objects to be Failure
2022-12-11 23:32:28 +09:00
Shunsuke Shibayama
c8b161842a
Add Location::unknown_or
2022-12-11 22:58:14 +09:00
Shunsuke Shibayama
de39186103
Enhance array out of bounds hint messages
2022-12-11 21:51:11 +09:00
Shunsuke Shibayama
c2270d319d
Update mod.rs
2022-12-11 21:24:32 +09:00
Shunsuke Shibayama
e1c8bb415b
Add Expr::Dummy
2022-12-11 18:28:20 +09:00
Shunsuke Shibayama
f1ff0d1ddf
Fix double type checking of return values
2022-12-11 12:00:33 +09:00
Shunsuke Shibayama
09cca638a6
Update register.rs
2022-12-11 11:39:47 +09:00
Shunsuke Shibayama
22f906953d
Update compare.rs
2022-12-10 13:31:50 +09:00
Shunsuke Shibayama
acb3eac043
Fix a refinement subtype checking bug
2022-12-10 13:18:07 +09:00
Shunsuke Shibayama
ddd7abbaed
Add NoTypeDisplay
trait
2022-12-09 22:01:09 +09:00
Shunsuke Shibayama
5830253d7b
Update compare.rs
2022-12-09 20:12:31 +09:00
Shunsuke Shibayama
4ed278e75c
Fix #282
2022-12-09 19:46:59 +09:00
Shunsuke Shibayama
a395938413
Fix an Erg standard library loading bug
2022-12-09 11:48:13 +09:00
Shunsuke Shibayama
a460b431a3
Update inquire.rs
2022-12-08 23:47:12 +09:00
Shunsuke Shibayama
3c9734e571
Update inquire.rs
2022-12-08 23:31:07 +09:00
Shunsuke Shibayama
7b95d3fc4d
Merge pull request #280 from erg-lang/fix-#278
...
Fix #278
2022-12-08 22:50:29 +09:00
Shunsuke Shibayama
e7edd42c5b
Update eval.rs
2022-12-08 22:48:28 +09:00
Shunsuke Shibayama
4f21e63fa8
Fix #278
2022-12-08 22:36:57 +09:00
Shunsuke Shibayama
aa3bf7f44c
Make SubMessage::msg, hint
public members
2022-12-08 14:55:55 +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
287a65276e
Add Str <-> Int, Nat convertors
2022-12-06 23:44:24 +09:00
Shunsuke Shibayama
943824fdc2
Update eval.rs
2022-12-06 22:57:21 +09:00
Shunsuke Shibayama
47132cfab1
Implement string interpolation
2022-12-05 21:24:10 +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
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
48f91f969b
Fix match crashes
2022-12-04 11:43: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
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
GreasySlug
f8b3c0d70f
Add: proc and func hint
2022-11-29 22:41:01 +09:00
Shunsuke Shibayama
99dab80003
Add test cases for args.er
2022-11-29 21:21:44 +09:00
Shunsuke Shibayama
53a165e1b8
Add test cases for args.er
2022-11-29 20:28:15 +09:00