Pattern directed invocation programming language