Skip to content

C-Shell v0.1.0

Pre-release
Pre-release

Choose a tag to compare

@jayanth0725 jayanth0725 released this 21 Aug 11:35
· 5 commits to main since this release

C-Shell: Mid-Submission Pre-release

Core & Execution

  • Custom Parser: Implements a custom lexer and right-linear grammar parser natively.
  • External Execution: Resolves and runs external binaries from the CWD and $PATH.
  • Strict PATH Search: Supports the % prefix to bypass CWD and strictly resolve via $PATH.

Pipeline & I/O Redirection

  • Command Piping: Supports chaining multiple commands using |.
  • Input Redirection: Reads standard input from specified files via <.
  • Output Redirection: Writes (>) or appends (>>) standard output to multiple files simultaneously.
  • Universal Routing: Redirection and piping apply seamlessly to both external binaries and native built-in commands.

Built-in Commands

  • hop: Persistent directory navigation utilizing a time-decaying frecency algorithm for substring-based jumping.
  • reveal: Lexicographically sorted directory scanner supporting hidden files (-a) and recursive tree viewing (-t).
  • peek: File viewer supporting line numbering (-n) and memory-efficient reverse reading (-r) via lseek chunking.
  • locate: Dynamically scans the CWD and $PATH to identify and verify executable binaries.

Demo Video

https://asciinema.org/a/N4IvsuAvY2DzmOGw