At present, some worlds that contain pre/post code written in Python can only be used with Python. In order to make them usable with other languages, there are two possible options:
Change the way that the pre/post code is executed so that it can be done either with Python (Brython) or Javascript no matter what language is used to process the user code.
Require the pre/post code to be Javascript and rewrite the existing code.
The first option would be more flexible for (new) world creators and might be less work, but could possibly introduce some subtle issues.
The second one would require more tedious translation work for me right now, but might be more fool-proof.
At present, some worlds that contain pre/post code written in Python can only be used with Python. In order to make them usable with other languages, there are two possible options:
The first option would be more flexible for (new) world creators and might be less work, but could possibly introduce some subtle issues. The second one would require more tedious translation work for me right now, but might be more fool-proof.