The modern history of toothpaste began in 1892. That was the year Dr. Washington Sheffield of the USA invented the collapsible tube for storing toothpaste. Four years later in 1896, Colgate began making its own brand. The Early Toothpastes.
Prolog is relatively easy to deploy, and the cost for a small company to implement the system would be in the range of $10,000 for three concurrent licenses and another $10,000-15,000 for implementation and basic configuration.
In both Snobol4 and Prolog, pattern matching is expensive, because it can imply backtracking; both languages provide imperative mechanisms for the programmer to override the natural declarative nature of the pattern matching so as to avoid backtracking.