![]() Text-based syntaxes facilitate the usage of standard version control tools such as git and mercurial, and services such as GitHub and GitLab to enable distributed collaboration and tracking of the history of changes. Additionally, last but not least is a collaboration which is the key in today’s development. If the text-based builder ceases to be developed, we can still open and read experiments in the future using a plain text editor. Fourth, plain text is perceived as a future-proof format. Third, the representation is the same as the storage format, which enables the usage of any text editor to read and edit the experiment. Second, standard text editing idioms can be used such as copy–paste, code commenting, etc. First, we can leverage all the development in text editing in recent decades (syntax highlighting, code completion, tooltips, quick fixes), which usually can be configured in contemporary editors without much effort. Text-based builders use textual languages as a way to specify the experiment (e.g., PsychoPy, Expyriment, jsPsych, PEBL ). While they are initially not that easy to start compared with GUI builders, they offer some benefits. We investigate the language using a case study of the implementation of the Eriksen flanker task. We discuss the language, its concepts, syntax, some current limitations, and development directions. In this version, we provide a code generator for the PsychoPy library while generators for other target platforms are planned. From the experiment description, various targets can be automatically produced. ![]() The editor for the language is built as an extension for Visual Studio Code, one of the most popular programming editors today. The aim is to capture the essence of the experiment design in a concise and highly readable textual form. The language is tailored for the domain of psychological studies. To investigate our approach, we created PyFlies, a domain-specific language for designing experiments in psychology, which we present in this paper. ![]() In this paper, we investigate an approach based on domain-specific languages which enables a text-based experiment development using domain-specific concepts, enabling practitioners with limited or no programming skills to develop psychology tests. However, experiment builders are either GUI-centric or based on general-purpose programming languages which require programming skills. In the past, access to good quality software was limited, but in the last two decades things have changed and today we have an array of good and easily accessible open-source software to choose from. ![]() The majority of studies in psychology are nowadays performed using computers. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |