Pawel Lampe
Pawel Lampe
looks like some corner case that needs to be addressed - thanks for reporting it
@AndreyNautilus no need, I already know what's the problem - have to find a proper way to resolve it
For the transformation from Python to GDScript you need a Python parser rather than GDScript one. What you need to do is: 1. Parse the python source file (e.g. using...
@abitrolly I don't think comparing ASTs of different languages is a good idea - this would be very sensitive to the grammar differences. Actually, if you think about it, even...
@kidinashell could you please try formatting the same from command line? `gdformat ` I'm curious if it fails there as well. Also, could you please try downgrading gdtoolkit like `pip3...
Ok, and @kidinashell what python version do you use?
@MatteoPiovanelli-Laser would you be able to share the file/part of the file which fails?
This is a known problem I can't resolve due to a bug in Godot - https://github.com/godotengine/godot/issues/35415 (fixed in `4.0`). Thus I'll fix it in the gdtoolkit `4.0`. For now, consider...
@Daylily-Zeleen Can you share 1 example file which fails like above? Btw. Please note that GDScript 2.0 is not yet fully supported.
Actually that's expected - due to several Godot bugs (like e.g. https://github.com/Scony/godot-gdscript-toolkit/blob/master/tests/potential-godot-bugs/multiline-attribute-expression.gd) it's not possible to implement it the way I want. Thus it will be addressed for `4.0` or...