Skip to content

NDDev-Platform/rldyoursh

Repository files navigation

rldyoursh

rldyoursh is the long-lived shell platform program for NDDev.

The repository is past the initial scaffold. The current implemented baseline includes:

  • source and diagnostics foundations
  • handwritten lexer, parser, syntax tree, and normalized shell IR
  • parameter expansion, quote removal, and whitespace field splitting
  • assignment words, export/unset, and supported special parameters: $!, $?, $$, $-, $0, $#, $@, $*, $1.., and braced forms such as ${!}, ${$}, ${@}, ${*}, ${10}, and pure scalar operator forms like ${NAME:-word}, ${NAME:+word}, and ${NAME:?word}
  • mixed builtin/external pipeline execution and fd-aware redirections, including explicit io_number parsing, ordered external redirection application, external descriptor duplication, and descriptor-aware builtin redirections for shell-owned stages
  • here-doc redirections, including FIFO body capture, <<- tab stripping, quoted-delimiter no-expansion behavior, and unquoted body expansion through the current supported expansion baseline
  • durable non-interactive shell state with initial builtins: cd, pwd, exit, export, unset, true, and false
  • logical and physical cd/pwd handling, cd -, CDPATH-aware cd, and exit defaulting to the current previous-status value
  • asynchronous execution for &-terminated lists, including single external simple commands plus launcher-backed compound forms, with parent-shell status 0, $! tracking, and /dev/null-equivalent stdin when no stdin redirection is present

The next planned phase continues deferred-cwd and remaining shell-language hardening:

  • deferred cd semantics such as -e, after internal cwd-state hardening
  • remaining advanced braced parameter expansion, including assignment, length, pattern-removal, and cross-segment operator-word forms

Primary references:

  • Documentation: docs/book
  • RFC process: rfcs/
  • Architecture decisions: docs/adr/
  • Jenkins operations: ops/jenkins/

Canonical product URL: https://on.nddev.it.com/products/rldyoursh Canonical repository URL: https://github.com/NDDev-Platform/rldyoursh

About

Long-lived Rust shell platform program for POSIX sh compatibility, performance, and cross-platform runtime evolution.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages