nsh
nsh copied to clipboard
design concept: how to prevent functionality creep
Bash has the problem of most shells: >100k LOC with not offering proper error handling or being able to do basic safety checks. Most of them are due to POSIX being underspecified.
- How do you solve error handling?
- How do you plan to do such checks?
- What kind of script invocation checks (behavior on symbol clashes and explicit or implicit recursion) behavior is planned?
- Do you have a concept for CLI tab-completion from programs to replace the terrible slow and arcane bash stuff? A DSL is unfortunately qute abit redundant to man pages.
Necessary functionality
- Do you provide a proper list type?
- Do you plan modularity + modules?
- How do you keep language complexity and implementation small?