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

dc.contributor.authorZell, Eddie
dc.contributor.authorKelesh, Hedi
dc.contributor.authorHassan, Zakariya
dc.contributor.authorHögberg, Mandus
dc.contributor.authorMattsson, Christian
dc.contributor.authorTorstensson, Joakim
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data och informationstekniksv
dc.contributor.departmentChalmers University of Technology / Department of Computer Science and Engineeringen
dc.contributor.examinerGrohe, Birgit
dc.contributor.supervisorDuregård, Jonas
dc.date.accessioned2025-10-30T14:56:03Z
dc.date.issued2025
dc.date.submitted
dc.description.abstractThis 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.coursecodeDATX11
dc.identifier.urihttp://hdl.handle.net/20.500.12380/310698
dc.language.isoswe
dc.setspec.uppsokTechnology
dc.subjectdatastructures
dc.subjectalgorithms
dc.subjectvisualization
dc.subjectembedded language
dc.subjectdomain specific language
dc.subjectprogramming
dc.subjectcomputer science
dc.titleEtt inbäddat domänspecifikt språk för visualisering av datastrukturer och algoritmer
dc.type.degreeExamensarbete på kandidatnivåsv
dc.type.degreeBachelor Thesisen
dc.type.uppsokM2

Ladda ner

Original bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
CSE 25-17.pdf
Storlek:
1.33 MB
Format:
Adobe Portable Document Format

License bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
2.35 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: