Please use this identifier to cite or link to this item: http://artemis.cslab.ece.ntua.gr:8080/jspui/handle/123456789/17285
Title: Μεταγλώττιση αμοιβαία αναδρομικών τύπων σε μία συναρτησιακή γλώσσα έξυπνων συμβολαίων στο blockchain
Authors: Gkoumas, Vasilis
Παπασπύρου Νικόλαος
Keywords: Γλώσσες προγραμματισμού
Programming languages
λ-λογισμός
lambda calculus
μεταγλώττιστες
compilers
συστήματα τύπων
type systems
έξυπνα συμβόλαια
smart contracts
αμοιβαία αναδρομικοί τύποι
mutually recursive types
Issue Date: 26-Mar-2019
Abstract: In this diploma thesis we present FIR, a functional intermediate representation, heavily influenced by the System Fω, that can be used during the compilation step from a high-level source language to a target l anguage. FIR has support for higher-order features like type-level functions, polymorphism, and can encode mutually recursive datatypes. The techniques that we use, although known in the literature, have not been combined in that way before. FIR is not a purely academic exploration, but is used in the development of Plutus, a smart contract platform, as an intermediate representation in the compilation of the Haskell code written by the end- user, to a lower-level language that goes into the blockchain. We will start by providing the motivation for our work, which is a safe blockchain language. After presenting the syntax and type synthesis in FIR, we will focus on the compilation of certain features of the language to System Fωμ , a theoretical extension of lambda calculus.
URI: http://artemis.cslab.ece.ntua.gr:8080/jspui/handle/123456789/17285
Appears in Collections:Διπλωματικές Εργασίες - Theses

Files in This Item:
File Description SizeFormat 
thesis.pdf343.69 kBAdobe PDFView/Open


Items in Artemis are protected by copyright, with all rights reserved, unless otherwise indicated.