Fundamental expression evaluation and pattern matching