Expand description
The PowerShell shell implementation (Windows). The PowerShell shell for Windows.
PowerShell is the Windows shell: it tokenizes input with the real
PowerShell lexer (pwsh_parser), provides the classic PowerShell
builtins (cd, pwd/Get-Location, ls/Get-ChildItem,
echo/Write-Output, exit), and resolves external commands through
the Windows PATH over the virtual filesystem, executing bound Windows
commands (resolution: builtin → external executable).
The grammar is PowerShell-flavored but intentionally small: statements
separated by ;/newlines, pipelines via |, >/>>/< redirection,
quoted strings, and $name variables resolved from the environment.
PowerShell’s expression language (cmdlets with -Parameter syntax,
$_ pipeline variables, script blocks) is future work on top of this
core; - dash-parameters are passed through to commands as-is.
Structs§
- Power
Shell - The PowerShell shell.