Uppsats

Customizable code formatting for the Storm platform

Kandidat-uppsats

Linköpings universitet/Institutionen för datavetenskap

Publicerad: 2026

Språk: Engelska

Sammanfattning

Consistent and clear formatting of code is highly advantageous for making code morereadable and easily maintainable. Code formatters can be used to perform automaticformatting, which saves time and effort for both the programmer writing the code and thosereviewing it. As formatting style is subjective and many users have differing opinions onwhat they consider to be correct, many code formatters allow their users to configure thestyle with which it formats the code. Storm is an extensible compiler platform which lacksa code formatter. This thesis presents a domain-specific language for configuring alanguage-agnostic formatter for Storm. The language uses parse tree pattern matching toidentify specific language constructs, which can then be formatted in a certain way byinserting formatting directives in the pattern. The formatting language was found to beintuitive, easy to use, and displays potential, however, further work is required in orderto make it more user-friendly.

Information

Författare
Holst, Elvin
Lärosäte / institution
Linköpings universitet/Institutionen för datavetenskap
Publiceringsdatum
2026
Uppsatstyp
Kandidat-uppsats
Språk
Engelska

Utforska vidare

Liknande uppsatser

Uppsatser med liknande ämnen och nyckelord.