4 ms·
Right. Developing natural language parsers was one of the main motivations for the development of Prolog. Natural language sentences are lists. List processing
by tom_mellior 7y ago
Right. Developing natural language parsers was one of the main motivations for the development of Prolog. Natural language sentences are lists. List processing is something Prolog is excellent at. It's even better at it than functional languages because more things can be expressed in a tail-recursive way.