Commit graph

71 commits

Author SHA1 Message Date
Shunsuke Shibayama
519e258fdc Update ast.rs 2022-10-08 13:51:15 +09:00
GreasySlug
597bfe7b99 Fix: unnecessary break line in ast 2022-10-08 13:23:32 +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
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
Yuna Tomida
d956c3f61d
Follow clippy warnings 2022-09-10 17:32:25 +09:00
Shunsuke Shibayama
c5f2d816af Impl const accessing attributes 2022-09-10 16:32:03 +09:00
Shunsuke Shibayama
3895d29669 Fix visibility bugs 2022-09-10 01:42:23 +09:00
Shunsuke Shibayama
75f3444eb7 WIP: impl visibility validation 2022-09-09 17:08:05 +09:00
Shunsuke Shibayama
7a682db817 method_name: Option<Token> -> Option<Identifier> 2022-09-09 16:46:36 +09:00
Shunsuke Shibayama
4f69725811 Impl var_args code generating 2022-09-09 13:28:35 +09:00
Shunsuke Shibayama
60b7cce52e Fix bugs related to Ref/RefMut 2022-09-08 13:47:49 +09:00
Shunsuke Shibayama
e3e8a7e63c Impl Override feature 2022-09-08 09:53:32 +09:00
Shunsuke Shibayama
5029d71cbe Impl: auto generating of new 2022-09-07 14:48:02 +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
Shunsuke Shibayama
e860da2a15 WIP: impl type checker 2022-09-05 01:13:14 +09:00
Cai Bingjun
51de3c9d5a Set Erg's markdown snippet highlighting to Python 2022-09-04 12:01:06 +08: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
094eb499fb Fix refinement inference bugs 2022-09-03 15:52:55 +09:00
Shunsuke Shibayama
e1eebb252f Fix constant evaluation methods to return EvalResult 2022-09-03 11:59:18 +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
0844fb2f7a Change Parser's parsing algorithm
The LHS value is first parsed as the RHS value, and when `=` or `->` comes in, it is converted as the LHS value.
2022-09-02 01:19:43 +09:00
Shunsuke Shibayama
d790063ec2 Improve: LHS are parsed once as RHS, then conv to LHS 2022-09-01 16:46:10 +09:00
Shunsuke Shibayama
af08945798 Split initialize.rs 2022-08-31 11:53:32 +09:00
Shunsuke Shibayama
de7832bf33 Implement variable-length/keyword arguments 2022-08-30 20:31:56 +09:00
Shunsuke Shibayama
eff1d0fd14 Fix AST formatting 2022-08-30 05:33:12 +09:00
Shunsuke Shibayama
99ffee35b2 Implement access to array/tuple elements 2022-08-29 21:59:17 +09:00
Shunsuke Shibayama
44530d5f52 Fix: parse nested tuples and tuples >= 3 elements 2022-08-29 14:13:45 +09:00
Shunsuke Shibayama
11e89576e1 Merge remote-tracking branch 'github-desktop-GreasySlug/feature-parse-tuple' 2022-08-29 12:22:28 +09:00
Shunsuke Shibayama
2f225c4630 Impl Tuple parsing 2022-08-29 12:14:26 +09:00