Date of Award

Spring 5-31-2024

Document Type

Honors Project

University Scholars Director

Dr. Joshua Tom

First Advisor/Committee Member

Dr. Carlos R. Arias

Keywords

programming languages, functional programming, software engineering, haskell, parsing, compilers

Abstract

Strongly typed pure functional programming languages like Haskell have historically been confined to academia as vehicles for programming language research. While features of functional programming have greatly influenced mainstream programming languages, the imperative programming style remains pervasive in practical software development. This paper illustrates the practical utility of Haskell and pure functional programming by exploring “hson,” a scripting language for processing JSON developed in Haskell. After introducing the relevant features of Haskell to the unfamiliar reader, this paper reveals how hson leverages functional programming to implement parsing, interpreting, and testing. By showcasing how Haskell’s language features enable the creation of expressive, maintainable, and correct code, this paper aims to demonstrate the viability of pure functional programming in real-world software development scenarios.

Comments

A project submitted in partial fulfillment of the requirements of the University Scholars Honors Program.

Copyright Status

http://rightsstatements.org/vocab/InC/1.0/

Additional Rights Information

Copyright held by author.

Creative Commons License

Creative Commons Attribution 4.0 International License
This work is licensed under a Creative Commons Attribution 4.0 International License.

Share

COinS
 
Copyright Status