You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was really just a test to show that one could perform such transformations ... but it is certainly a good idea to do it correctly, like Diofant does. Diofant looks like a nice project.
I think I will keep the token based transformation as an example of the weakness of this approach compared with using an AST transformation.
I've made the change but will keep this issue open as a reminder that I need to improve the documentation on these two cases - and perhaps add a parameter to select which mode to use in a console so that the AST example works like one would expect.
You can avoid ugly workarounds (like
range()
case), if you wrap only integer divisions with Fraction's, like Diofant does.The text was updated successfully, but these errors were encountered: