SUPPORT FOR PYFLIES LANGUAGE IN THE VS CODE EDITOR

Authors

  • Dejan Šorgić Autor

DOI:

https://doi.org/10.24867/26BE32Sorgic

Keywords:

pyFlies, DSL, Language Server Protocol, Visual Studio Code, Extension, language server

Abstract

This paper details the implementation of an enhancement to the pre-existing Visual Studio Code extension designed to facilitate experiment scripting in the PyFlies language. The central focus of this study is a language server, which uses Language Server Protocol to communicate with PyFlies extension and with this, it extends its functionalities.

References

[1] Dejanović, I.; Dejanović, M.; Vidaković, J.; Nikolić, S. PyFlies: A Domain-Specific Language for Designing Experiments in Psychology. Appl. Sci. 2021, 11, 7823. https://doi.org/10.3390/app11177823
[2] Peirce, J., Gray, J.R., Simpson, S. et al. PsychoPy2: Experiments in behavior made easy. Behav Res 51, 195–203 (2019). https://doi.org/10.3758/s13428-018-01193-y
[3] http://textx.github.io/textX/stable/, pregledano 16. oktobar 2019.
[4] Mernik, M., Heering, J., & Sloane, A. M. (2005). When and how to develop domain-specific languages. ACM Computing Surveys, 37(4), 316–344. doi:10.1145/1118890.1118892
[5] Microsoft. 2018. Example - Language Server. (2018). https://code.visualstudio.com/api/language-extensions/language-server-extension-guide

Published

2024-03-05

Issue

Section

Electrotechnical and Computer Engineering