-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Python scripts #22
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM otherwise
Code looks good, I also verified that the output of ndless/calcbin remains identical. I actually wanted to squash merge instead of rebase merge, but that shouldn't matter much anyway 🤷 |
Just mentioning here that thanks to this PR, I've now added support for TI-Nspire CX II python scripts to TI-Planet's Project Builder, thanks :) |
I've added support for Python scripts. You can add multiple Python files. The first one specified will be the one that shows up when the TNS document is opened.
Should I add some code to validate the filename? I believe the part before the .py extension cannot exceed 237 characters, and must be a valid Python identifier (only alphanumeric/underscore characters, can't start with a digit, can't be a reserved word).