Commit graph

401 commits

Author SHA1 Message Date
GreasySlug
9297953443 test: check valid dedent at the end of block 2022-12-28 14:53:50 +09:00
GreasySlug
41828a6d9a fix: dedent error when EOF comes
In a block of depth 2 or greater
2022-12-28 14:24:11 +09:00
Shunsuke Shibayama
a249de98b3 Refactor: AttrDef -> ReDef 2022-12-27 14:07:39 +09:00
Shunsuke Shibayama
6a94a09679 Update Cargo.toml 2022-12-27 02:03:32 +09:00
Shunsuke Shibayama
16b50347d4 Implement is!/isnot! operator 2022-12-27 01:37:20 +09:00
Shunsuke Shibayama
d393ace9a6 Enhance: Parser::validate_const_expr 2022-12-26 22:36:39 +09:00
GreasySlug
d329650bcf update: whitespace after multi comment is an error 2022-12-26 20:15:17 +09:00
GreasySlug
36942adf09 fix: consume token and check indent after comment 2022-12-26 16:05:35 +09:00
Shunsuke Shibayama
43a3fa6e30 eliminate lpop and use into_iter 2022-12-25 20:22:03 +09:00
Shunsuke Shibayama
c59cace06b Update version (0.6.0) 2022-12-25 18:54:22 +09:00
Shunsuke Shibayama
099b4587e5 Fix broken tests 2022-12-25 12:37:41 +09:00
Shunsuke Shibayama
46418987c1 Add Dummy marker 2022-12-25 01:50:19 +09:00
Slug
5b0dedd421
Merge pull request #308 from GreasySlug/main
Extract errors as methods and use them
2022-12-23 15:47:16 +09:00
Shunsuke Shibayama
bb860c3c7b Update version (beta.4) 2022-12-23 15:45:33 +09:00
GreasySlug
c1b552411d remove: todo 2022-12-23 15:38:07 +09:00
GreasySlug
593aefd139 update: extract errors as methods and use them 2022-12-23 14:15:30 +09:00
GreasySlug
4f4853244b fix: missing return err caused overflow 2022-12-22 14:06:15 +09:00
Shunsuke Shibayama
f677d23294 Fix #299 2022-12-22 07:59:06 +09:00
GreasySlug
ca359b4f7c update: add hint and show nest count 2022-12-20 13:39:19 +09:00
GreasySlug
90ba7f37d3 fix: infinite loop when #[ is more than ]# 2022-12-20 12:49:57 +09:00
Shunsuke Shibayama
5b01c048af Update lex.rs 2022-12-19 22:56:51 +09:00
Shunsuke Shibayama
24b8f3f63d Fix a pattern desugaring bug 2022-12-19 22:44:54 +09:00
Shunsuke Shibayama
55d1367eeb Update version (beta.3) 2022-12-19 09:23:29 +09:00
Shunsuke Shibayama
2d689ee698 Add large_thread feature 2022-12-17 17:59:51 +09:00
Shunsuke Shibayama
0fc53b3d65 Implement return, yield methods 2022-12-16 17:34:59 +09:00
gmshiba
561a384014 Fix warnings
Fix warnings
2022-12-16 02:29:07 +09:00
Shunsuke Shibayama
64ece1949d Improve loc() 2022-12-15 21:51:58 +09:00
Shunsuke Shibayama
e8e174b1e8 Refactor Desugarer 2022-12-15 14:10:52 +09:00
Shunsuke Shibayama
62c2b0dd6b Update Desugarer 2022-12-15 00:51:05 +09:00
Shunsuke Shibayama
f3a7d26e71 Create declare mod 2022-12-14 17:47:40 +09:00
Shunsuke Shibayama
a805b1ed72 Add Token::deep_eq 2022-12-14 15:16:32 +09:00
Shunsuke Shibayama
190561d264 Update ast.rs 2022-12-14 11:49:01 +09:00
Shunsuke Shibayama
3d69353bf6 Merge branch 'main' into pylyzer-mode 2022-12-14 09:23:47 +09:00
Shunsuke Shibayama
157c0cb7a5 Add Runnable::cfg_mut 2022-12-14 09:22:50 +09:00
Shunsuke Shibayama
f48982881f Fix a bug with VarName::trim_end_proc_mark 2022-12-14 05:49:30 +09:00
Shunsuke Shibayama
8ec367ed63 Merge branch 'main' into pylyzer-mode 2022-12-14 05:30:25 +09:00
Shunsuke Shibayama
0e928c758f Add exec_new_thread 2022-12-14 05:29:47 +09:00
Shunsuke Shibayama
855d463011 Add trim_end_proc_mark 2022-12-13 22:38:20 +09:00
Shunsuke Shibayama
055b6117ff __import__ to be special function 2022-12-13 22:20:42 +09:00
Shunsuke Shibayama
fe7ce9d1b3 Update parse.rs 2022-12-13 20:42:22 +09:00
Shunsuke Shibayama
03319d1c8c Add ast::Dummy 2022-12-11 23:43:36 +09:00
Shunsuke Shibayama
34eb413456
Merge pull request #290 from GreasySlug/main
Fix and clean lex Str and MultilineStr
2022-12-11 23:33:48 +09:00
Shunsuke Shibayama
fda485cdf9 Avoid panic in Params::loc 2022-12-11 20:03:43 +09:00
Shunsuke Shibayama
bb03ca6097 Fix Block::loc 2022-12-11 18:31:44 +09:00
Shunsuke Shibayama
e1c8bb415b Add Expr::Dummy 2022-12-11 18:28:20 +09:00
GreasySlug
b57df8254d clean: use by and change unicode error place 2022-12-11 14:53:05 +09:00
GreasySlug
8268c28656 fix: const quotes 2022-12-11 14:50:55 +09:00
Shunsuke Shibayama
3841b9f676 Update ast.rs 2022-12-11 12:30:27 +09:00
Shunsuke Shibayama
2e60d8c885 Add ast::AttrDef 2022-12-11 12:15:34 +09:00
Shunsuke Shibayama
3013d708d8 Update version (beta.2) 2022-12-10 00:16:46 +09:00