Ett inbäddat domänspecifikt språk för visualisering av datastrukturer och algoritmer
| dc.contributor.author | Zell, Eddie | |
| dc.contributor.author | Kelesh, Hedi | |
| dc.contributor.author | Hassan, Zakariya | |
| dc.contributor.author | Högberg, Mandus | |
| dc.contributor.author | Mattsson, Christian | |
| dc.contributor.author | Torstensson, Joakim | |
| dc.contributor.department | Chalmers tekniska högskola / Institutionen för data och informationsteknik | sv | 
| dc.contributor.department | Chalmers University of Technology / Department of Computer Science and Engineering | en | 
| dc.contributor.examiner | Grohe, Birgit | |
| dc.contributor.supervisor | Duregård, Jonas | |
| dc.date.accessioned | 2025-10-30T14:56:03Z | |
| dc.date.issued | 2025 | |
| dc.date.submitted | ||
| 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. | |
| dc.identifier.coursecode | DATX11 | |
| dc.identifier.uri | http://hdl.handle.net/20.500.12380/310698 | |
| dc.language.iso | swe | |
| dc.setspec.uppsok | Technology | |
| dc.subject | datastructures | |
| dc.subject | algorithms | |
| dc.subject | visualization | |
| dc.subject | embedded language | |
| dc.subject | domain specific language | |
| dc.subject | programming | |
| dc.subject | computer science | |
| dc.title | Ett inbäddat domänspecifikt språk för visualisering av datastrukturer och algoritmer | |
| dc.type.degree | Examensarbete på kandidatnivå | sv | 
| dc.type.degree | Bachelor Thesis | en | 
| dc.type.uppsok | M2 | 
