Please use this identifier to cite or link to this item:
https://doi.org/10.5220/0011766700003470
Title: | Visualizing Environments of Modern Scripting Languages | Authors: | Cai, K Henz, M Low, KL Ng, XY Soh, JR Tang, KH Toh, KW |
Issue Date: | 1-Jan-2023 | Publisher: | SCITEPRESS - Science and Technology Publications | Citation: | Cai, K, Henz, M, Low, KL, Ng, XY, Soh, JR, Tang, KH, Toh, KW (2023-01-01). Visualizing Environments of Modern Scripting Languages. 15th International Conference on Computer Supported Education 1 : 146-153. ScholarBank@NUS Repository. https://doi.org/10.5220/0011766700003470 | Abstract: | A central learning objective of introductory programming courses is a thorough understanding of environments that arise when programs written in modern programming languages run. An awareness is arising in the CS-Ed community that a mental model based on a runtime stack does not do justice to languages that combine lexical scoping with first-class functions. As a result, debugging and visualization tools designed around a runtime stack are not suitable for this family of languages, which includes Python, JavaScript, Ruby, Lua, Java, and Scheme. As a suitable mental model for environments in these languages, the classical programming textbook “Structure and Interpretation of Computer Programs” (SICP) introduced the environment model of computation using diagrammatic graphics. The SICP authors Hal Abelson and Gerald Jay Sussman designed the environment model to represent the runtime data structures required for executing programs written in such languages while blending out all forms of control. In this paper, we describe a novel tool for automatically and interactively visualizing the execution environments of programs written in the targeted language family. After introducing the environment model in detail, we highlight the main challenges for its automatic and interactive visualization. We outline the architecture of the tool and its integration into a web-based environment for learning the structure and interpretation of computer programs and conclude with an analysis of the tool’s impact based on feedback from 69 course facilitators in Academic Year 2021/22. | Source Title: | 15th International Conference on Computer Supported Education | URI: | https://scholarbank.nus.edu.sg/handle/10635/243557 | ISBN: | 9789897586415 | ISSN: | 2184-5026 | DOI: | 10.5220/0011766700003470 |
Appears in Collections: | Staff Publications Elements |
Show full item record
Files in This Item:
File | Description | Size | Format | Access Settings | Version | |
---|---|---|---|---|---|---|
CSEDU2023 (1).pdf | Published version | 460.23 kB | Adobe PDF | OPEN | None | View/Download |
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.