Commit graph

116 commits

Author SHA1 Message Date
Shunsuke Shibayama
8d8a1b5d53 fix: closure codegen bug 2023-08-29 00:37:05 +09:00
Shunsuke Shibayama
4acace41de chore: embed lambda id 2023-08-28 18:39:10 +09:00
Shunsuke Shibayama
952e6ccd2e fix: array pattern matching 2023-08-27 20:29:40 +09:00
Shunsuke Shibayama
b826d05d8f chore: add Token::new_fake 2023-08-27 17:16:36 +09:00
Shunsuke Shibayama
06c14c35e5 chore: add Token::col_end 2023-08-27 16:49:01 +09:00
Shunsuke Shibayama
936b6e2f95 chore: eliminate clippy warns 2023-08-24 23:38:27 +09:00
Shunsuke Shibayama
95595ef67c fix: array type checking bug 2023-08-19 22:04:06 +09:00
Shunsuke Shibayama
5affa5065f fix: dynamic type checking bugs 2023-08-19 16:34:07 +09:00
Shunsuke Shibayama
a6b72ea636 Update codegen.rs 2023-08-19 01:34:20 +09:00
Shunsuke Shibayama
2e9fb48f2e fix: in operator
* remove `In` trait, `__in__`, `__notin__` function
* desugar to `__contains__`
* impl Collection for Array, Set, Tuple
2023-08-13 01:01:06 +09:00
Shunsuke Shibayama
bd023c70d2 chore: improve error display 2023-08-04 16:24:03 +09:00
Shunsuke Shibayama
bb0607339d perf: optimize codegen 2023-07-28 01:51:40 +09:00
Shunsuke Shibayama
4dff4746b8 fix: with codegen bug 2023-07-24 02:11:42 +09:00
Shunsuke Shibayama
962c006949 fix: for codegen bug 2023-07-24 01:24:20 +09:00
Shunsuke Shibayama
c9aff96850 Update codegen.rs 2023-07-24 00:44:41 +09:00
Shunsuke Shibayama
4053e1646f Merge branch 'main' into codegen-bug 2023-07-23 23:27:56 +09:00
Shunsuke Shibayama
bea413460a fix: codegen bugs (3.8~3.10) 2023-07-23 23:17:28 +09:00
Shunsuke Shibayama
dc28905959 fix: for codegen bug 2023-07-18 21:27:04 +09:00
Shunsuke Shibayama
0152e368ab feat: support Array, Str, Bytes slice 2023-07-15 12:29:07 +09:00
Shunsuke Shibayama
3a01d71fe8 fix: display opcode 3.7/3.9 2023-07-12 01:16:06 +09:00
Shunsuke Shibayama
dc86be1125 fix: if codegen bug 2023-07-09 22:27:42 +09:00
Shunsuke Shibayama
98c4b480b7 fix: while codegen bug 2023-07-09 21:34:12 +09:00
Shunsuke Shibayama
7be1d42c03 fix: match codegen bug 2023-07-09 21:07:10 +09:00
Shunsuke Shibayama
3f9e70bd9d fix: Self type bugs 2023-07-08 13:17:09 +09:00
Shunsuke Shibayama
53cd052dc3 fix: module member resolution bug 2023-06-29 16:07:21 +09:00
Shunsuke Shibayama
805555a097 fix: HIR linking 2023-06-29 11:50:59 +09:00
Shunsuke Shibayama
dc1b34bc10 test: add a bad pattern 2023-06-28 01:03:17 +09:00
Shunsuke Shibayama
3e137da0a1 WIP: support cyclic modules 2023-06-28 00:38:41 +09:00
Shunsuke Shibayama
d697d40760 fix: codegen bug 2023-06-17 16:18:33 +09:00
Shunsuke Shibayama
d6f30924f1 chore: add FreshNameGenerator 2023-06-10 15:31:26 +09:00
Shunsuke Shibayama
d75ac0c17b chore: add erg_common::io module 2023-06-09 12:11:13 +09:00
Shunsuke Shibayama
d4b78eb020 fix: distinguish between access to class/instance attr 2023-06-08 22:17:52 +09:00
Shunsuke Shibayama
4137a07b70 chore(els): impl hover/jump for type specification 2023-06-02 10:54:31 +09:00
Shunsuke Shibayama
0603998bfc chore: add Context::convert_value_into_type 2023-05-03 15:03:28 +09:00
Shunsuke Shibayama
b3e09f213f fix: type inference failure of as operator
Now the `as` operator is a kind of type ascription, i.e., a special operator.
2023-04-26 23:41:35 +09:00
Shunsuke Shibayama
6cb4e75fea feat: add bit operators &&/||/^^ 2023-04-25 09:55:20 +09:00
Shunsuke Shibayama
db9a7fdfd4
Merge pull request #420 from Hanaasagi/fix-stderr 2023-04-22 17:13:18 +09:00
Shunsuke Shibayama
127659673c fix(repl): initialize PyCodeGenerator when REPL fails 2023-04-22 16:45:00 +09:00
Shunsuke Shibayama
7d7849b493 fix: unintended behavior for collections 2023-04-19 18:49:27 +09:00
Shunsuke Shibayama
daf01f3cf2 feat: add as operator 2023-04-19 15:20:46 +09:00
Shunsuke Shibayama
1c6a6b2ec8 feat: add real assert function 2023-04-19 13:23:25 +09:00
Shunsuke Shibayama
d4c566477f fix: symbol mangling 2023-04-19 12:21:55 +09:00
Shunsuke Shibayama
fd21c1c633 fix: #357 2023-04-17 13:37:27 +09:00
Shunsuke Shibayama
2ac004b51e fix(codegen): eliminate unwraps 2023-04-09 21:06:48 +09:00
Shunsuke Shibayama
d92f5284c8 feat: add restricted visibility syntax 2023-03-05 02:19:18 +09:00
Shunsuke Shibayama
3d310714f1 feat: support var-args lambda function 2023-03-03 16:01:20 +09:00
Shunsuke Shibayama
536872b735 refactor: remove unnecessary fields (commas) in structs 2023-02-27 12:18:34 +09:00
Shunsuke Shibayama
1aa83f140a chore(els): improve signature help 2023-02-27 12:01:09 +09:00
Shunsuke Shibayama
aa2cea60dd fix: quantified subroutine subtyping bugs 2023-02-22 02:40:51 +09:00
Shunsuke Shibayama
7103c9f3bb feat(els): display type bounds as inlay hints 2023-02-19 02:39:03 +09:00