Commit graph

55 commits

Author SHA1 Message Date
Shunsuke Shibayama
e1c8bb415b Add Expr::Dummy 2022-12-11 18:28:20 +09:00
Shunsuke Shibayama
2e60d8c885 Add ast::AttrDef 2022-12-11 12:15:34 +09:00
Shunsuke Shibayama
4ed278e75c Fix #282 2022-12-09 19:46:59 +09:00
Shunsuke Shibayama
52c76431ee Merge branch 'main' into patch 2022-12-05 17:25:45 +09:00
Shunsuke Shibayama
e9d0642b29 Fix a desugaring bug 2022-12-04 11:44:13 +09:00
Shunsuke Shibayama
85370fb051 Update desugar.rs 2022-12-04 00:26:42 +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
406bf3ce40 Fix desugaring case leaks 2022-11-22 02:09:00 +09:00
Yuna Tomida
743b0d97e2
enable shortened/normal mixed record definition 2022-11-21 12:14:25 +09:00
Shunsuke Shibayama
771be313a9 Fix match codegen 2022-11-16 18:59:38 +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
Yuna Tomida
be5a79a4b0
add FromIterator for Block/Module and make code succinct 2022-11-08 01:54:10 +09:00
Shunsuke Shibayama
14b143778f WIP: Enable to declare in class methods definitions 2022-11-07 17:37:46 +09:00
Shunsuke Shibayama
329274e2cd Implement match! 2022-10-23 01:21:18 +09:00
Shunsuke Shibayama
4068a5ba07 Implement parameter pattern desugaring 2022-10-23 00:56:39 +09:00
Shunsuke Shibayama
a0714b218c Implement helper methods for AST/HIR construction 2022-10-18 18:30:09 +09:00
Shunsuke Shibayama
d0456ec1ee Implement default parameter 2022-10-18 10:27:57 +09:00
Shunsuke Shibayama
aa2b45bf86 Fix method call bug 2022-10-13 00:56:43 +09:00
Shunsuke Shibayama
9c3acc8e19 Implement ProjMethod 2022-10-11 16:08:49 +09:00
Shunsuke Shibayama
9fd98001fe Update desugar.rs 2022-10-10 21:47:44 +09:00
Shunsuke Shibayama
3237212aa0 WIP 2022-10-08 13:32:26 +09:00
Shunsuke Shibayama
ec196d0695 Impl Dict parsing 2022-10-08 12:44:11 +09:00
GreasySlug
c7887e999c Fix: desugar elems 2022-10-06 15:57:02 +09:00
GreasySlug
20cc00d173 Add: impl set with len and register builtin ctx 2022-10-04 08:32:57 +09:00
GreasySlug
6e6edb5d7e Add: lower for the set literal 2022-10-03 17:21:59 +09:00
Shunsuke Shibayama
671fbee518 merge from trait 2022-09-21 01:17:11 +09:00
Shunsuke Shibayama
d8799f0895 Refactor
Add `ASTBuilder`, `Checker`
2022-09-20 14:42:37 +09:00
Shunsuke Shibayama
346d00fcd8 Impl UserConstSubr 2022-09-16 23:33:10 +09:00
Shunsuke Shibayama
91b7ba3c05 Add TypeAppArgs 2022-09-16 15:27:19 +09:00
Shunsuke Shibayama
b0a93b5d4f Impl some unimplemented parsing methods 2022-09-10 22:44:04 +09:00
Shunsuke Shibayama
1947f7518a Follow the latest changes and correct warnings 2022-09-10 21:33:13 +09:00
Shunsuke Shibayama
02e0beb849 Update desugar.rs 2022-09-10 17:57:01 +09:00
Shunsuke Shibayama
3895d29669 Fix visibility bugs 2022-09-10 01:42:23 +09:00
Shunsuke Shibayama
1ae7633501 Merge branch 'main' into class 2022-09-06 21:55:53 +09:00
Shunsuke Shibayama
36aa226d10 Impl Linker 2022-09-06 14:43:01 +09:00
Cai Bingjun
51de3c9d5a Set Erg's markdown snippet highlighting to Python 2022-09-04 12:01:06 +08:00
Shunsuke Shibayama
174b37d60c Impl Display for ConstSubr 2022-09-03 23:39:29 +09:00
Shunsuke Shibayama
18116f14ed Impl DataPackVattern desugaring 2022-09-03 22:23:25 +09:00
Shunsuke Shibayama
263c43d74b WIP: Impl DataPack type checking 2022-09-03 20:58:28 +09:00
Shunsuke Shibayama
f0d686cd7b Change ref and ref! to unary operators 2022-09-02 22:49:34 +09:00
Shunsuke Shibayama
ce94f81066 WIP: Add DataPack 2022-09-02 19:37:54 +09:00
Shunsuke Shibayama
d2ed277685 Impl ShortenedRecord desugaring 2022-09-02 14:40:01 +09:00
Shunsuke Shibayama
fc5ad07660 Update parser 2022-09-02 11:45:47 +09:00
Shunsuke Shibayama
c60c2668d1 Refactor desugar.rs 2022-09-01 11:28:56 +09:00
Yuna Tomida
cd12e163f5
fixed unintensional ignorance of Subr in desugar_pattern 2022-08-30 23:22:20 +09:00
Shunsuke Shibayama
de7832bf33 Implement variable-length/keyword arguments 2022-08-30 20:31:56 +09:00
Shunsuke Shibayama
99ffee35b2 Implement access to array/tuple elements 2022-08-29 21:59:17 +09:00
Shunsuke Shibayama
20aaf6a53e Impl: variable visibility 2022-08-22 23:15:07 +09:00