Portland State University
Compiling Evaluable Functions in the Gödel Programming Language
Abstract
dc:description.abstractWe present an extension of the Gödel logic programming language code generator which compiles user-defined functions. These functions may be used as arguments in predicate or goal clauses. They are defined in extended Gödel as rewrite rules. A translation scheme is introduced to convert function definitions into predicate clauses for compilation. This translation scheme and the compilation of functional arguments both employ leftmost-innermost narrowing. As function declarations are indistinguishable from constructor declarations, a function detection method is implemented. The ultimate goal of this research is the implementation of extended Gödel using needed narrowing. The work presented here is an intermediate step in creating a functional-logic language which expands the expressiveness of logic programming and streamlines its execution.
Degree
thesis:*- Name thesis:degree_name
- Master of Science (M.S.) in Computer Science
- Level thesis:degree_level
- Thesis
- Discipline thesis:degree_discipline
- Computer Science
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Shapiro, David
- Contributors dc:contributor
-
- Sergio Antoy
Subjects
dc:subject × 3Identifiers
dc:identifier.*- Repository record dc:identifier
- https://pdxscholar.library.pdx.edu/open_access_etds/5101