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

Allow to change the prompt of a runner from command line #182

Open
eldipa opened this issue Jun 25, 2021 · 0 comments
Open

Allow to change the prompt of a runner from command line #182

eldipa opened this issue Jun 25, 2021 · 0 comments
Labels
enhancement something nice to have but it is not neither critical nor urgent request for comments a draft idea that needs more brainstorming, comments are welcome!

Comments

@eldipa
Copy link
Collaborator

eldipa commented Jun 25, 2021

Describe the feature you'd like
We use >>> for Python, >> for Ruby, ?: for C/C++ and we are running out of prompt symbols.

Rust for example uses >> which would be in conflict with Ruby's.

In the past we used to say arbitrary Rust example will use rs> as the prompt and it is a valid default decision.

byexample must guarantee that any file can contain and mix of languages including Ruby and Rust but that's no necessary a hard requirement for all the users.

People may just want to run a subset of languages and if they want to run Python and Rust, there is no reason to force them to use rs> instead of >>.

Proposal? Allow the user to change the prompt as we allow him/her to change the command line (shebang).

@eldipa eldipa added enhancement something nice to have but it is not neither critical nor urgent request for comments a draft idea that needs more brainstorming, comments are welcome! labels Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement something nice to have but it is not neither critical nor urgent request for comments a draft idea that needs more brainstorming, comments are welcome!
Projects
None yet
Development

No branches or pull requests

1 participant