Trees that Grow in the Paragon Compiler - A Step Towards Modularity
dc.contributor.author | Berggren Sjöblom, Anders | |
dc.contributor.author | Andersson, John | |
dc.contributor.author | Bäckelie, Anders | |
dc.contributor.author | Ljung Ekeroth, Johannes | |
dc.contributor.author | Skystedt, Lukas | |
dc.contributor.author | Terner, Lina | |
dc.contributor.department | Chalmers tekniska högskola / Institutionen för data och informationsteknik | sv |
dc.contributor.examiner | Sands, David | |
dc.contributor.supervisor | Broberg, Niklas | |
dc.date.accessioned | 2020-10-27T11:18:20Z | |
dc.date.available | 2020-10-27T11:18:20Z | |
dc.date.issued | 2020 | sv |
dc.date.submitted | 2020 | |
dc.description.abstract | Paragon is a programming language that extends Java with statically checked information flow control policies. Paragon’s compiler, which is written in Haskell, has a large type checker. Its current implementation is monolithic, making the compiler challenging to develop. Paragon’s authors, Broberg et al., have proposed to partition the type checker into five phases, and this project is a step towards such an implementation. We identify the representation of Paragon’s abstract syntax tree as an essential design aspect and emphasize extensibility to conform to the phases’ varying requirements. Based on a programming idiom, Trees that Grow, by Najd and Jones, we implement an extensible abstract syntax tree in Paragon’s compiler. We observe that our implementation introduces a substantial amount of boilerplate code. To alleviate the issue, we employ several methods for generic programming. We conclude that our AST implementation is extensible but complex. | sv |
dc.identifier.coursecode | DATX02 | sv |
dc.identifier.uri | https://hdl.handle.net/20.500.12380/301967 | |
dc.language.iso | eng | sv |
dc.setspec.uppsok | Technology | |
dc.title | Trees that Grow in the Paragon Compiler - A Step Towards Modularity | sv |
dc.type.degree | Examensarbete på kandidatnivå | sv |
dc.type.uppsok | M2 |
Ladda ner
Original bundle
1 - 1 av 1
Hämtar...
- Namn:
- 2030 amodularcompilerforparagon_122370000000029150_610764_Trees that Grow in the Paragon Compiler.pdf
- Storlek:
- 840.5 KB
- Format:
- Adobe Portable Document Format
- Beskrivning:
License bundle
1 - 1 av 1
Hämtar...
- Namn:
- license.txt
- Storlek:
- 1.14 KB
- Format:
- Item-specific license agreed upon to submission
- Beskrivning: