Appears in [The Computer Journal, Volume 32, Issue 5, pp. 422-431, December 1989 (click)].

Denotational semantics of a command interpreter and their implementation in standard ML

C. McDonald[1] and L. Allison[2]

LA home

Also see
[1] Department of Computer Science, The University of Western Australia, Nedlands, Western Australia, 6009
[2] Department of Computer Science, Monash University, Clayton, Victoria, Australia, 3168

Several working groups have been established to study and standardize popular command interpreters. However, as with the standardization of many programming languages, the syntaxes of command interpreters have been rigorously defined in notation such as Backus-Naur Form (BNF) but the semantic definitions remain ambiguously defined in natural languages such as English. This paper defines a significant subset of the standard UNIX command interpreter, or shell, in terms of its denotational semantics. A complete implementation of this shell in Standard ML is described. This implementation enables direct execution of the denotational semantics and encourages experimentation with the semantic definition.


© L. Allison   (or as otherwise indicated),
Created with "vi (Linux or Solaris)",  charset=iso-8859-1,  fetched Thursday, 21-Sep-2017 01:02:16 EDT.

free: Linux, Ubuntu operating-sys, OpenOffice office-suite, The GIMP ~photoshop,
Firefox web-browser, FlashBlock flash on/off.