Show simple item record

dc.contributor.authorAndersson, John
dc.contributor.authorBerggren Sjöblom, Anders
dc.contributor.authorBäckelie, Anders
dc.contributor.authorLjung Ekeroth, Johannes
dc.contributor.authorSkystedt, Lukas
dc.contributor.authorTerner, Lina
dc.date.accessioned2020-10-30T08:34:55Z
dc.date.available2020-10-30T08:34:55Z
dc.date.issued2020-10-30
dc.identifier.urihttp://hdl.handle.net/2077/66885
dc.description.abstractParagon 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.language.isoengsv
dc.titleTrees that Grow in the Paragon Compiler A Step Towards Modularitysv
dc.typetext
dc.setspec.uppsokTechnology
dc.type.uppsokM2
dc.contributor.departmentGöteborgs universitet/Institutionen för data- och informationsteknikswe
dc.contributor.departmentUniversity of Gothenburg/Department of Computer Science and Engineeringeng
dc.type.degreeStudent essay


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record