4 ms·
Thank you very much for your kind words, and for your interest! Yes, absolutely: In fact, Prolog was designed for natural language processing and convenient in
by triska 7y ago
Thank you very much for your kind words, and for your interest!
Yes, absolutely: In fact, Prolog was designed for natural language processing and convenient interfacing.
However, currently, all existing Prolog systems fall short for such use cases in that they do not optimally combine efficiency with convenience when processing lists of characters. Ideally, lists of characters are efficiently represented internally, i.e., as sequences as raw bytes, and at the same time made available to Prolog programmers as "completely normal" lists, like all other lists, so that they are amenable to DCGs etc.
So, to seriously advertise such use cases, there must first be a Prolog system that handles lists of characters in an efficient way.
Recently, Mark Thom has confirmed his interest in implementing such an efficient internal representation in Scryer Prolog, please see the relevant issue:
https://github.com/mthom/scryer-prolog/issues/95 https://github.com/mthom/scryer-prolog/issues/95
Rust programmers may be interested in helping with the implementation!