Skip to content

Language Map

Chloë Strainge edited this page Oct 15, 2026 · 3 revisions

Language map

You can learn Shelly in layers. The shell layer handles commands and their I/O; the value layer handles data; the application layer supplies interfaces and modules. A script can use all three without changing languages.

Foundations

  • Language basics: statements, comments, quoting, and grouping.
  • Variables and scope: declarations, assignment, shadowing, caller scope, and captured bindings.
  • Numbers and logic: numeric promotion, arithmetic, equality, ordering, truthiness, and short-circuit evaluation.
  • Strings and paths: Unicode text, interpolation, slices, home-directory display, and file patterns.

Collections and decisions

Program structure

Shell execution and composition

Modules and libraries

Interactive tools

Recipes combines topics into small programs. The syntax reference is a compact reminder once the concepts are familiar.


Related: Home · Syntax reference

Clone this wiki locally