{'fraction_non_alphanumeric': 0.025597269624573378, 'fraction_numerical': 0.0, 'mean_word_length': 5.2063492063492065, '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}}
A Textual Domain Specific Language for Task Models: Generating Code for CoTaL, CTTE, and HAMSTERS

Task modeling is a fundamental activity in the model-based design of user interfaces (MB-UID). It is supported by various task notations and tools which allow users, for example, to edit and to animate task models. Most of the tools offer graphical editors. While it is commonly believed that graphical notations and an interactive specification of task models is to be preferred to textual specifications, there are also drawbacks to this approach. For instance, it is more difficult to sketch first ideas or to switch between different modeling tools although existing task notations for MB-UID share many concepts. The paper presents a text-based domain-specific language called DSL-CoTaL for writing task specifications. It integrates essential concepts from existing approaches such as hierarchical task decomposition, temporal constraints between subtasks, collaborative tasks, and generic task components. DSL-CoTaL comes with a syntax-driven editor and can easily provide code generation for graphical editors as shown at the examples of CoTaSE, CTTE, and HAMSTERS.