Skip to content
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 option to specify own preproccessor #65

Open
J0J0HA opened this issue Jun 16, 2024 · 0 comments
Open

Add option to specify own preproccessor #65

J0J0HA opened this issue Jun 16, 2024 · 0 comments

Comments

@J0J0HA
Copy link

J0J0HA commented Jun 16, 2024

An option to specify a custom file preprocessor would be really cool.
There is already the option to toggle a preprocessor for replacing *-imports, but we (GSG-Robots) have built our own preprocessor (https://github.com/GSG-Robots/comPYner/) to support all types of imports, because we want to split up our code into multiple files.

I think it could be implemented like this:
You can specify a command that is being executed. The file contents are passed into stdin and the result is read from stdout and then uploaded to the brick.

What do you think about implementing such a feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant