Please use this identifier to cite or link to this item:
https://www.um.edu.mt/library/oar/handle/123456789/93012
Title: | Embedding Prolog in Haskell |
Authors: | Bonanno, George (2008) |
Keywords: | Prolog (Computer program language) Programming languages (Electronic computers) Haskell (Computer program language) Logic programming |
Issue Date: | 2008 |
Citation: | Bonanno, G. (2008). Embedding Prolog in Haskell (Bachelor’s dissertation). |
Abstract: | Programming languages in different paradigms have characteristics with which an elegant solution can be written for a given problem. Logic programming languages, for example, excel at handling non-determinism and at representing the solution in a very concise way. Functional languages, such as Haskell, provide strong type checking and can be used to write highly modular solutions. In this dissertation, after studying the mechanisms of Prolog, a logic programming language, we explore different methods of amalgamating the features of logic programming in Prolog with the features of functional languages represented in Haskell. Hence, an embedding of Prolog in Haskell is produced. Three different techniques of embedding are described and compared for their strengths and weaknesses. The advantages of using a Prolog embedding in Haskell are illustrated by implementing a simulator for the Hardware Description Language (HDL) Verilog which is based on a subset of the operational semantics of the language. |
Description: | B.SC.(HONS)COMP.SCI. |
URI: | https://www.um.edu.mt/library/oar/handle/123456789/93012 |
Appears in Collections: | Dissertations - FacICT - 1999-2009 Dissertations - FacICTCS - 2008 |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
BSC(HONS)PHYSICS_COMPSCI_Bonanno_George_2008.pdf Restricted Access | 6.12 MB | Adobe PDF | View/Open Request a copy |
Items in OAR@UM are protected by copyright, with all rights reserved, unless otherwise indicated.