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

Logic operators #16

Open
jorinvo opened this issue Jul 27, 2016 · 0 comments
Open

Logic operators #16

jorinvo opened this issue Jul 27, 2016 · 0 comments

Comments

@jorinvo
Copy link
Member

jorinvo commented Jul 27, 2016

We could implement && and || operators the same way we would implement pipes and redirection.

Commands are already designed to give us the exit codes which we can use for the logic operations.
Another thing we could implement is the ; to separate lines.

However, I don't think we should try implementing more complex scripting features (like loops and functions).

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

No branches or pull requests

1 participant