{'fraction_non_alphanumeric': 0.023880597014925373, 'fraction_numerical': 0.0, 'mean_word_length': 5.662251655629139, '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}}
Interrupt mechanism for threaded code interpreter

Various methods to support interrupt mechanism in programming systems, based on threaded code techniques, are analysed. Threaded code interpreters, which support interrupt handling at the level of machine code, have serious demerits. Another method of interruption for interpreter of threaded code are suggested. It makes possible to interrupt program only at the level of threaded code. It means, that body of interrupt handler will be executed not at the same moment, when the interruption is raised, but just after that moment, when the interpreter completes execution of its current command (primitive procedure, which body are defined in machine code). Realization of interrupt mechanism according to this suggested method for DSSP (Forth-like system, developed in Moscow University) are described. Advantages of new interrupt technique for threaded code interpreter, especially concerning parallel programming and exception handling, are explained.