Computational notebooks have been gaining prominence as a development environment suitable for non-experienced developers. However, it requires proficiency in writing syntactically and semantically correct code. In this article, we propose integrating a block-based approach into computational notebooks to prevent syntactical errors and ease the non-expert developers’ adoption. Furthermore, we rely on two tools previously implemented (Bacatá and Kogi) to (i) create a computational notebook for Domain-Specific Languages and (ii) generate a block-based representation upon the language definition. Consequently, our approach does not exclusively focus on integrating a block-based environment into computational notebooks but on enabling the creation and integration of domain-specific block-based environments into notebooks. Future work concerns the evaluation of our proposal through a user study.

, , , , , ,
doi.org/10.1145/3563836.3568728
1st ACM SIGPLAN International Workshop on Programming Abstractions and Interactive Notations, Tools and Environments, PAINT '22

Verano Merino, M., Sáenz, J. P., & Díaz Castillo, A. M. (2022). Suppose you had blocks within a notebook. In Proceedings of the 1st ACM SIGPLAN International Workshop on Programming Abstractions and Interactive Notations, Tools and Environments, PAINT '22 (pp. 57–62). doi:10.1145/3563836.3568728