Language Semantics for shell