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

Investigate runner #14

Closed
epage opened this issue Mar 15, 2022 · 1 comment
Closed

Investigate runner #14

epage opened this issue Mar 15, 2022 · 1 comment

Comments

@epage
Copy link
Owner

epage commented Mar 15, 2022

See https://github.com/stevedonovan/runner/

@epage
Copy link
Owner Author

epage commented Mar 15, 2022

  • Wraps in a main with Result<(),Box<Error+Sync+Send>> return type
  • Has standard prelude
    • First-run writes out the prelude and then users can edit it
  • No per-script dependency specifications but instead a global list of dependencies (like the playground)
  • //: allows specifying runner arguments inside the script itself
  • Has a lot of flags to interact with the shared Cargo.toml
  • -e <expr> support
  • -i <expr> for special iterator support
  • -n <expr> for per-input-line expressions

@epage epage closed this as completed Mar 15, 2022
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