SRFI 193: Command lines

by Lassi Kortela

status: draft (2020-04-19)

keywords: Operating System

See also SRFI 22: Running Scheme Scripts on Unix.

Abstract

R6RS and R7RS define a command-line procedure. While a useful baseline, the specification is not detailed enough to cover all practical situations. This SRFI clarifies the definition of command-line and adds a few related procedures. Precise semantics for Unix and Windows are given. Scheme scripts, standalone executables, compilation and REPL use are accounted for. Option parsing is out of scope.