Xinlong Hu
dcb337afef
3.6/3.7/3.8 Try Except test cases c, d, e, f
...
Removed the With statement overlap and starting on Try-finally statements
2025-06-26 12:46:42 -05:00
Xinlong Hu
f38235b106
3.6/3.7/3.8 Try-Except Progress & Decorator Changes
...
3.6-3.8 Try-Except test cases (a, b, c, i, k) progress
Changed decorators so that With statements work for all versions except 3.9 and 3.10 due to test case k
2025-06-24 15:26:32 -05:00
Xinlong Hu
e7d741bd76
Syntax
2025-06-24 14:35:26 -05:00
Xinlong Hu
c99e6f9f51
With Statement Constrainting
...
Try-Except statements had overlaps with With statements, tightening the restraints should remove the overlap
2025-06-24 14:33:51 -05:00
Joel Flores
cf863b2159
format
2025-06-23 11:03:05 -05:00
Joel Flores
53e888d397
format
2025-06-23 10:56:15 -05:00
Joel-Flores123
5e1bee7550
Merge pull request #46 from tsweet64/cflow-refactor
...
Some try-except 3.10 fixes and the most basic case of try-finally
2025-06-23 10:45:21 -05:00
Joel Flores
1e5ab6b747
format
2025-06-23 10:44:48 -05:00
Tim Sweet
9671465b11
Revert "Fixing some try edge cases" because it actually made some worse
...
This reverts commit bc3fc5d278 .
2025-06-18 12:53:14 -05:00
Tim Sweet
bc3fc5d278
Fixing some try edge cases
2025-06-18 12:38:32 -05:00
Tim Sweet
bc898b2c4e
cft script divide by zero fix; tryelse adjust
2025-06-18 12:38:23 -05:00
Tim Sweet
e0c48e1c22
TryElseFinally test (merged)
2025-06-18 12:38:03 -05:00
caandt
ac898dc389
oops
2025-06-16 16:18:18 -05:00
caandt
f7a05a4468
cflow script
2025-06-16 12:13:58 -05:00
Xinlong Hu
d5b4dc0555
Merge branch 'with-statement-control-flow-template-312' into cflow-refactor
2025-06-13 13:50:01 -05:00
Xinlong Hu
8993af3fd7
Await With Edgecase
...
Not sure if it can be optimized into one Await template
2025-06-13 13:48:39 -05:00
Xinlong Hu
195fe1379f
With statement 3.12/3.13
...
All With statement 3.12 TC completed and most of With statement 3.13 TC completed
2025-06-13 13:46:48 -05:00
Xinlong Hu
57eadc3210
Merge branch '32-with-statement-control-flow-template-310' into cflow-refactor
2025-06-13 13:40:34 -05:00
caandt
376ae3d72f
nit
2025-06-12 17:07:41 -05:00
Tim Sweet
34c5fe521d
TryElse_310
2025-06-12 16:40:35 -05:00
Tim Sweet
dc318e4a15
try-except bareexcept fix
2025-06-12 16:40:35 -05:00
Tim Sweet
26bd5b3873
try-except fixes
2025-06-12 16:40:35 -05:00
Tim Sweet
130279c2ac
incomplete progress on try-except 3.10
2025-06-12 16:40:35 -05:00
caandt
fbcfcb9f6c
nit
2025-06-12 16:25:05 -05:00
caandt
4d4e7854fa
Merge branch '32-with-statement-control-flow-template-310' into cflow-refactor
2025-06-12 16:23:43 -05:00
caandt
1552c43417
Merge pull request #38 from XinlongCS/33-with-statement-control-flow-template-311
...
33 with statement control flow template 311
2025-06-12 14:27:15 -05:00
Joel-Flores123
0ae4759dc6
Merge pull request #36 from XinlongCS/32-with-statement-control-flow-template-310
...
With Statement Control Flow Template: 3.10 #32
2025-06-11 10:36:10 -05:00
Xinlong Hu
cdb7aa0289
Rename fix
2025-06-10 11:08:47 -05:00
Xinlong Hu
6e4f792ebf
With.py 3.11
...
With 3.11 template edits which is similar to 3.12 and 3.13
2025-06-10 11:01:52 -05:00
Xinlong Hu
263dcf9eca
Update With.py
...
With 3.6 & 3.7
2025-06-09 16:43:57 -05:00
Xinlong Hu
133de2be44
Update With.py
...
Forgot to_indented_source decorator
2025-06-09 15:05:58 -05:00
Xinlong Hu
5f13e32e2d
With 3.8 and 3.9
...
Refactoring for With 3.9 since its mostly the same as With 3.10
Implementation for With 3.8
2025-06-09 14:16:23 -05:00
Xinlong Hu
4c261c2c6e
Update With.py
2025-06-09 11:34:49 -05:00
Xinlong Hu
0d759dab4d
Update With.py
...
Fixes test case j and k
2025-06-09 11:17:59 -05:00
Xinlong Hu
d4acc3cfce
Partial With 3.10 Implementation
2025-06-07 12:48:06 -05:00
Joel Flores
3fccaf03fe
running progress bar for success rate
2025-06-03 13:44:21 -05:00
caandt
10d938cc76
cflow script
2025-06-02 12:22:57 -05:00
Joel Flores
a5a4cbcc9e
make function change
2025-05-20 18:23:52 -05:00
Kangkook Jee
3b0583b39c
Merge pull request #13 from jumping/patch-1
...
See no issues. Merging.
2025-05-02 09:16:02 -05:00
Jumping Qu
8669ac2082
Update README.md
...
poetry below 2.1.1 does not work
2025-04-25 14:36:23 +08:00
caandt
046e80cdd1
rename
2025-03-13 16:56:36 -05:00
caandt
b2439eee3e
add cflow eval script
2025-03-13 16:55:41 -05:00
caandt
9f94e66633
filter return statements when not in function
2025-03-13 02:53:19 -05:00
caandt
a8a3dd4a91
filter 'try:' from translation results
2025-03-13 02:53:00 -05:00
caandt
7b986e6fda
init new cflow
...
The old system was very messy and hard to write templates for. This new
system still follows the same approach to control-flow reconstruction,
but is much more simple.
Only 3.12 has been worked on so far, but other versions will come soon.
2025-03-10 20:23:19 -05:00
caandt
b689c4b317
nuke old control flow system
2025-03-10 14:52:09 -05:00
caandt
953d38dd64
fix poetry.lock to use correct xdis version
2025-03-10 14:52:09 -05:00
Joel Flores
0f9ced1528
initial commit
2025-03-07 16:44:23 -06:00