Content deleted Content added
Ruby also has a "case" statement for pattern matching. |
a 1970 pattern matcher in Lisp is pretty late and not notable; fix chronology -- why was QED before COMIT?? |
||
Line 15:
==History==
{{Expand section|date=May 2008}}
Early programming languages with pattern matching constructs include [[COMIT]] (1957), [[SNOBOL]] (1962), [[Refal]] (1968) with tree-based pattern matching, [[Prolog]] (1972), [[SASL programming language|SASL]] (1976), [[NPL programming language|NPL]] (1977), and [[Kent Recursive Calculator|KRC]] (1981).
Many [[text editor]]s support pattern matching of various kinds: the [[QED (text editor)|QED editor]] supports [[regular expression]] search, and some versions of [[TECO (text editor)|TECO]] support the OR operator in searches.
[[Computer algebra system]]s generally support pattern matching on algebraic expressions.<ref>Joel Moses, "Symbolic Integration", MIT Project MAC MAC-TR-47, December 1967</ref>
{{See also|Regular expression#History}}
|