Commit graph

37 commits

Author SHA1 Message Date
Shunsuke Shibayama
82848c10d6 feat: *-less multiplication
fix: #235
2024-09-19 19:47:51 +09:00
Shunsuke Shibayama
da0fb2374d Update lex.rs 2024-05-12 13:47:18 +09:00
Shunsuke Shibayama
99cc321eb3 fix(lexer): comment indentation bug 2024-02-06 11:27:46 +09:00
Shunsuke Shibayama
ccb54e0115 feat!: remove dot, cross operator 2024-01-28 22:19:15 +09:00
Shunsuke Shibayama
910d5f62e9 fix(lexer): token location bug 2024-01-27 01:32:49 +09:00
Shunsuke Shibayama
bbf9a429a4 refactor: fix typos 2024-01-06 14:42:49 +09:00
Shunsuke Shibayama
21283b668e feat: add \x string literal 2023-12-29 13:44:34 +09:00
Shunsuke Shibayama
a3c267da37 feat: add kw-var-args 2023-11-12 09:52:59 +09:00
Shunsuke Shibayama
8a793c7d59 chore: add New trait 2023-11-03 12:56:46 +09:00
Shunsuke Shibayama
25d143b04a fix!(parser): handling of line breaks in enclosures 2023-09-23 23:50:28 +09:00
Shunsuke Shibayama
821ea2a252 Update lex.rs 2023-09-11 22:55:34 +09:00
Shunsuke Shibayama
abb025afd4 fix: symop codegen bug 2023-09-09 17:29:19 +09:00
Shunsuke Shibayama
21cb0bb4c1 feat: support symbolized operators 2023-09-09 16:45:24 +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
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
8c81a43c79 fix: string interpolation bug 2023-07-08 15:40:41 +09:00
Shunsuke Shibayama
d75ac0c17b chore: add erg_common::io module 2023-06-09 12:11:13 +09:00
Shunsuke Shibayama
9a6af2cd07 feat:(els): ELS parser can be customized 2023-05-28 23:45:53 +09:00
Shunsuke Shibayama
3cc4626d26 Update lex.rs 2023-05-05 15:13:02 +09:00
Shunsuke Shibayama
2fce9bda3b fix(els): eliminate unwraps 2023-05-04 19:05:27 +09:00
Shunsuke Shibayama
3f2793f915 chore: remove TokenKind::NoImplLit 2023-05-02 23:11:51 +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
daf01f3cf2 feat: add as operator 2023-04-19 15:20:46 +09:00
Shunsuke Shibayama
777af37de7 fix(lexer): multi-line token location 2023-04-06 22:39:16 +09:00
Shunsuke Shibayama
84bd0259eb fix: tuple attribute lexing bugs 2023-04-03 22:36:30 +09:00
Shunsuke Shibayama
a8511b77cc feat(lexer): impl line continuation 2023-04-03 13:01:25 +09:00
Shunsuke Shibayama
755f06bab3 test: check the number of warnings 2023-04-01 21:53:22 +09:00
Shunsuke Shibayama
6f334b6bcc refactor: Equal -> Assign 2023-03-30 01:27:51 +09:00
Shunsuke Shibayama
a998ec1b7b fix: warnings 2023-03-10 19:25:11 +09:00
Shunsuke Shibayama
7648b44b6b fix(els): minor bugs 2023-02-26 11:33:20 +09:00
Shunsuke Shibayama
dfb7537f1e Update lex.rs 2023-02-08 11:28:45 +09:00
Shunsuke Shibayama
c7096b17f1 Merge branch 'main' into feature-var-params-fn 2023-02-01 02:05:09 +09:00
Shunsuke Shibayama
44781cb030 Fix warns 2023-01-27 11:23:42 +09:00
Shunsuke Shibayama
23a7e2caf3 Add user-defined var-params function 2023-01-26 01:20:35 +09:00
Shunsuke Shibayama
1d24655588 Add REPL tests 2023-01-17 16:32:25 +09:00
Shunsuke Shibayama
a127564b31 Rename dir: compiler -> crates 2023-01-15 12:03:19 +09:00
Renamed from compiler/erg_parser/lex.rs (Browse further)