balanced end parenthesis yields Terminal