{'fraction_non_alphanumeric': 0.04530201342281879, 'fraction_numerical': 0.0016778523489932886, 'mean_word_length': 5.03030303030303, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Design and Implementation of a Prolog-to-C Compiler

A WAM-based Prolog-To-C (PTC) compiler is described. It is written in the C language and used together with Paralogic's Prolog interpreter. Prolog programs may consist of several independently compiled modules. The principles of modularization are described. Mixed programming features (Prolog-C and CProlog programming interfaces) are also explained. The PTC compiler is portable and has been ported to several different hardware platforms (PC, Sun, SGI, HP, nCube-2, Transputer.). Some statistical data on the compilers efficiency are shown.