Language: | Slovenian |
---|---|
Year of publishing: | 2014 |
Typology: | 2.11 - Undergraduate Thesis |
Organization: | UL FRI - Faculty of Computer and Information Science |
Publisher: | [A. Bajt] |
UDC: | 004.4'42(043.2) |
COBISS: | 1536084931 |
Views: | 81 |
Downloads: | 13 |
Average score: | 0 (0 votes) |
Metadata: |
Secondary language: | English |
---|---|
Secondary title: | A compiler for Haskell Core targeting JavaScript |
Secondary abstract: | We designed and implemented a compiler for Haskell's immediate representation Haskell Core to JavaScript. Purpose of this compiler is the ability to use high level Haskell to develop JavaScript applications. We introduce ups and downs of both languages as well as the gap between them. We present features and semantics of the language Haskell Core and implementation of compilation of separate constructs in more detail. We explain non-strictness and its simulation in a strict language, define a system and representation for algebraic datatypes as well as pattern matching. We designed immediate representation to serve as a step between a non-strict functional language and a strict imperative one. We also developed the required runtime system for JavaScript and tested the compiled programs in several web browsers. |
Secondary keywords: | compiler;Haskell;Haskell Core;JavaScript;functional programming;computer science;computer and information science;diploma; |
File type: | application/pdf |
Type (COBISS): | Bachelor thesis/paper |
Study programme: | 1000468 |
Thesis comment: | Univ. v Ljubljani, Fak. za računalništvo in informatiko |
Pages: | 74 str. |
ID: | 8739444 |