Commit graph

103 commits

Author SHA1 Message Date
Shunsuke Shibayama
df0fba34bd Fix #205 2022-11-28 00:21:44 +09:00
Shunsuke Shibayama
54686b0c59 Fix #244 2022-11-26 11:39:18 +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
73bfa05588
Merge pull request #233 from ytoml/stream-op
Add stream operator
2022-11-16 20:10:57 +09:00
Shunsuke Shibayama
771be313a9 Fix match codegen 2022-11-16 18:59:38 +09:00
Shunsuke Shibayama
f3a5d31ec4 Add stream.er 2022-11-16 08:27:33 +09:00
Shunsuke Shibayama
0ad31f4391 Implement match guard (Enum type) 2022-11-09 23:27:11 +09:00
Shunsuke Shibayama
bd29985cc7 Implement match guard (literal) 2022-11-09 19:32:46 +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
12711ba08a Add semver.er 2022-10-23 21:13:45 +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
47bedf67d8 Implement type spec of projection and enum types 2022-10-22 14:01:48 +09:00
Shunsuke Shibayama
b28c6bd118 Implement Record/TupleTypeSpec 2022-10-21 14:42:53 +09:00
Shunsuke Shibayama
03a36f48a3 Add raw identifier 2022-10-20 18:53:35 +09:00
Shunsuke Shibayama
45e34c6773 Add DictTypeSpec 2022-10-20 09:17:55 +09:00
Shunsuke Shibayama
cb4c2c7bbf Implement subtype ascription 2022-10-19 19:04:50 +09:00
Shunsuke Shibayama
87170f9bb3 Implement module compatibility checking 2022-10-19 17:21:37 +09:00
Shunsuke Shibayama
e0d6b93abd Remove rust-defined python modules 2022-10-19 01:50:14 +09:00
Shunsuke Shibayama
a0714b218c Implement helper methods for AST/HIR construction 2022-10-18 18:30:09 +09:00
Shunsuke Shibayama
4bb367f258 Impl subroutine type with default parameters 2022-10-18 10:50:41 +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
56779ab06e WIP 2022-10-10 18:39:17 +09:00
Shunsuke Shibayama
c784ba261e Merge branch 'main' into dict 2022-10-10 13:57:08 +09:00
Shunsuke Shibayama
de1180387c Implement assert casting 2022-10-09 00:14:50 +09:00
Shunsuke Shibayama
f5c64a650c Merge branch 'main' into dict 2022-10-08 13:53:12 +09:00
Shunsuke Shibayama
519e258fdc Update ast.rs 2022-10-08 13:51:15 +09:00
Shunsuke Shibayama
3237212aa0 WIP 2022-10-08 13:32:26 +09:00
GreasySlug
597bfe7b99 Fix: unnecessary break line in ast 2022-10-08 13:23:32 +09:00
Shunsuke Shibayama
ec196d0695 Impl Dict parsing 2022-10-08 12:44:11 +09:00
Shunsuke Shibayama
2cf4b5aba8 Add SetTypeSpec 2022-10-07 10:59:58 +09:00
GreasySlug
7225aac2a4 Update: structurally displayed 2022-10-05 09:10:54 +09:00
GreasySlug
20cc00d173 Add: impl set with len and register builtin ctx 2022-10-04 08:32:57 +09:00
GreasySlug
bc63e9c9cb Add: parse set literal 2022-10-03 17:00:00 +09:00
Shunsuke Shibayama
f548f9e6ef Add type specification for array and range types 2022-09-28 00:05:23 +09:00
Shunsuke Shibayama
4d6c7f7590 Add d.er syntax 2022-09-26 21:49:33 +09:00
Shunsuke Shibayama
5aae4a69a5 Split cache between Python and Erg modules 2022-09-26 14:03:06 +09:00
Shunsuke Shibayama
6cfb0d1544 Prohibit inner scope type definition 2022-09-25 18:43:45 +09:00
Shunsuke Shibayama
8c50c6b423 Fix some visibility bugs 2022-09-21 21:28:37 +09:00
Shunsuke Shibayama
9b0d66a63a Add "check" mode
Input::File(String) -> Input::file(PathBuf)
2022-09-21 14:01:20 +09:00
Shunsuke Shibayama
201b313cd2 Add builder & linker 2022-09-21 01:21:17 +09:00
Shunsuke Shibayama
bd17bf3299 Add DefKind 2022-09-18 17:56:58 +09:00
Shunsuke Shibayama
aa527dcbc8 WIP: impl Trait 2022-09-17 01:42:49 +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
424f82cf9e Update Parser 2022-09-14 11:17:19 +09:00