Back to results

Chalmers University of Technology

Ett inbäddat domänspecifikt språk för visualisering av datastrukturer och algoritmer

Abstract

dc:description.abstract

This project presents a framework for algorithm visualization that emphasizes the separation of execution logic from its visualization. The main research question was how a log-based embedded Domain-Specific Language (eDSL) could be designed to generate a structured log file capable of describing algorithm behavior, without coupling the algorithm code with the visual interface. The project focused on three primary objectives: designing a log format that can represent both individual operations and grouped code blocks, developing a library with minimal impact on the algorithm’s structure, and exploring how the log can be used to generate visualizations in a separate frontend. The project has resulted in a TypeScript-based library that includes predefined data structures and variable classes, capable of automatically logging relevant operations. The generated log is in JSON format and contains detailed information such as variable states, scopes and animation types. Although a prototype for visualization was initiated, it was not completed due to time constraints, highlighting an opportunity for future work. Nonetheless, the project demonstrates that a decoupled model for algorithm visualization using a log-based eDSL is entirely feasible.

Degree

thesis:*
Level thesis:degree_level
M2
Department dc:contributor.department
Chalmers tekniska högskola / Institutionen för data och informationsteknik
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Authors dc:creator
  • Zell, Eddie
  • Kelesh, Hedi
  • Hassan, Zakariya
  • Högberg, Mandus
  • Mattsson, Christian
  • Torstensson, Joakim
Advisor dc:contributor.supervisor
  • Duregård, Jonas
Committee member dc:contributor.committeemember
  • Grohe, Birgit

Subjects

dc:subject × 7

Rights

Language dc:language.iso
swe

Identifiers

dc:identifier.*
Dc Identifier Coursecode
DATX11

Chain of custody

source
Harvested from
Chalmers University of Technology
Base URL
odr.chalmers.se/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Zell, Eddie; Kelesh, Hedi; Hassan, Zakariya; Högberg, Mandus; Mattsson, Christian; Torstensson, Joakim. Ett inbäddat domänspecifikt språk för visualisering av datastrukturer och algoritmer. M2 thesis, 2025. https://hdl.handle.net/20.500.12380/310698