Commit graph

19 commits

Author SHA1 Message Date
Shunsuke Shibayama
ccb54e0115 feat!: remove dot, cross operator 2024-01-28 22:19:15 +09:00
Shunsuke Shibayama
f834585083 feat: impl setter for AST elements 2023-11-16 16:15:29 +09:00
Shunsuke Shibayama
22ccf4d870 feat: make erg_parser available as a Python lib 2023-11-14 20:47:01 +09:00
Shunsuke Shibayama
a6106b6139 Update token.rs 2023-09-06 10:54:04 +09:00
Shunsuke Shibayama
6cfae0066b chore(els): HIRVisitor::get_min_expr takes position instead of token 2023-08-30 13:14:04 +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
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
9025fe7e99 feat: add bin/oct/hex literal 2023-07-12 16:31:39 +09:00
Shunsuke Shibayama
3f2793f915 chore: remove TokenKind::NoImplLit 2023-05-02 23:11:51 +09:00
Shunsuke Shibayama
3e584cf300 Update token.rs 2023-04-27 14:03:40 +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
0e8dee3cbf feat: implement And type overloading 2023-04-24 21:43:46 +09:00
Shunsuke Shibayama
daf01f3cf2 feat: add as operator 2023-04-19 15:20:46 +09:00
Shunsuke Shibayama
6f334b6bcc refactor: Equal -> Assign 2023-03-30 01:27:51 +09:00
Shunsuke Shibayama
a07ab4637e fix(parser): fix #400 2023-02-27 19:52:24 +09:00
Shunsuke Shibayama
5d68d50dda feat(els): add case-change action 2023-02-11 14:20:15 +09:00
Shunsuke Shibayama
23a7e2caf3 Add user-defined var-params function 2023-01-26 01:20:35 +09:00
Shunsuke Shibayama
a127564b31 Rename dir: compiler -> crates 2023-01-15 12:03:19 +09:00
Renamed from compiler/erg_parser/token.rs (Browse further)