Commit graph

38 commits

Author SHA1 Message Date
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
Shunsuke Shibayama
ec9ecb98b7 Update codegen.rs 2023-02-15 13:22:47 +09:00
Shunsuke Shibayama
5f6c8a3b2b perf: reduce performing of .loc() 2023-02-15 03:27:08 +09:00
Shunsuke Shibayama
2574de3a68 fix: some bugs
Fixed:

* argument `_` of anonymous function disappears
* els crashes
* incomplete `.update!` codegen
2023-02-13 15:06:50 +09:00
Shunsuke Shibayama
b1a3e97334 fix: crash 2023-02-12 11:04:41 +09:00
Shunsuke Shibayama
af0fff8226 fix(compiler): runtime type matching system 2023-02-12 01:34:12 +09:00
Shunsuke Shibayama
68850e8d8b fix(codegen): problem with large code causing codegen to fail 2023-02-10 01:32:29 +09:00
Shunsuke Shibayama
3a14bbe37e fix: codegen expr 2023-02-07 23:44:17 +09:00
Shunsuke Shibayama
a2a55b0645 refactor: rem impl_stream_for_wrapper and merge into impl_stream 2023-02-06 04:11:25 +09:00
Shunsuke Shibayama
c3660e4014 Update codegen.rs 2023-02-03 02:36:17 +09:00
Shunsuke Shibayama
8cdc735486 Fix builtin types methods 2023-02-03 00:23:42 +09:00
Shunsuke Shibayama
c7096b17f1 Merge branch 'main' into feature-var-params-fn 2023-02-01 02:05:09 +09:00
Shunsuke Shibayama
73248f21df Update codegen.rs 2023-01-26 14:23:07 +09:00
Shunsuke Shibayama
eaded7ac5d Add PyCodeGenerator::deopt_instr 2023-01-26 14:12:43 +09:00
Shunsuke Shibayama
23a7e2caf3 Add user-defined var-params function 2023-01-26 01:20:35 +09:00
Shunsuke Shibayama
afeec08d6c Improve inlay hint 2023-01-19 00:06:13 +09:00
Shunsuke Shibayama
a127564b31 Rename dir: compiler -> crates 2023-01-15 12:03:19 +09:00
Renamed from compiler/erg_compiler/codegen.rs (Browse further)