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

Advanced string parsing #267

Open
ABridoux opened this issue Nov 27, 2021 · 0 comments
Open

Advanced string parsing #267

ABridoux opened this issue Nov 27, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@ABridoux
Copy link
Owner

Describe your idea briefly.
Offer another string parsing for string in Swift.

Describe the solution you'd like
Currently, string parsing is done in ScoutCLT which has some limitations because of Bash/Zsh syntax. Scout could offer another parsing library when scripting is not possible. This could be especially useful for graphic applications.

Additional context
For instance, commands like sum, average can be achieved with scripting, but could also be available directly within scout.

For instance

sum(Robert.scores)

could be interpreted as follow:

explorer.get("Robert", "scores", .slice(.first, .last)).sum // Int?
@ABridoux ABridoux added the enhancement New feature or request label Nov 27, 2021
@ABridoux ABridoux added this to the 4.2.0 milestone Nov 27, 2021
@ABridoux ABridoux removed this from the 4.2.0 milestone Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant