4 ms·
Trealla Prolog is one of the most interesting new Prolog systems: In particular, it is the first Prolog system that uses mmap(2) to map files to memory for dire
by triska 4y ago
Trealla Prolog is one of the most interesting new Prolog systems: In particular, it is the first Prolog system that uses mmap(2) to map files to memory for direct processing of file contents with Prolog's built-in grammar mechanism, Definite Clause Grammars (DCGs).
This is possible in Trealla due to its compact internal representation of lists of characters by using UTF-8 encoding internally, a representation pioneered by Scryer Prolog.
Thank you a lot gurego for all your work on this WASM embedding!