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

new splitted design #6

Open
piranna opened this issue Sep 5, 2014 · 0 comments
Open

new splitted design #6

piranna opened this issue Sep 5, 2014 · 0 comments

Comments

@piranna
Copy link
Collaborator

piranna commented Sep 5, 2014

Since making a shell that's both compatible with bash and javascript with autodetection is becaming really complicated (are more trying to allow both to being used on a single script), after reading about tcsh and the fact is not sh-compatible, I think a better solution would be that nsh be a pure clean Javascript shell not so easy to use as everyday shell (something like an improved Node.js REPL) with some command in a Javascript function style and needing to call exec() for external executables, and a sh-compatible interpreter located at /usr/bin/sh or similar purely intended for compatibility with .sh scripts (not for interactive mode, more like dash than bash). This would allow more flexibility and maybe would show sh-compatibility it's not so important, or maybe it would be added in a limited way in the future when it's more clear how to achieve it.

Any thoughts?

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