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
when auto translating from Python to JS - if they were in the same place, they'd be able to do colors.Color('red') in Python and it would be new colors.Color('red') in JS. I can add to the transcriber that colors.Color needs to translate as util.Color, but in the interest of synchronicity shouldn't the libraries be structured the same as much as possible?
The text was updated successfully, but these errors were encountered:
Since there is no "colors" sub-directory under the "psychopy" directory, I would advocate for the transpiler to take care of this.
Also "Color.js" would be very lonely in its own "colors" sub-directory.
This causes problems like this user was having:
psychopy/psychopy#4344
when auto translating from Python to JS - if they were in the same place, they'd be able to do
colors.Color('red')
in Python and it would benew colors.Color('red')
in JS. I can add to the transcriber thatcolors.Color
needs to translate asutil.Color
, but in the interest of synchronicity shouldn't the libraries be structured the same as much as possible?The text was updated successfully, but these errors were encountered: