Published October 17, 2023 | Version 1.0.0
Software Open

virtual CAT programming language interpreter

  • 1. Istituto Dalle Molle di Studi sull'Intelligenza Artificiale
  • 2. ROR icon Università della Svizzera italiana
  • 1. University of Applied Sciences and Arts of Southern Switzerland
  • 2. ROR icon Dalle Molle Institute for Artificial Intelligence Research
  • 3. ROR icon Università della Svizzera italiana

Description

The virtual CAT programming language interpreter is a software component of the virtual Cross Array Task (CAT) platform.

Its primary role is translating user actions, including gesture interactions and arranged visual programming blocks, into executable machine-readable instructions, a formal algorithm specified using the CAT programming language.

Before executing these commands, the interpreter meticulously validates them to identify potential semantic errors.

While the design of the interface inherently prevents syntax errors, semantic discrepancies, such as attempting to move beyond board boundaries or using incorrect patterns, are addressed by the interpreter.

It executes the code upon successful validation, offering users real-time feedback on their progress, including visual updates on the colouring cross and the CAT-score.

In cases where errors are detected during execution, the interpreter adeptly manages them, promptly notifying users and even providing suggestions for corrections.

The interpreter acts as a bridge, ensuring seamless communication between the user's input and the application's core functionalities.

The documentation of the Dart package is available at https://giorgiaauroraadorni.github.io/virtual-CAT-programming-language-interpreter/.

 

REFERENCES

[1] A. Piatti, G. Adorni, L. El-Hamamsy, L. Negrini, D. Assaf, L. Gambardella & F. Mondada. (2022). The CT-cube: A framework for the design and the assessment of computational thinking activities. Computers in Human Behavior Reports, 5, 100166. https://doi.org/10.1016/j.chbr.2021.100166

[2] Adorni, G. (2023). Dataset from the pilot study of the virtual CAT platform for algorithmic thinking skills assessment in Swiss Compulsory Education. Zenodo Dataset. https://doi.org/10.5281/zenodo.10018292

[3] Adorni, G., & Piatti, S., & Karpenko, V. (2023). virtual CAT: An app for algorithmic thinking assessment within Swiss compulsory education. Zenodo Software. https://doi.org/10.5281/zenodo.10027851 On GitHub: https://github.com/GiorgiaAuroraAdorni/virtual-CAT-app/

[4] Adorni, G., & Karpenko, V. (2023). virtual CAT data infrastructure. Zenodo Software. https://doi.org/10.5281/zenodo.10015011 On GitHub: https://github.com/GiorgiaAuroraAdorni/virtual-CAT-data-infrastructurerastructure

Files

GiorgiaAuroraAdorni/virtual-CAT-programming-language-interpreter-1.0.0.zip

Files (464.9 kB)

Additional details

Related works

Funding

Swiss National Science Foundation
Assessing the development of computational thinking skills through an intelligent tutoring system: an exploratory study in the cantons of St Gallen, Vaud and Ticino. 407740_187246

References

  • A. Piatti, G. Adorni, L. El-Hamamsy, L. Negrini, D. Assaf, L. Gambardella & F. Mondada. (2022). The CT-cube: A framework for the design and the assessment of computational thinking activities. Computers in Human Behavior Reports, 5, 100166. https://doi.org/10.1016/j.chbr.2021.100166
  • Adorni, G. (2023). Dataset from the pilot study of the virtual CAT platform for algorithmic thinking skills assessment in Swiss Compulsory Education. Zenodo Dataset. https://doi.org/10.5281/zenodo.10018292
  • Adorni, G., & Piatti, S., & Karpenko, V. (2023). virtual CAT: An app for algorithmic thinking assessment within Swiss compulsory education. Zenodo Software. https://doi.org/10.5281/zenodo.10027851